Tool Window | Shortcut |
---|---|
Project | Alt+1 |
Version Control | Alt+9 |
Run | Alt+4 |
Debug | Alt+5 |
Terminal | Alt+F12 |
Editor | Escape |
Action | Description |
---|---|
Move the current line of code | Ctrl+Shift+UpCtrl+Shift+Down |
Duplicate a line of code | Ctrl+D |
Remove a line of code | Ctrl+Y |
Comment or uncomment a line of code | Ctrl+/ |
Comment a block of code | Ctrl+Shift+/ |
Find in the currently opened file | Ctrl+F |
Find and replace in the current file | Ctrl+R |
Next occurrence | F3 |
Previous occurrence | Shift+F3 |
Navigate between opened tabs | Alt+RightAlt+Left |
Navigate back/forward | Ctrl+Alt+LeftCtrl+Alt+Right |
Expand or collapse a code block in the editor | Ctrl+NumPad +Ctrl+NumPad - |
Generate | Alt+Insert |
Surround with | Ctrl+Alt+T |
Highlight usages of a symbol | Ctrl+F7 |
Action | Shortcut |
---|---|
Search everywhere | Double Shift |
Navigate to class | Ctrl+N |
Navigate to file | Ctrl+Shift+N |
Navigate to symbol | Ctrl+Alt+Shift+N |
Recent files | Ctrl+E |
File structure | Ctrl+F12 |
Select in | Alt+F1 |
Navigate to declaration | Ctrl+B |
Navigate to type hierarchy | Ctrl+H |
Show UML popup | Ctrl+Alt+U |
Action | Shortcut |
---|---|
Type Info | Alt+Equals |
Documentation | Ctrl+Q |
Quick definition | Ctrl+Shift+I |
Show usages | Ctrl+Alt+F7 |
Show implementation | Ctrl+Alt+B |
Implicit conversions | Ctrl+Shift+Q |
Implicit parameters | Ctrl+Shift+P |
Action | Shortcut |
---|---|
Rename | Shift+F6 |
Extract variable or type | Ctrl+Alt+V |
Extract field | Ctrl+Alt+F |
Extract a constant | Ctrl+Alt+C |
Extract a method | Ctrl+Alt+M |
Extract a parameter | Ctrl+Alt+P |
Inline | Ctrl+Alt+N |
Copy | F5 |
Move | F6 |
Refactor this | Ctrl+Alt+Shift+T |
Action | Shortcut |
---|---|
Reformat code | Ctrl+Alt+L |
Auto-indent lines | Ctrl+Alt+I |
Optimize imports | Ctrl+Alt+O |
Desugar Scala code (file) | Ctrl+Alt+D |
Action | Shortcut |
---|---|
Toggle breakpoint | Ctrl+F8 |
Step into | F7 |
Smart step into | Shift+F7 |
Step over | F8 |
Step out | Shift+F8 |
Resume | F9 |
Evaluate expression | Alt+F8 |