There are keyboard shortcuts available to activate the following
menu commands and other general commands:
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 View |
Opens the Execution view. |
Ctrl-7 |
Web Browser |
Opens the Web Browser. |
Ctrl-8 |
Form Editor |
Opens the Form Editor window, if the Form Editor is included in your version of the IDE. |
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 |
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. |