Visual Studio Code Shortcut Mappping

Table of contents

  1. đź§­ Core Philosophy
  2. Global Shortcut Mapping (MacOS)
  3. Java
    1. Extensions
    2. Shortcuts
    3. Notes
  4. Python
    1. Extensions
    2. Shortcuts
    3. Notes
  5. JavaScript
    1. Extensions
    2. Shortcuts
    3. Notes
  6. TypeScript
    1. Built-in support
    2. Shortcuts
    3. Notes
  7. Multi-cursor & Editing
  8. Recommended Extensions (All Languages)
  9. Final Takeaway
  10. Pro Tip

đź§­ Core Philosophy

  • IntelliJ: full-featured IDE with built-in intelligence
  • VS Code: lightweight editor + extensions

Tip: Install “IntelliJ IDEA Keybindings” extension if you want familiar shortcuts.


Global Shortcut Mapping (MacOS)

ActionIntelliJVS Code (Mac)
Search EverywhereShift + ShiftCmd + Shift + P
Find FileCmd + Shift + OCmd + P
Find in FilesCmd + Shift + FCmd + Shift + F
Go to SymbolCmd + Alt + OCmd + T
Go to DefinitionCmd + BF12 / Cmd + Click
Quick FixOption + EnterCmd + .
RenameShift + F6F2
Format CodeCmd + Option + LShift + Option + F
Optimize ImportsCmd + Option + OShift + Option + O
Command Palette—Cmd + Shift + P
Terminal—Ctrl + `

Java

Extensions

  • Extension Pack for Java
  • Spring Boot Extension Pack (optional)

Shortcuts

ActionIntelliJVS Code
Generate codeCmd + NCmd + .
RunShift + F10Ctrl + F5
DebugShift + F9F5
Go to implementationCmd + Option + BCmd + Click
Type hierarchyCtrl + HCommand Palette

Notes

  • Refactoring is more limited than IntelliJ
  • Spring support is good but less integrated

Python

Extensions

  • Python (Microsoft)
  • Pylance

Shortcuts

ActionIntelliJ (PyCharm)VS Code
Run fileShift + F10Ctrl + F5
DebugShift + F9F5
Quick fixOption + EnterCmd + .
RenameShift + F6F2
Show docsF1Cmd + K Cmd + I
Go to definitionCmd + BF12

Notes

  • Pylance gives strong IntelliSense
  • Virtualenv setup is manual but flexible

JavaScript

Extensions

  • ESLint
  • Prettier

Shortcuts

ActionIntelliJVS Code
Auto importOption + EnterCmd + .
RenameShift + F6F2
Extract functionCmd + Option + MCmd + .
FormatCmd + Option + LShift + Option + F
Find usagesOption + F7Shift + F12

Notes

  • VS Code is often better for JS
  • Native TypeScript engine powers IntelliSense

TypeScript

Built-in support

No extension needed

Shortcuts

ActionIntelliJVS Code
Go to definitionCmd + BF12
Peek definitionCmd + Shift + IOption + F12
RenameShift + F6F2
Find referencesOption + F7Shift + F12
Organize importsCmd + Option + OShift + Option + O

Notes

  • Best-in-class experience in VS Code
  • Fast and reliable refactoring

Multi-cursor & Editing

ActionIntelliJVS Code
Multi-cursorOption + ClickOption + Click
Select next occurrenceCtrl + GCmd + D
Select all occurrencesCmd + Ctrl + GCmd + Shift + L
Duplicate lineCmd + DShift + Option + ↓
Delete lineCmd + DeleteCmd + Shift + K

  • IntelliJ IDEA Keybindings
  • Prettier
  • ESLint
  • GitLens

Final Takeaway

LanguageWinner
JavaIntelliJ
PythonTie
JavaScriptVS Code
TypeScriptVS Code

Pro Tip

If you’re switching full-time:

  1. Install IntelliJ keybindings
  2. Learn Cmd + Shift + P (Command Palette)
  3. Use Cmd + . for EVERYTHING (fixes, refactors, imports)