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 insertion point. |
Ctrl-Shift-V |
Paste Formatted |
Pastes the formatted contents of the clipboard into the insertion point. |
Delete |
Delete |
Deletes the current selection. |
Select All |
Ctrl-A |
Selects everything in the current document or window. |
Select Identifier |
Alt-Shift-J |
Selects the current identifier. |
Ctrl-F3 |
Find Selection |
Finds instances of the current selection. |
F3 |
Find Next |
Finds
next instance of found text. |
Shift-F3 |
Find Previous |
Finds
previous instance of found text. |
Ctrl-F |
Find |
Finds a text string. |
Ctrl-H |
Replace |
Finds a string of text and replaces it with the
string specified. |
Alt-F7 |
Find Usages |
Finds usages and subtypes of selected code. |
Ctrl-Shift-F |
Find in Projects |
Finds specified text, object names, object types
within projects. |
Ctrl-Shift-H |
Replace in Projects |
Replaces text, object names, object types
within projects. |
Keys |
Command |
Action |
Alt-Shift-O |
Go to File |
Find and open a specific file. |
Ctrl-O |
Go to Type |
Find and open a specific class or interface. |
Ctrl-Alt-Shift-O |
Go to Symbol |
Find and open a specific symbol. |
Alt-Shift-B |
Go to Spring Bean |
Find and open a specific Spring bean. |
Ctrl-Shift-T |
Go to Test |
Find and open a specific test. |
Ctrl-Back Qoute |
Go to Previous Document |
Open the document last opened before the current one. |
Ctrl-Shift-B |
Go to Source |
Displays the source file containing the
definition of the selected class. |
Ctrl-B |
Go to Declaration |
Jump to the declaration of the item under the cursor. |
Ctrl-Shift-P |
Go to Super Implementation |
Jump to the super implementation of the item under the cursor.> |
Ctrl-Q |
Last Edit Location |
Scroll the editor to the last place where editing occurred. |
Alt-Left |
Back |
Navigate back |
Alt-Right |
Forward |
Navigate forward |
Ctrl-G |
Go to Line |
Jump to the specified line. |
Ctrl-Shift-M |
Toggle Bookmark |
Set a bookmark on a line of code. |
Ctrl-Shift-Period |
Next Bookmark |
Cycle forward through the bookmarks. |
Ctrl-Shift-Comma |
Previous Bookmark |
Cycle backwards through the bookmarks. |
Ctrl-Period |
Next Error |
Scrolls the Source Editor to the line that contains the next build error. |
Ctrl-Comma |
Previous Error |
Scrolls the Source Editor to the line that contains the previous build error. |
Ctrl-Shift-1 |
Select in Projects |
Opens Projects window and selects current document within it. |
Ctrl-Shift-2 |
Select in Files |
Opens Files window and selects current document within it. |
Ctrl-Shift-3 |
Select in Favorites |
Opens Favorites window and selects current document within it. |
Keys |
Command |
Action |
Alt-Shift-F |
Format |
Formats the selected
code or the entire file if nothing
is selected. |
Alt-Shift-Left |
Shift Left |
Moves the selected
line or lines one tab to the left. |
Alt-Shift-Right |
Shift Right |
Moves the selected
line or lines one tab to the right. |
Alt-Shift-Up |
Move Up |
Moves the selected
line or lines one line up. |
Alt-Shift-Down |
Move Down |
Moves the selected
line or lines one line down. |
Ctrl-Shift-Up |
Duplicate Up |
Copy the selected
line or lines one line up. |
Ctrl-Shift-Down |
Duplicate Down |
Copy the selected
line or lines one line down. |
Ctrl-Slash or Ctrl-Shift-C |
Toggle Comment |
Toggles the commenting out
of the current line or selected lines. |
Ctrl-Space |
Complete Code |
Shows the code
completion box. |
Alt-Insert |
Insert Code |
Pops up a context aware
menu that you can use to generate common
structures such as constructors, getters,
and setters. |
Alt-Enter |
Fix Code |
Display editor hints.
The IDE informs you when a hint is available
when the lightbulb is displayed.
|
Ctrl-Shift-I |
Fix Imports |
Generates the
import statements required by the classes
specified in the gile. |
Ctrl-P |
Show Method Parameters |
Selects the next parameter. You must have a
parameter selected (highlighted) for this shortcut to work. |
Ctrl-Shift-Space |
Show Documentation |
Show documentation for item under the cursor. |
Ctrl-Shift-K |
Insert Next Matching Word |
Generates the next word used elsewhere in your code as you
type its beginning characters. |
Ctrl-K |
Insert Previous Matching Word |
Generates the previous word used elsewhere in your code as you
type its beginning characters. |
Keys |
Command |
Action |
F6 |
Run Main Project |
Runs the main project. |
Ctrl-F5 |
Debug Main Project |
Debugs the main project. |
Alt-F6 |
Test Project |
Starts JUnit test for project. |
Shift-F6 |
Run File |
Runs the currently selected file. |
Ctrl-Shift-F5 |
Debug File |
Starts debugging session for currently selected file. |
Ctrl-F6 |
Test File |
Starts JUnit test for current file. |
Ctrl-Shift-F6 |
Debug Test for File |
Starts debugging test for file in JUnit. |
Shift-F5 |
Finish Debugger Session |
Ends the dugging session. |
F5 |
Continue |
Resumes debugging until the next breakpoint or the end of
the program is reached. |
F8 |
Step Over |
Executes one source line of a program. If the line is a method
call, executes the entire method then stops. |
Shift-F8 |
Step Over Expression |
Steps over the expression and then stops the debugging. |
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. |
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. |
F4 |
Run to Cursor |
Runs the current project to the cursor's location in the
file and stop program execution. |
Shift-F7 |
Run into Method |
Runs the current project to the specified method and then steps into the method. |
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. |
Ctrl-F8 |
Toggle Line Breakpoint |
Adds a line breakpoint or removes the breakpoint at the cursor
location in the program. |
Ctrl-Shift-F8 |
New Breakpoint |
Sets a new breakpoint at the specified line, exception, or
method. |
Ctrl-Shift-F7 |
New Watch |
Adds the specified variable to watch. |
Ctrl-F9 |
Evaluate Expression |
Opens the Evaluate Expression dialog box. |
Keys |
Command |
Action |
Ctrl-0 |
Source Editor |
Switches to the Source Editor. |
Ctrl-1/Ctrl-Shift-1 |
Projects |
Opens the Projects window. |
Ctrl-2/Ctrl-Shift-2 |
Files |
Opens the Files window. |
Ctrl-3/Ctrl-Shift-3 |
Favorites |
Opens the Favorites window. |
Ctrl-4 |
Output Window |
Opens the Output window. |
Ctrl-5 |
Services |
Opens the Services window. |
Ctrl-Shift-5 |
HTTP Monitor |
Opens the HTTP Monitor. |
Ctrl-6 |
Task List |
Opens the Task List window. |
Ctrl-7 |
Navigator |
Opens the Navigator. |
Alt-Shift-1 |
Debugging >
Variables |
Opens the Variables debugger window. |
Alt-Shift-2 |
Debugging >
Watches |
Opens the Watches debugger window. |
Alt-Shift-3 |
Debugging >
Call Stack |
Opens the Call Stack debugger window. |
Alt-Shift-4 |
Debugging >
Classes |
Opens the Classes debugger window. |
Alt-Shift-5 |
Debugging >
Breakpoints |
Opens the Breakpoints debugger window. |
Alt-Shift-6 |
Debugging >
Sessions |
Opens the Sessions debugger window. |
Alt-Shift-7 |
Debugging >
Threads |
Opens the Threads debugger window. |
Alt-Shift-8 |
Debugging >
Sources |
Opens the Sources window. |
Ctrl-W |
Close |
Closes the current tab in the current window. If the window
has no tabs, the whole window is closed. |
Shift-Escape |
Maximize Window |
Maximizes the Source Editor or the present window. |
Alt-Shift-D |
Undock Window |
Detaches the window from the IDE. |
Ctrl-Shift-w |
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. |
Ctrl-Tab (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. |