Alex Rivera | Logout

What are the most useful Intellij IDEA keyboard shortcuts?

Asked 2008-11-16T17:59:13.560
290

I did a bit of googling hoping to find a post on IDEA shortcuts similar to Jeff's post on Visual Studio shortcuts (Visual Studio .NET 2003 and 2005 Keyboard Shortcuts), but didn't really spot anything that helped. Hopefully the answers to this question will fill the void.

Edit
Report

6 Answers

9

This is probably dependent on your development environment, but when doing BlackBerry development I code in IntelliJ and still compile and debug through the BlackBerry JDE. Ctrl + Shift + C is vital in this case as it allows you to copy the full path of the file you are currently editing, making it easy to open the file in the separate dev environment.

answered 2009-05-07T20:31:25.157
9

Yes, Ctrl + Shift + A is the most useful one. It's a meta shortcut

answered 2010-12-25T18:42:31.317
8

Within the tool: "Help -> Default Keymap Reference" (as suggested by krosenvold)

On the Internet: "IntelliJ IDEA Developers Documentation"

Windows, Linux and Mac keyboard shortcut reference cards for versions 8, 7, 6, 5, and 4.5.

(I knew I had seen and used these reference "cards" before! ;-)

One of my favorites (not shown on the JetBrains cards) is "Ctrl+Shift+{Up or Down Arrow}" to move lines/methods up and down in the source code.

See also "Intellij Idea Keyboard Shortcuts" page on Ward's Wiki.

answered 2009-04-08T04:10:40.073
8

Shift+Delete deletes the entire line (will 'cut' it to clipboard)

Ctrl+Alt+L to reformat and optimize imports

Ctrl+Shift+J to join lines (pull content of next line up to current line).

answered 2011-09-02T16:15:12.387
3

F7 F8 F9 for debugging

answered 2008-11-16T18:01:01.683
1

Ctrl + N : Open class.

Alt + F7 : Find usages.

answered 2008-11-30T19:19:51.617

Your Answer