Skip to content

Instantly share code, notes, and snippets.

@sming
Created September 24, 2024 06:03
Show Gist options
  • Save sming/19409094bae813e49924ee72b11875aa to your computer and use it in GitHub Desktop.
Save sming/19409094bae813e49924ee72b11875aa to your computer and use it in GitHub Desktop.

—————— IntelliJ Commands ——————

Source

Rider's top keyboard shortcuts

Finding everything

Command Shortcut
Open Solution or Project
⌃+⇧+O
Show Action List
⌥+Enter
Search Everywhere
Double-⇧
Navigate To...
⌃+⇧+N
Find Usages
⌥+F
Select In...
⌥+F
Settings...
⌘+,
Find Action...
⌘+⇧+A
Generate...
⌘+N ⌃+Enter
Build Solution
⌘+F
Debug...
⌃+⌥+D
View Breakpoints...
⌘+⇧+F
Attach to Process...
⌥+⇧+F
VCS Operations Popup...
⌃+V
Refactor This...
⌃+T
Inspect This...
⌘+⌥+⇧+A
Command Shortcut
Search Everywhere
Double-⇧
Find...
⌘+F
Find Next / Move to Next Occurrence
⌘+G
Find Previous / Move to Previous
Occurrence

⌘+⇧+G

Replace...
⌘+R
Find in Path...
⌘+⇧+F
Replace in Path...
⌘+⇧+R
Go to File...
⌘+⇧+O
File Member
⌘+F

Navigating from symbols

—————— IntelliJ Commands ——————

Context navigation

Go to Symbol...
⌘+⌥+O
Find Action...
⌘+⇧+A
Command Shortcut
Go to Declaration or Usages
⌘+B ⌘+Click Force touch
Go to Type Declaration
⌘+⇧+B ⌃+⇧+B ⌘+⇧+Click
Show Usages
⌘+⌥+F
Go to Super Method
⌘+U
Go to Implementation(s)
⌘+⌥+B ⌘+⌥+Click
Navigate To...
⌃+⇧+N
Find Usages
⌥+F
Highlight Usages in File
⌘+⇧+F
Command Shortcut
Next Method
⌃+Down
Previous Method
⌃+Up
Go to Line/Column...
⌘+L
Switcher
⌃+Tab ⌃+⇧+Tab
Select In...
⌥+F
Recent Files
⌘+E
Last Edit Location
⌘+⇧+Backspace
Back
⌘+[ ⌘+⌥+Left Mouse Back
Forward
⌘+] ⌘+⌥+Right Mouse Forward
Select Next Tab
⌘+⇧+] ⌃+Right
Select Previous Tab
⌘+⇧+[ ⌃+Left
Show Bookmarks
⌘+F
Toggle Bookmark F
Toggle Bookmark with Mnemonic
⌥+F
Add to Favorites
⌥+⇧+F
Show Structure window
⌘+

Code Analysis

—————— IntelliJ Commands ——————

Creating and editing code

Show Find window
⌘+
Show TODO window
⌘+
Show Favorites window
⌘+
Command Shortcut
Show Action List
⌥+Enter
Next Code Issue F
Previous Code Issue
⇧+F
Next Error
⌥+F
Previous Error
⌥+⇧+F
Toggle Code Inspection
⌘+⌥+⇧+8 ⌃+⌥+⇧+
Run Inspection by Name
⌘+⌥+⇧+I
Inspect This...
⌘+⌥+⇧+A
Command Shortcut
Move Caret to Previous Word
⌥+Left
Move Caret to Next Word
⌥+Right
Move Caret to Line Start
Home ⌘+Left ⌃+A
Move Caret to Line End
End ⌘+Right ⌃+E
Containing Declaration
⌃+[
Move Caret to Matching Brace
⌃+M
Move Caret to Code Block Start
⌘+⌥+[
Move Caret to Code Block End
⌘+⌥+]
Next Method
⌃+Down
Previous Method
⌃+Up
Move Caret to Page Top
⌘+Page Up
Move Caret to Page Bottom
⌘+Page Down
Page Up Page Up
Page Down Page Down
Move Caret to Text Start
⌘+Home

Move Caret to Text End ⌘+End

Select All ⌘+A

Left with Selection ⇧+Left

Right with Selection ⇧+Right

Move Caret to Previous Word with

Selection

⌥+⇧+Left

Move Caret to Next Word with Selection ⌥+⇧+Right

Move Caret to Line Start with Selection ⇧+Home ⌘+⇧+Left

Move Caret to Line End with Selection ⇧+End ⌘+⇧+Right

IntelliJ Commands

Up with Selection ⇧+Up

Down with Selection ⇧+Down

Select Containing Declaration ⌃+⇧+[

Move Caret to Code Block Start with

Selection

⌘+⌥+⇧+[

Move Caret to Code Block End with

Selection

⌘+⌥+⇧+]

Move Caret to Page Top with Selection ⌘+⇧+Page Up

Move Caret to Page Bottom with

Selection

⌘+⇧+Page Down

Page Up with Selection ⇧+Page Up

Page Down with Selection ⇧+Page Down

Move Caret to Text Start with Selection ⌘+⇧+Home

Move Caret to Text End with Selection ⌘+⇧+End

Extend Selection ⌥+Up

Shrink Selection ⌥+Down

Add Selection for Next Occurrence ⌃+G

Copy ⌘+C ⌘+Insert

Cut ⌘+X ⇧+Delete

Paste ⌘+V ⇧+Insert

Paste without Formatting ⌘+⌥+⇧+V

Paste from History... ⌘+⇧+V ⌘+⇧+Insert

Duplicate Line or Selection ⌘+D

Copy Paths ⌘+⇧+C

—————— IntelliJ Commands ——————

Coding assistance

Copy Reference
⌘+⌥+⇧+C
Save All
⌘+S
Undo
⌘+Z
Indent Selection Tab
Unindent Line or Selection
⇧+Tab
Start New Line
⇧+Enter
Start New Line Before Current
⌘+⌥+Enter
Delete Line
⌘+Backspace
Toggle Case
⌘+⇧+U
New Scratch File
⌘+⇧+N
Open source in new window
⇧+F
Command Shortcut
Show Action List
⌥+Enter
Basic Completion
⌃+Space
Smart Completion
⌃+⇧+Space
Second Basic Completion
⌃+⌥+Space
Complete Current Statement
⌘+⇧+Enter
Parameter Info
⌘+P
Quick Documentation
F1 ⌃+J ⌃+Right-click
Move Statement Up
⌘+⇧+Up
Move Statement Down
⌘+⇧+Down
Move Element Left
⌘+⌥+⇧+Left
Move Element Right
⌘+⌥+⇧+Right
Comment/uncomment with Line
Comment
⌘+/ ⌘+NumPad /
Comment/uncomment with Block
Comment
⌘+⌥+/ ⌘+⌥+NumPad / ⌃+⇧+/ ⌃+⇧+
NumPad / ⌘+⇧+/ ⌘+⇧+NumPad / ⌘+
⇧+NumPad /
Generate...
⌘+N ⌃+Enter

Building, Running, and Debugging

—————— IntelliJ Commands ——————

Refactorings

Command Shortcut
Build Solution
⌘+F
Run context configuration
⌃+⇧+R
Run...
⌃+⌥+R
Debug context configuration
⌃+D
Debug...
⌃+⌥+D
Attach to Process...
⌥+⇧+F
Stop
⌘+F
Stop Background Processes...
⌘+⇧+F
Step Over F
Force Step Over
⌥+⇧+F
Step Into F
Smart Step Into
⇧+F
Force Step Into
⌥+⇧+F
Step Out
⇧+F
Run to Cursor
⌥+F9 Force touch
Force Run to Cursor
⌘+⌥+F
Skip to Cursor
⌘+⌥+⇧+F
Resume Program
⌘+⌥+R F
Evaluate Expression...
⌥+F
Quick Evaluate Expression
⌘+⌥+F8 ⌥+Click
Show Execution Point
⌥+F
Toggle Line Breakpoint
⌘+F
Toggle Temporary Line Breakpoint
⌘+⌥+⇧+F
View Breakpoints...
⌘+⇧+F
Edit breakpoint
⌘+⇧+F
Show Run window
⌘+
Show Debug window
⌘+
Command Shortcut

Global VCS actions

—————— IntelliJ Commands ——————

Unit Testing

Refactor This...
⌃+T
Change Signature...
⌘+F
Inline...
⌘+⌥+N
Move... F
Extract Method...
⌘+⌥+M
Introduce Field...
⌘+⌥+F
Introduce Parameter...
⌘+⌥+P
Introduce Variable...
⌘+⌥+V
Rename...
⇧+F
Safe Delete...
⌘+Delete
Command Shortcut
VCS Operations Popup...
⌃+V
Show Commit window
Show Version Control window
⌘+
Commit...
⌘+K
Update Project
⌘+T
Rollback
⌘+⌥+Z
Push...
⌘+⇧+K
Next Change
⌃+⌥+⇧+Down
Previous Change
⌃+⌥+⇧+Up
Command Shortcut
Unit Testing Quick List...
⌥+⇧+U
Run Unit Tests
⌘+Semicolon, R ⌘+Semicolon,

⌘+R ⌃+⇧+R

Debug Unit Tests
⌘+Semicolon, D ⌘+Semicolon,

⌘+D ⌃+⇧+D

Stop Execution
⌘+Semicolon, S ⌘+Semicolon, ⌘+S
Repeat Previous Run
⌘+Semicolon, T ⌘+Semicolon, ⌘+T

—————— IntelliJ Commands ——————

Tool Windows

Rerun Failed Tests
⌘+Semicolon, F ⌘+Semicolon, ⌘+F
Run Tests Until Failure
⌘+Semicolon, W ⌘+Semicolon, ⌘+W
Run All Tests from Solution
⌘+Semicolon, L ⌘+Semicolon, ⌘+L
Create New Session
⌘+Semicolon, N ⌘+Semicolon, ⌘+N
Append Tests to Session
⌘+Semicolon, A ⌘+Semicolon, ⌘+A
Run Current Session
⌘+Semicolon, Y ⌘+Semicolon, ⌘+Y
Run Unit Tests under dotMemory Unit
⌘+Semicolon, M ⌘+Semicolon, ⌘+M
Run Selected Tests
⇧+Enter
Debug Selected Tests
⌘+D
Run Current Session (Tool Window)
⌘+Y
Rerun Failed Tests (Tool Window)
Create New Session (Tool Window)
⌘+⇧+N
Append Tests to Session (Tool Window)
⌘+⌥+N
Remove Selected Tests (Tool Window) Backspace
Run All Tests from Solution (Tool Window)
⌘+L
Command Shortcut
Hide All Tool Windows
⌘+⇧+F
Jump to Last Tool Window F
Explorer
⌘+
Favorites
⌘+
Find
⌘+
Run
⌘+
Debug
⌘+

TODO

⌘+

Commit
Version Control
⌘+
Terminal
⌥+F
Structure
⌘+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment