Help -> Productivity Guide.
- Shift+⌘+A -> Look up any action with it's keymap.
- Shift+Shift -> Look for everything.
- ⌘+N -> New files.
- Use live templates.
- You can create your own quick lists.
- ⌘+E -> Recents files.
- Shift+⌘+E -> Recents edited files.
- Ctrl+Tab -> Switcher.
- ⌘+O -> Goes to a class, if you add
:
and a number (e.g.:40
) it will go to that file in that line number. - Shift+⌘+O -> Goes to file.
- Alt+⌘+O -> Goes to symbol. you can limit it to some name space by doing
CLASS.NAME_OF_SYMBOL
. - ⌘+F12 -> Go to method.
- ⌘+Up -> Jump to Navigation Bar.
- ⌘+Y -> Overlay decleration instead of jump to decleration.
- F4 -> (In the project view) Jump to source.
- Ctrl+B -> Navigate to decleration.
- ⌘+[ -> Navigate back.
- ⌘+] -> Navigate forward.
- Alt+⌘+B -> Navigate to implementations.
- F2 -> Navigate to next highlighted error.
- Shift+F2 -> Navigate to previous highlighted error.
(Can select (from top of right gutter) "Go to high priority problems only")
- Shift+⌘+F7 -> Highlight usages. Do it on a throw (for example) and it will show you all the places in that method that an exception is thrown (also works for return).
- Shift+⌘+F12 -> Zen mode.
- ⌘+⌘ -> Show all windows.
- Shift+Ctrl+P -> Fullscreen + Presentation mode.
- Shift+⌘+Right -> Stretch to Right.
- Shift+⌘+Left -> Stretch to Left.
- Ctrl+G -> Select Next Occurrence.
- Ctrl+⌘+G -> Select all Occurrences.
- Alt+Up -> Select Word at Caret (continuous).
- Alt+Down -> Unselect Word at Caret (continuous).
- Shift+⌘+V -> Show clipboard history to choose from what to paste.
- Alt+Shift+Up -> Move code up.
- Alt+Shift+Down -> Move code down.
- Shift+⌘+Retrun -> Complete current statement.
- Alt+⌘+T -> Surround With Live Template.
- ⌘+D -> Duplicate line.
- Ctrl+Shift+Space -> Smart completion.
- var.notNull -> Generates the if not null for you.
- ⌘+J -> Get all the expressions you can use on a variable.
- Alt+⌘+V -> Extract variable.
- Ctrl+V -> VCS Operations Popup.