Menu Shortcuts

See Also

There are keyboard shortcuts available to activate the following menu commands and other general commands:

File Menu

Keys Command Action
Ctrl-N New Creates a new object with the New wizard.
Ctrl-O Open File Opens an existing file.
Ctrl-S Save Saves the current file.
Ctrl-P Print Prints the current file.

Edit Menu

Keys Command Action
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.
Ctrl-H Replace Finds a string of text and replaces it with the string specified.
Ctrl-G Goto Goes to any specified line.

Project Menu

Keys Command Action
Ctrl-Shift-F9 Compile Project Compiles all of a project's uncompiled and out-of-date class files, that have been changed or that have not been previously compiled.
Ctrl-Shift-F11 Build Project Compiles all of the current project's classes and the classes they are dependent on whether or not they were previously compiled.
Ctrl-Shift-M Set Project Main Class Specifies the main class of a project.
Ctrl-Shift-F6 Execute Project Runs the current project.
Ctrl-Shift-F5 Debug Project Starts the debugger on the existing project.
Ctrl-Shift-N Project Manager Opens the Project Manager dialog box, in which you can create, delete, rename, and switch to IDE projects.

Build Menu

Keys Command Action
F9 Compile Compiles the file. If you select a folder, the IDE compiles only the files that are new or have changed since the last compile.
Shift-F9 Compile All Compiles all files within the selected folder that are new or that have changed.
F11 Build Compiles the file. If you select a folder, the IDE compiles all files regardless of whether they have changed since the last compile.
Shift-F11 Build All Compiles all files within the selected folder regardless of whether they have changed since the last compile.
Alt-Shift-C Stop Compile Stops compilation of the current program.
F12 Next Error Scrolls the editor window to the line that contains the next build error.
Shift-F12 Previous Error Scrolls the editor window to the line that contains the previous build error.
F6 Execute Run the current program.

Debug Menu

Keys Command Action
Alt-F5 Start Session and choose Run in Debugger Starts debugging the current program until a breakpoint or the end of the program is reached.
Shift-F5 Finish Stops the current debugging session..
Ctrl-F5 Continue Resume debugging until the next breakpoint or the end of the program is reached.
F4 Run to Cursor Runs the current project to the cursor's location in the file and stop program execution.
F8 Step Over Executes one source line of a program. If the line is a method call, executes the entire method then stops.
F7 Step Into 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.
Alt-Shift-F7 Step Out Executes one source line of a program. If the line is a method call, executes the methods and returns control to the caller.
Ctrl-Alt-Up Make Callee Current Makes the method being called the current call. Only available when a call is selected in the Call Stack window.
Ctrl-Alt-Down Make Caller Current Makes the calling method the current call. Only available when a call is selected in the Call Stack window.
Shift-F8 Toggle Breakpoint Adds a line breakpoint or removes the breakpoint at the cursor location in the program.
Ctrl-Shift-F8 Add Breakpoint Sets a new breakpoint at the specified line, exception, or method.
Ctrl-Shift-F7 New Watch Adds the specified variable to watch.

Tools Menu

Keys Command Action
Alt-Shift-O Go To Class Displays the source file containing the definition of the selected class in the filesystem.
Ctrl-Shift-J Insert Internationalized String Enables you to add an internationalization string as you create the source.
Ctrl-I Override Methods Lets you override any inherited methods for a class.

Window Menu

Keys Command Action
Ctrl-0 Source Editor Switches to the fronted document tab in the Source Editor.
Ctrl-1 Properties Opens the Properties window.
Ctrl-2 Filesystems Opens the Filesystems window.
Ctrl-3 Project Opens the Project window.
Ctrl-4 Output Window Opens the Output window.
Ctrl-5 Runtime Opens the Runtime window.
Ctrl-6 To Do Opens the To Do window.
Ctrl-7 HTTP Monitor Opens the HTTP Monitor.
Ctrl-8 Show Versions Opens the file in the Versions window and displays the file's versioning history. This command is only available for files in VCS filesystems.
Ctrl-9 Versioning and choose VCS Output Opens the VCS Output window.
Ctrl-Shift-6 Execution Opens the Execution window.
Alt-Shift-1 Debugging and choose Local Variables Opens the Local Variables debugger window.
Alt-Shift-2 Debugging and choose Watches Opens the Watches debugger window.
Alt-Shift-3 Debugging and choose Call Stack Opens the Call Stack debugger window.
Alt-Shift-4 Debugging and choose Classes Opens the Classes debugger window.
Alt-Shift-5 Debugging and choose Breakpoints Opens the Breakpoints debugger window.
Alt-Shift-6 Debugging and choose Sessions Opens the Sessions debugger window.
Alt-Shift-7 Debugging and choose Threads Opens the Threads debugger window.
Alt-Shift-8 Debugging and choose All In One Opens the All In One debugger window.
Ctrl-Shift-2 Select in Filesystems Selects the fronted Source Editor document in the Filesystems window.
Ctrl-Shift-3 Select in Project Selects the fronted Source Editor document in the Project window.
Ctrl-` Switch to Recent Window Toggles through the open windows in the order that they were last used. The dialog box displays all open windows and each of the open documents in the Source Editor.
Shift-Escape Maximize Maximizes the Source Editor or the present window.
Ctrl-F4 Close Closes the current tab in the current window. If the window has no tabs, the whole window is closed.
Ctrl-Shift-F4 Close All Documents Closes all open documents in the Source Editor.
Shift-F4 Documents Opens the Documents dialog box, in which you can save and close groups of open documents.
Alt-right Next Tab Displays the next tab in the current window.
Alt-left Previous Tab Displays the previous tab in the current window..

Help Menu

Keys Command Action
F1 Help Displays the JavaHelp viewer with all installed help sets.
See Also
Setting Menu Shortcuts
Editor Shortcuts
Help Viewer Shortcuts

Legal Notices