The IDL Workbench > Editor View

The Editor View

In this Workbench view, you can write, edit, and debug IDL programs. An example of a file opened in the editor view is shown below:

Breakpoints - The red circle in the in the vertical gray bar to the left of the line numbers (above) is a breakpoint. These can be added by double clicking in the gray column next to your code. Breakpoints halt execution of your code.

Line Numbers - The line numbers do not appear by default. To turn line numbers on (see screenshot, above) , right click in the white column directly to the left of the code and select "Show Line Numbers" from the menu.

A Bookmark

Bookmarks - Bookmarks are short placeholders you can set within your code (see figure, above) and are used to navigate to resources that you frequently use. When a Bookmark is set, a blue icon shows up to the left of the line numbers but do not affect how your code compiles or runs. To set a bookmark, right-click in the gray column to the left of the line numbers and choose "Add Bookmark." Enter a name for the Bookmark and select "OK". See Bookmarks View for more information on using Bookmarks.

Note: Bookmarks are only available when a file is part of a project.

Tasks - Allow you to set reminders for things you need to do in your code. When a Task is set, a small checkmark icon will appear to the left of the Editor's line numbers (see figure, above). Tasks do not affect how your code runs. To set a Task, right-click in the gray column to the left of the line numbers and choose "Add Task." Enter a name for the Task in the "Description", choose a priority, and select "OK".

Note: Tasks are only available when a file is part of a project.

Opening a File

You can choose from among several ways to open files for editing. Note that each program file you open will appear in a separate tab in the Editor view.

Tips and Tricks for the Editor

Help

Formatting

Miscellaneous

See Also

Class Hierarchy, Command History, Console View, Preferences, Menubar and Toolbar, Outline View, Problems View, Profiler View, Project Explorer, Workbench Overview, Variables View