This topic is a quick reference guide to the Menubar and Toolbar of the IDL Workbench.
The Menubar for the IDL Workbench contains standard dropdown menu controls as outlined below.
Note: This list describes the items in the Menubar view as they appear on Microsoft Windows. There are some differences between the Menubar on Windows and Mac platforms. On Mac, the Menubar appears separately, across the top of the screen (not part of the Workbench window). Also on Mac, there is an additional 'IDL' menu item within the Menubar view. Items listed below with (*) next to them are relocated to the 'IDL' menu item on Mac. In addition, on Windows, many of the keybindings use the <CTRL> key. On Mac, these key bindings use the <COMMAND> key.
Note: The keybindings listed in this sections (and elsewhere in the article) are the default settings and can be customized through Preferences.
Macros allow you to assign IDL code to icons and keyboard shortcuts. You can use macros for tasks that you repeat often or want to simplify. When you add custom macros, you can define:
The Toolbar duplicates many of the Menubar commands, but stores them in a place where they are quick to find and use.
|
|
Name |
Description |
|---|---|---|
|
|
Open |
Opens a file. If you select a ".PRO" file, it will open in the IDL-DE Editor. If you select an image it will open in an IMAGE window. If you select an ASCII file it will open in the ASCII template. |
|
|
New File |
Opens a blank file in the Editor. |
|
|
New Project |
Opens the "New IDL Project" prompt which allows you to create a new project in the workspace or from a existing directory |
|
|
Save |
Save any changes to the current file selected in the Editor. |
|
|
Cut |
Cuts the text currently selected in the Editor view. |
|
|
Copy |
Copies selected text from the Editor or Console. Can also copy files from the Project view, and variable information (as text) in the Variables view. Can also copy commands from the Command History. |
|
|
Paste |
Used to "paste" whatever you just copied using the Copy button, <CTRL><C>, or <EDIT > Copy. |
|
|
Undo |
Cancels the previous action. |
|
|
Redo |
Cancels the previous Undo command. |
|
|
Back |
Go back to the previous file opened in the Editor. |
|
|
Forward |
Go to the previous file opened before the "Back" button was pressed. In other words, reverse the action of the Back button. |
|
|
Compile |
Compiles the current file selected in the Editor. |
|
|
Run |
Compiles and executes current program selected in the Editor. |
|
|
Resume |
If the program you are executing hits a break point, this button can be used to resume running the program. |
|
|
Stop |
This button can be used to stop a program from executing. |
|
|
In |
Steps through code line by line. If a command is defined in .PRO code, the file will be opened in the editor and it step though this code line by line. |
|
|
Over |
Steps through code in current scope line by line. |
|
|
Out |
Executes remaining code in current scope then moves to next line of higher scope. |
|
|
Call Stack |
Display hierarchy of ".PRO" routines that are currently being called. |
|
|
Reset |
Resets the current session of IDL. For more information, see .RESET_SESSION. |
Note: If you have Macros defined and you select "Show Toolbar", a toolbar with your Macros will appear in the Toolbar view.
Class Hierarchy, Command History, Console View, Preferences, Editor View, Outline View, Problems View, Profiler View, Project Explorer, Workbench Overview, Variables View