Menu Shortcuts

Shortcuts for commands available from the main menu:

File Menu

Keys Command Action
Ctrl-N New Creates a new object
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 clipbard at the insert point.
Delete Delete Deletes the current selection.
Ctrl-F Find Finds a text string.
Ctrl-R Replace Finds a string of text and replaces it with the string specified.
Ctrl-G Goto Goes to the line specified in the file.

View Menu

Keys Command Action
Ctrl-0 Explore from here Opens a new Explorer window.
Ctrl-1 Properties Opens the Properties window.
Ctrl-2 Explorer Opens the Explorer window.
Ctrl-3 Source Editor Opens the Source Editor window.
Ctrl-4 Output Opens the Output window.
Ctrl-5 Debugger Opens the Debugger window.
Ctrl-6 Execution Opens the Execution window.
Ctrl-7 Web Browser Opens the Web Browser.
Ctrl-8 Component Inspector Opens the Component Inspector window.
Ctrl-9 Object Browser Opens the Object Browser window.
Shift-Ctrl-3 Form Editor Opens the Form Editor window.

Project Menu

Keys Command Action
Ctrl-Shift-N New Project Creates a new project of the given name.
Ctrl-Shift-O Open Project Opens the selected project.
Ctrl-Shift-I Import Project Imports the given project.
Ctrl-Shift-S Save Project Saves the current project.
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-F10 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 Main Class Specifies the main class of a program.
Ctrl-Shift-F6 Execute Project Changes workspace to the Running workspace and runs the current project.
Ctrl-Shift-F5 Debug Project Turns on debugging and changes workspace to the Debugging workspace.

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.
Ctrl-F9 Compile All Compiles all files within the selected folder that are new or that have changed.
F10 Build Compiles the file. If you select a folder, the IDE compiles all files regardless of whether they have changed since the last compile.
Ctrl-F10 Build All Compiles all files within the selected folder regardless of whether they have changed since the last compile.
F11 Clean Remove obsolete and extraneous files of the selected node.
Ctrl-F11 Clean All Remove obsolete and extraneous files of the selected node and its subnodes.
Ctrl-Alt-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
F5 Start Debugging Starts debugging the current program until a breakpoint or the end of the program is reached. Changes the workspace to the Debugging workspace.
Ctrl-F5 Continue Resume debugging until the next breakpoint or the end of the program is reached.
Shift-F5 Finish Debugging Stops the current debugging session..
Ctrl-F8 Add/Remove Breakpoint Adds a breakpoint or removes the breakpoint at the cursor location in the program.
Ctrl-Alt-F8 New Breakpoint Sets a new breakpoint at the specified line, exception, or method.
Shift-F8 Add Watch Adds the specified variable to watch.
F4 Run to Cursor Runs the current project to the cursor's location in the file and stop program execution.
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.
F8 Step Over Executes one source line of a program. If the line is a method call, executes the entire method then stops.
Ctrl-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-Cancel Suspends All Threads Pauses execution of all threads.
Ctrl-Shift-Cancel Resumes All Threads Resumes execution of all threads.

Window Menu

Keys Command Action
Alt-right Next View Displays the next file.
Alt-left Previous View Displays the previous file.

Help Menu

Keys Command Action
F1 Contents Displays the online help.
Ctrl-F1 Javadoc Index Search Displays the index for javadocs.

Legal Notices