Skip to content

Instantly share code, notes, and snippets.

@leyanlo
Last active December 4, 2020 06:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leyanlo/ceac214eae38bf7dc0e5dbaa41b4bf75 to your computer and use it in GitHub Desktop.
Save leyanlo/ceac214eae38bf7dc0e5dbaa41b4bf75 to your computer and use it in GitHub Desktop.
WebStorm vs VSCode

WebStorm vs VSCode

Tradeoffs

VSCode pros

  • Popular
  • MDX support
  • Can jump to files from console, e.g. when running eslint

VSCode cons

  • Cannot look at tab title and tell if file is new, modified, unstaged, or has errors
  • Cannot advance to next file in git view
  • Cannot refactor a method to a separate file
  • No local file history
  • No way to view combined changes from a group of diffs

Shortcuts

Shortcut WebStorm VS Code
Open file Cmd Shift O Cmd P
Back Cmd [ Ctrl -
Search all Shift Shift Cmd Shift P
Find usages Cmd Opt Shift F7 Opt Shift F12
Prettier Cmd Opt Shift P Opt Shift F
Duplicate Cmd D Extension
Rename Shift F6 F2
Move F6 Not possible
Find Cmd F Cmd F
Find all Cmd Shift F Cmd Shift F
Replace Cmd R Cmd Opt F
Replace all Cmd Shift R Cmd Shift H
Close sidebar Cmd W Cmd B
Close console Shift Esc Cmd J
Commit Cmd K Ctrl Shift G
Go to line Cmd L Ctrl G
Next error in file F2 F8
Next change F7 Opt F5
Next file Cmd Shift ] Not possible
Quick fix Opt Enter Cmd .
Split vertically Custom Cmd \
Collapse Cmd . Cmd Opt [
Expand Cmd + Cmd Opt ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment