Skip to content

Instantly share code, notes, and snippets.

@Naedri
Last active March 28, 2026 08:55
Show Gist options
  • Select an option

  • Save Naedri/951d41b91961bec77b567e0d3fb47764 to your computer and use it in GitHub Desktop.

Select an option

Save Naedri/951d41b91961bec77b567e0d3fb47764 to your computer and use it in GitHub Desktop.
Comparison of VS Code and IntelliJ IDEA selected shortcuts.

VS Code vs IntelliJ IDEA keyboard shortcuts

Windows

Category Action Description VS Code IntelliJ IDEA
General Show Command Palette / Find Action Ctrl + Shift + P Ctrl + Shift + A
General Quick Open / Search Everywhere Ctrl + P Double Shift
Basic Editing Cut line (empty selection) Ctrl + X Ctrl + X
Basic Editing Copy line (empty selection) Ctrl + C Ctrl + C
Basic Editing Move line up/down Alt + ↑ / ↓ Ctrl + Shift + ↑ / ↓
Basic Editing Toggle line comment Ctrl + / Ctrl + /
Basic Editing Toggle word wrap (usually via View menu) Alt + Z (None)
Navigation Go to Line... Ctrl + G Ctrl + G
Navigation Go to File... Ctrl + P Ctrl + Shift + N
Navigation Go to Symbol... Ctrl + Shift + O Ctrl + Alt + Shift + N
Navigation Go back / forward Alt + ← / → Ctrl + Alt + ← / →
Search/Replace Find Ctrl + F Ctrl + F
Search/Replace Replace Ctrl + H Ctrl + R
Search/Replace Find next/previous F3 / Shift + F3 F3 / Shift + F3
Search/Replace Select all occurrences / Intention actions Alt + Enter Alt + Enter
Search/Replace Add selection to next Find match Ctrl + D Alt + J
Multi-cursor Insert cursor Alt + Click Alt + Click
Multi-cursor Column selection mode (toggle) Ctrl + Alt + ↑ / ↓ Alt + Shift + Insert
IntelliSense Trigger suggestion (Basic) Ctrl + Space Ctrl + Space
IntelliSense Trigger Type-matching suggestion Ctrl + Shift + Space Ctrl + Shift + Space
Formatting Format document Shift + Alt + F Ctrl + Alt + L
Refactoring Go to Definition F12 Ctrl + B
Refactoring Show References / Find Usages Shift + F12 Alt + F7
Refactoring Rename Symbol F2 Shift + F6
Editor Mgmt Close editor Ctrl + W Ctrl + F4
Editor Mgmt Split editor (usually via Right-click tab) Ctrl + \ (None)
File Mgmt New File / Generate Ctrl + N Alt + Insert
File Mgmt Save (IDEA autosaves regardless) Ctrl + S Ctrl + S
File Mgmt Reopen closed editor / Go to Test Ctrl + Shift + T Ctrl + Shift + T
Debug Toggle breakpoint F9 Ctrl + F8
Debug Start / Debug F5 Shift + F9
Debug Step into F11 F7
Debug Step over F10 F8

MacOS

Category Action Description VS Code IntelliJ IDEA
General Command Palette / Find Action Cmd + Shift + P Cmd + Shift + A
General Quick Open / Search Everywhere Cmd + P Double Shift
Basic Editing Cut line Cmd + X Cmd + X
Basic Editing Copy line Cmd + C Cmd + C
Basic Editing Move line up/down Alt + ↑ / ↓ Alt + Shift + ↑ / ↓
Basic Editing Toggle line comment Cmd + / Cmd + /
Basic Editing Toggle word wrap Alt + Z (None)
Navigation Go to Line... ⌃ + G Cmd + L
Navigation Go to File... Cmd + P Cmd + Shift + O
Navigation Go to Symbol... Cmd + Shift + O Cmd + Alt + O
Navigation Go back / forward ⌃ + - / ⌃ + Shift + - Cmd + [ / ]
Search/Replace Find Cmd + F Cmd + F
Search/Replace Replace Cmd + Alt + F Cmd + R
Search/Replace Find next/previous Cmd + G / Cmd + Shift + G Cmd + G / Cmd + Shift + G
Search/Replace Select all occurrences Cmd + Shift + L ⌃ + Cmd + G
Multi-cursor Insert cursor Alt + Click Alt + Click
Multi-cursor Insert cursor above / below Cmd + Alt + ↑ / ↓ Double Alt + ↓
IntelliSense Trigger suggestion ⌃ + Space ⌃ + Space
IntelliSense Parameter hints Cmd + Shift + Space Cmd + P
Formatting Format document Shift + Alt + F Cmd + Alt + L
Refactoring Go to Definition F12 / Cmd + Click Cmd + B
Refactoring Show References / Usages Shift + F12 Alt + F7
Refactoring Rename Symbol F2 Shift + F6
Editor Mgmt Close editor Cmd + W Cmd + W
Editor Mgmt Split editor Cmd + \ (None)
File Mgmt New File Cmd + N Cmd + N
File Mgmt Save Cmd + S Cmd + S
Debug Toggle breakpoint F9 Cmd + F8
Debug Start Debugging F5 ⌃ + D
Debug Step into F11 F7
Debug Step over F10 F8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment