This page is offered as a service of Bristle Software, Inc. New tips are sent to an associated mailing list when they are posted here. Please send comments, corrections, any tips you'd like to contribute, or requests to be added to the mailing list, to firstname.lastname@example.org.
Last Updated: 1/21/2006
Applies to: IntelliJ IDEA 4.5.1+
Here is a list of some of the more useful shortcut keys in IntelliJ IDEA.
|Ctrl-Shift-F7||Highlight all occurrences of identifier in file|
|Ctrl-Click||Go to declaration of object at cursor (variable, class, etc.)|
|Ctrl-B||Go to declaration of object at cursor (variable, class, etc.)|
|Ctrl-Shift-B||Go to declaration of type of object at cursor (variable, class, etc.)|
|Ctrl-H||Go to type at cursor in class hierarchy window|
Selection dialog for classes, where you can type the
beginning of the short name (w/o packages) and quickly go to the right
source file. Wildcard * (any sequence of chars) is supported.
|Ctrl-F12||Selection dialog for members of the current class (methods,
variables, etc.), where you can type the
beginning of the name and quickly go to the right place in the source file. No
wildcards are supported.
|Ctrl-Shift-N||Selection dialog for resources (config files,
property files, etc.), where you can type the beginning of the short
file name (w/o folder names) and quickly go to the right source file.
Wildcard * (any sequence of chars) is supported.
|Ctrl-Alt-Shift-N||Selection dialog for symbols (classes, methods, variables, etc.),
where you can type the beginning of the short name (class w/o package,
method or variable w/o class name, etc) and quickly go to the right
place in the right source file.
|Ctrl-H||Show class hierarchy of current class.|
|Ctrl-Shift-H||Show class hierarchy of current method.|
|Ctrl-Alt-Space||Class name completion (adding import if missing)|
|Ctrl-Q||Show Quick Javadoc|
|Shift-F1||Show Javadoc in a separate browser window|
|Alt-Q||Show current context (method, class, etc.)|
|Ctrl-Alt-Backspace||Go back (through recent editing locations)|
|Ctrl-Alt-Left||Go back (through recent editing locations)|
|Ctrl-Alt-Right||Go forward (through recent editing locations)|
|Ctrl-Shift-Backspace||Go to most recently edited location|
|Ctrl-F4||Close editor window|
|Alt-Right||Go to next editor window in current tab set|
|Alt-Left||Go to previous editor window in current tab set|
|Ctrl-]||Go forward to matching bracket|
|Ctrl-[||Go backward to matching bracket|
|Alt-Down||Go to next object (method, class, etc.) in source file.|
|Alt-Up||Go to previous object (method, class, etc.) in source file.|
|Ctrl-G||Go to line number|
|Ctrl-Shift-n||Toggle bookmark n|
|Ctrl-n||Go to bookmark n|
|Shift-F11||Show bookmarks (and go to them, delete them, etc.)|
|Ctrl-F||Search within a file|
|F3||Search Next within a file|
|Shift-F3||Search Previous within a file|
|Ctrl-Shift-F||Search in project, workspace, file system, etc.|
|Ctrl-Shift-S||Search structurally (based on Java syntax)|
|Alt-F3||Incremental Search forward|
|F2||Goto Next Error|
|Ctrl-F7||Find all occurrences in file (step through them with F3)|
|Alt-F7||Find all references in workspace (showing them in Search pane)|
|Ctrl-Alt-H||Show call hierarchy|
|Alt-Shift-Insert||Toggle rectangular mode for cut/paste/copy|
|Ctrl-Shift-F9||Compile current file|
|Alt-F8||Evaluate expression (like VB Immediate window)|
|Shift-F6||Rename item (method, field, variable, parameter, type, compilation unit, package, source folder, project)|
This list is far from complete. Please feel free to mail me your favorite shortcuts. I'll add to this list as time permits.
©Copyright 2006-2014, Bristle Software, Inc. All rights reserved