Shortcuts for commands available from the main menu and other general commands:
Keys | Action |
---|---|
F10 | Opens the File menu. |
Alt-F | Opens the File menu. |
Alt-E | Opens the Edit menu. |
Alt-V | Opens the View menu. |
Alt-P | Opens the Project menu. |
Alt-B | Opens the Build menu. |
Alt-D | Opens the Debug menu. |
Alt-R | Opens the Versioning menu. |
Alt-T | Opens the Tools menu. |
Alt-W | Opens the Window menu. |
Alt-H | Opens the Help menu. |
Shift-F10 | Opens the contextual menu for the current window or node. |
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 | Prints the current file. |
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 inserstion 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 the line specified in the file. |
Keys | Command | Action |
---|---|---|
Ctrl-0 | Explore From Here | Opens a new Explorer window that displays only the hierarchy beginning at the node currently selected in the Explorer. If the Source Editor is the current window, Explore From Here is based on that file. |
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 Window | Opens the Output window. |
Ctrl-5 | Debugger Window | Opens the Debugger window. |
Ctrl-6 | Execution Window | Opens the Execution window. |
Ctrl-7 | Web Browser | Opens the Web Browser. |
Ctrl-8 | Form Editor | Opens the Form Editor window. |
Ctrl-9 | Object Browser | Opens the Object Browser window. |
Ctrl-Shift-F1 | Javadoc Index Search | Opens the Javadoc Index Search window. |
Ctrl-Shift-Down | Focus Next Workspace | Switches to the next workspace, in the order displayed in the workspace tabs. |
Ctrl-Shift-Up | Focus Previous Workspace | Switches to the previous workspace, in the order displayed in the workspace tabs. |
Ctrl-F4 | Close | Closes the current tab in the current window. If the window has no tabs, the whole window is closed. |
Ctrl-Shift-F12 | Open Workspace Explorer | Opens the Workspace Explorer, which enables you to choose between workspaces. |
Ctrl-Shift-F12 | Open Workspace Explorer | Opens the Workspace Explorer, which enables you to choose between workspaces. |
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 | 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. |
Ctrl-Shift-N | New Project | Creates a new project and switches the IDE to that project. |
Ctrl-Shift-O | Open Project | Enables you to switch to a different IDE project. |
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. |
Keys | Command | Action |
---|---|---|
Alt-F5 | Start | Starts debugging the current program until a breakpoint or the end of the program is reached. Changes the workspace to the Debugging workspace. |
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 | Go To Called Method | Displays the method called in the current line. |
Ctrl-Alt-Down | Go To Calling Method | Displays and highlights the line of code containing the method that calls the method you are currently in. |
Shift-F8 | Toggle Breakpoint | Adds a 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 | Add Watch | Adds the specified variable to watch. |
Ctrl-5 | Debugger Window | Opens the Debugger window. |
Keys | Command | Action |
---|---|---|
Alt-Shift-O | Go To Class | Displays the source file containing the definition of the selected class in the filesystem. |
Alt-Shift-O | Insert Internationalized String | Enables you to add an internationalization string as you create the source. |
Keys | Command | Action |
---|---|---|
Alt-right | Next View | Displays the next tab in the current window. |
Alt-left | Previous View | Displays the previous file. |
Keys | Command | Action |
---|---|---|
F1 | Help | Displays the JavaHelp viewer with all installed help sets. |