Jetbrains Flashcards
Open corresponding tool window
CMD+0..9
Toggle maximizing editor
CMD+SHIFT+F12
Toggle maximizing tool window
CMD+SHIFT+\
Inspect current file with current profile
ALT+SHIFT+I
Open Settings dialog
CMD+,
Open project structure dialog
CMD+;
Find action
CMD+SHIFT+A
Close Project
Ctrl+Option+F2
Open file in Light Edit Mode
idea -e filename
Step over
F8
Step into
F7
Smart step into
SHIFT+F8
Step out
SHIFT+F7
Run to cursor
ALT+F9
Evaluate expression
ALT+F8
Resume program
CMD+ALT+R
Toggle breakpoint
CMD+F8
View breakpoint
CMD+SHIFT+F8
Search everywhere
Double SHIFT
Replace
CMD+R
Find in path
CMD+SHIFT+F
Replace in path
CMD+SHIFT+R
Select next occurrence
^G
Basic code completion
CTRL+Space
Smart code completion
CTRL+SHIFT+Space
Complete statement
CMD+SHIFT+Enter
Parameter info
CMD+P
Quick documentation lookup
CTRL+J
External Doc
SHIFT+F1
Brief Info
CMD+Mouse
Show descriptions of error at caret
CMD+F1
Generate code…
CMD+N CTRL+Enter
Override methods
CTRL+O
Implement methods
CTRL+I
Surround with…
CMD+ALT+T
uncomment with line comment
CMD+/
uncomment with block comment
CMD+ALT+/
Extend selection
ALT+Page Up
Shrink selection
ALT+Page Down
Context info
ALT+SHIFT+Q
Show intention actions and quick- xes
ALT+Click
Reformat code
ALT+Enter
Optimize imports
CTRL+ALT+O
Auto-indent line(s)
CTRL+ALT+I
Paste from recent buffers
CMD+SHIFT+V
Duplicate current line
CMD+D
Delete line at caret
CMD+Return
Smart line join
CTRL+SHIFT+J
Smart line split
CMD+Enter
Start new line
SHIFT+Enter
Toggle case for word at caret or selected block
CMD+SHIFT+U
Select till code block end
CMD+SHIFT+]
Select till code block start
CMD+SHIFT+[
Delete to word end
ALT+Return
Delete to word start
ALT+Return
Expand code block
CMD++
Collapse code block
CMD+-
Expand all
CMD+SHIFT++
Collapse all
CMD+SHIFT+-
Copy
F5
Move
F6
Safe delete
CMD+Delete
Rename
SHIFT+F6
Refactor this
CTRL+T
Change signature
CMD+F6
Inline
CMD+ALT+N
Extract method
CMD+ALT+M
Extract variable
CMD+ALT+V
Extract field
CMD+ALT+F
Extract constant
CMD+ALT+C
Extract parameter
CMD+ALT+P
Go to class
CMD+O
Go to file
CMD+SHIFT+O
Go to symbol
CMD+ALT+O
Go to next
CTRL+Arrow Left
Go back to previous tool window
F12
Go to line
CMD+L
Recent files popup
CMD+E
Navigate back
CMD+ALT+Arrow Left
Navigate forward
CMD+ALT+Arrow Right
Navigate to last edit location
CMD+SHIFT+Return
Select current file or symbol in any view
ALT+F1
Go to declaration
CMD+B
Go to implementation(s)
CMD+ALT+B
Open quick definition lookup
CMD+Y
Go to type declaration
CTRL+SHIFT+B
Go to super-method
CMD+U
Go to previous
CTRL+Page Up
Go to next method
CTRL+Page Down
Move to code block end
CMD+ALT+]
Move to code block start
CMD+ALT+[
Type hierarchy
Ctrl+H
Method implementation hierarchy
CMD+ALT+P
Call hierarchy
CTRL+ALT+H
Next / previous highlighted error
F2
Edit source / View source
F4
Show navigation bar
⌘+↑
Toggle bookmark
F3
Toggle bookmark with mnemonic
ALT+F3
Go to numbered bookmark
CTRL+0..9
Show bookmarks
CMD+F3
Make project
CMD+F9
Compile selected file
package or module
Select configuration run
CTRL+ALT+R
Run context configuration from editor
CTRL+ALT+R
Select configuration debug
CTRL+ALT+D
Find usages in file
CMD+F7
Find usages
ALT+F7
Highlight usages in file
CMD+SHIFT+F7
Show usages
CMD+ALT+F7
Commit project to VCS
CMD+K
Update project from VCS
CMD+T
Push commits
CMD+SHIFT+K
VCS quick popup
CTRL+V
Surround with Live Template
CMD+ALT+J
Insert Live Template
CMD+J
Add carets at selected locations using mouse
⇧⌥
Add carets above or below the current caret using keyboard
Press ⌥ twice
Remove carets
Press ⇧⌥ and click carets that you want to remove.
Select multiple occurrences of a word
Press and hold ⇧⌥
Find and select the next occurrence of case-sensitively matching
⌃G
Move Caret to Previous Word
Move Caret to Next Word
⌥OPT←
⌥OPT→
Move Caret to Line Start
Move Caret to Line End
⌘CMD←
⌘CMD→
Go to Containing Declaration
⌃Ctrl [
Move Caret to Matching Brace
⌃Ctrl M
Move Caret to Code Block Start
Move Caret to Code Block End
⌘Сmd⌥Opt [
⌘Сmd⌥Opt ]
Next Method
Previous Method
⌃Ctrl⇧Shift ↓
⌃Ctrl⇧Shift ↑
Move Caret to Page Top
Move Caret to Page Bottom
⌘Сmd⇞Pg Up
⌘Сmd⇟Pg Dn
Next Highlighted Error
Previous Highlighted Error
F2
⇧Shift F2
Left with Selection
Right with Selection
⇧Shift ←
⇧Shift →
Move Caret to Previous Word with Selection
Move Caret to Next Word with Selection
⌥Opt⇧Shift ←
⌥Opt⇧Shift →
Move Caret to Line Start with Selection
Move Caret to Line End with Selection
⌘Сmd⇧Shift ←
⌘Сmd⇧Shift →
Move Caret to Code Block Start with Selection
Move Caret to Code Block End with Selection
⌘Сmd⌥Opt⇧Shift [
⌘Сmd⌥Opt⇧Shift ]
Select Containing Declaration
⌃Ctrl⇧Shift [
Extend Selection
Shrink Selection
⌥Opt ↑
⌥Opt↓
Structural navigation forward
Structural navigation backward
Tab
Shift+Tab
Move Line Down
cmd + shift + dn arrow
Backward Select Word
shift + option + left arrow
End of Line
fn + right arrow (cmd + right)
Duplicate Line
cmd + D
Move Line Up
cmd + shift + up arrow
Backward Delete Word
option + delete
Backward Word
option + left arrow
Forward Delete Char
fn + delete
Forward Word
option + right arrow
Delete Line
cmd + delete
Forward Select Word
shift + option + right arrow
Navigate to type
Cmd + O Shift + Cmd + O Navigate to file you can type slash to navigate folders as well it takes wildcards and when you enter the type/file name and after that :40 you will end up on the 40th line in that file
Symbol lookup
Alt + Cmd + O
Find in path (old-school way)
Cmd + Shift + F
Search everywhere
Double Shift
recent files list
Cmd + E
Navigate forward/backward between files
Cmd + ] or Cmd + [
Go to project window (you can check other numbers for different windows)
Cmd + 1
Next project window When in eg. project window (Cmd + 1) pressing Esc puts the focus in the main editor
Cmd + `
Go to source with focus in the editor straight away
Pressing Cmd + Arrow Down
when in project window create a new file
Cmd + N
creates files etc but while the focus is in the editor
Alt + Ctrl + N
create scratch file
Cmd + Shift + N
search for action
Cmd + Shift + A
hide all the window and leave editor only
Shift + Cmd + F12
resizes the windows
Shift + Cmd + Right/Left arrow (while eg. in Project window)
Select code (Alt + Down arrow shrinks selection)
Alt + Up arrow
Move code around (single line or selection)
Cmd + Shift + Up/Down arrows
duplicate (line or the whole selection)
Cmd + D
clipboard history
Shift + Cmd + V
delete the line
Cmd + Backspace
place multiple cursors
Alt + Shift + Click(s)
add selection for the next occurrence (multiple cursors apply)
Shift + Ctrl + G unselects the selection Ctrl + G (while symbol is selected)
selects all occurrences entering multiple inputs mode
Ctrl + Cmd + G
Rename
Shift + F6
correct indentation (on selection)
Ctrl + Alt + I
F3
Toggle bookmark
Update Project from source control
Cmd + T
Inject Language
Alt + Enter
Smart Completion
Ctrl + Shift + Space (whereas Ctrl + Space is normal completion)
get parameter info
Cmd + P
Alt + / (type one letter and then hit the key combination)
Hippie completion
Cmd + J
type a shortcut and then select (hit enter) Live Templates
Cmd + Alt + T
Surround Templates
Navigate to declaration
Cmd + B
Navigate to super-method
Cmd + U
shows implementations
Alt + Cmd + B
opens type hierarchy window
Ctrl + H
opens hierarchy on for a method
Cmd + Shift + H
you can select run query in console to see if the query is ok
Alt + Enter on SQL
shows the diff
Cmd + D while in version control window
commit your changes
Cmd + K
starts debugger and F7 steps into (works with lambda expressions)
Ctrl + D
starts debugger for the currently open file
Ctrl + Shift + D
stops the debugger
Cmd + F2
brings refactor menu
Ctrl + T
opens up a terminal
Alt + F12
shows menu for version control operations
Ctrl + V
quick change basic settings
Ctrl + `
push
Shift + Ctrl + K