There are keyboard shortcuts available to activate the following menu commands
and other general commands:
Each menu section shows how to open the menu and use the associated keyboard shortcuts for that menu. The following keyboard shortcuts work with any menu:
| Keys |
Command |
Action |
| Alt-E |
Edit |
Opens the Edit menu. |
| Ctrl-Z |
Undo |
Reverses (one at a time) a series of editor actions,
except Save. |
| Ctrl-Y |
Redo |
Reverses (one at a time) a series of Undo commands. |
| Ctrl-X |
Cut |
Deletes the current selection and places it on the
clipboard. |
| Ctrl-C |
Copy |
Copies the current selection to the clipboard. |
| Ctrl-V |
Paste |
Pastes the contents of the clipboard into the insertion point. |
| Delete |
Delete |
Deletes the current selection. |
| Ctrl-F |
Find |
Finds a text string if you are using a code editor. |
| Ctrl-H |
Replace |
Finds a string of text and replaces it with the
string specified if you are using a code editor. |
| Alt-F7 |
Find Usages |
Finds usages and subtypes of selected code if you are using a code editor. |
| Ctrl-Shift-F |
Find in Projects |
Finds specified text, object names, object types
modified in a specified time period within all open projects when the focus is in the Projects window. |
| Alt-O |
Go To > Go to Source |
In the Java Editor, the insertion point moves to the Java source for the identifier. |
| Alt-G |
Go To > Go to Declaration |
In the Java Editor, the insertion point moves to the Java method or field. |
| Ctrl-B |
Go To > Go to Super Implementation |
In the Java Editor, the insertion point moves to the base method that the current method implements or overrides. |
| Ctrl-G |
Go To > Go to Line |
In the Java Editor, goes to any specified line. |
| Keys |
Command |
Action |
| Alt-V |
View |
Opens the View menu. |
| Ctrl-Alt-T |
Outline |
Opens the Outline window. |
| Ctrl-Alt-H |
Dynamic Help |
Opens the Dynamic Help window. |
| Ctrl-Alt-S |
Servers |
Opens the Servers window. |
| Ctrl-Alt-X |
Palette |
Opens the Palette window. |
| Ctrl-Alt-W |
Welcome |
Opens the Welcome window. |
| Ctrl-Alt-P |
Properties |
Opens the Properties window. |
| Ctrl-7 |
Navigator |
Opens the Navigator window. |
| Ctrl-4 |
Output |
Opens the Output window. |
| Ctrl-5 |
Runtime |
Opens the Runtime window. |
| Ctrl-Shift-0 |
Search Results |
Opens the Search Results window. |
| Ctrl-Alt-F |
Find Usage Results |
Opens the Usages window. |
| Ctrl-1 |
Projects |
Opens the Projects window. |
| Ctrl-2 |
Files |
Opens the Files window. |
| Ctrl-6 |
To Do |
Opens the To Do window. |
| Alt-Shift-1 |
Debugging > Local Variables |
Opens the Local Variables window. |
| Alt-Shift-2 |
Debugging > Watches |
Opens the Watches window. |
| Alt-Shift-3 |
Debugging > Call Stack |
Opens the Call Stack window. |
| Alt-Shift-4 |
Debugging > Classes |
Opens the Classes window. |
| Alt-Shift-5 |
Debugging > Breakpoints |
Opens the Breakpoints window. |
| Alt-Shift-6 |
Debugging > Sessions |
Opens the Sessions window. |
| Alt-Shift-7 |
Debugging > Threads |
Opens the Threads window. |
| Alt-Shift-8 |
Debugging > Sources |
Opens the Sources window. |
| Ctrl-Shift-5 |
Debugging > HTTP Monitor |
Opens the HTTP Monitor. |
| Keys |
Command |
Action |
| |
Build |
To open the Build menu:
- Press Ctrl-Alt. The focus changes to File in the main menu.
- Press the right arrow key to scroll to the Build menu, and then press the spacebar to open the Build menu.
|
| Ctrl-Shift-B |
Build Main Project |
Compiles the file. If you select a folder, the IDE compiles all files regardless of whether they have changed since the last compile. |
| Alt-B |
Clean and Build Main Project |
Compiles the file. If you select a folder, the IDE compiles all files regardless of whether they have changed since the last compile. |
| Shift-F9 |
Compile File |
Compiles the file. If you select a folder, the IDE compiles only the files that are new or have changed since the last compile. |
| F12 |
Next Error |
Scrolls the Source Editor to the line that contains the next build error. |
| Shift-F12 |
Previous Error |
Scrolls the Source Editor to the line that contains the previous build error. |
| Keys |
Command |
Action |
| Alt-R |
Run |
Opens the Run menu. |
| Ctrl-F5 |
Run Main Project |
Runs the main project. |
| F5 |
Debug Main Project |
Debugs the main project. |
| Shift-F5 |
Finish Debugger Session |
Ends the debugging session. |
| Alt-F5 |
Continue |
Resumes debugging until the next breakpoint or the end of
the program is reached while using the Debugger. |
| F10 |
Step Over |
While using the Debugger, executes one source line of a program. If the line is a method
call, executes the entire method then stops. |
| F11 |
Step Into |
While using the Debugger, executes one source line of a program. If the line is a method
call, executes the program up to the method's first statement and stops. |
| Shift-F11 |
Step Out |
While using the Debugger, executes one source line of a program. If the line is a method
call, executes the methods and returns control to the caller. |
| Ctrl-F10 |
Run to Cursor |
While using the Debugger, runs the current project to the cursor's location in the
file and stop program execution. |
| Ctrl-Alt-Up |
Stack > Make Callee Current |
While using the Debugger, makes the method being called the current call. Only available
when a call is selected in the Call Stack. |
| Ctrl-Alt-Down |
Stack > Make Caller Current |
While using the Debugger, makes the calling method the current call. Only available
when a call is selected in the Call Stack window. |
| F9 |
Toggle Breakpoint |
Adds a line breakpoint or removes the breakpoint at the cursor
location in the program. |
| Ctrl-B |
New Breakpoint |
Sets a new breakpoint at the specified line, exception, or
method. |
| Ctrl-Shift-W |
New Watch |
Adds the specified variable to watch. |
| Keys |
Command |
Action |
| Alt-W (with the focus in the Visual Designer) |
Window |
Opens the Window menu. |
| Ctrl-Tab |
Switch to Recent Window |
Switches between two open windows. |
| Ctrl-0 (zero) |
Switches to Document |
Switch to an open document. |
| Ctrl-Shift-1 |
Select Document In > Projects |
Selects a file that has the focus in the Projects window. |
| Ctrl-Shift-2 |
Select Document In > Files |
Selects a file that has the focus in the Files window. |
| Ctrl-4 |
Close |
Closes the current window. |
| Shift-Escape |
Maximizes/Restores Current Window |
Maximizes or restores current window. |
| Ctrl-Shift-F4 |
Close All Documents |
Closes all documents. |
| Shift-F4 |
Documents |
Opens the Documents dialog box. |
| Ctrl-NumPad (-) |
Code Fold > Collapse Fold |
While using a Code Editor, collapses the fold of a selected line. |
| Ctrl-NumPad (+) |
Code Fold > Expand Fold |
While using a Code Editor, expands the fold of a selected line. |
| Ctrl-Shift-NumPad (-) |
Code Fold > Collapse All |
While using a Code Editor, collapses all code. |
| Ctrl-Shift-NumPad (+) |
Code Fold > Expand All |
While using a Code Editor, expands all code. |