VSCode shortcuts

  1. Quick open: Ctrl+P
  2. Command palette: Ctrl+Shift+P or F1 (>)
    • Git: Fetch (Prune)
    • Emmet: Wrap with Abbreviation
  3. Go to symbol: Ctrl+Shift+O (@) then :
  4. Go to symbol across files: Ctrl+T (#)
  5. Go to line: Ctrl+G
  6. Keep open: Ctrl+K Enter
  7. Peek definition: Ctrl+Shift+F10
  8. Go to definition: F12
  9. Go to references: Shift+F12
  10. Find references: Alt+Shift+F12
  11. Go to last edit location: Ctrl+K Ctrl+Q
  12. Go to next symbol highlight: F7
  13. Go to previous symbol highlight: Shift+F7
  14. Show hover: Ctrl+K Ctrl+I
  15. Trigger suggest: Ctrl+Space
  16. Trigger parameter hints: Ctrl+Shift+Space
  17. Breadcrumb navigation: Ctrl+Shift+.
  18. Go to next change: Alt+F5
  19. Go to previous change: Shift+Alt+F5
  20. Show next change: Alt+F3
  21. Show previous change: Shift+Alt+F3
  22. Fold: Ctrl+Shift+[
  23. Unfold: Ctrl+Shift+]
  24. Fold all: Ctrl+K Ctrl+0
  25. Unfold all: Ctrl+K Ctrl+J
  26. Rename symbol across files: F2
  27. Change all occurances: Ctrl+F2
  28. Refactor: Ctrl+Shift+R
  29. Loop through errors or warnings in the current file:
    F8 or Shift+F8
  30. Insert cursor: Alt+Click
  31. Insert cursor above: Ctrl+Shift+Up
  32. Insert cursor below: Ctrl+Shift+Down
  33. Insert cursor at each occurrence of the current selected text: Ctrl+Shift+L
  34. Insert cursor at end of each line selected: Shift+Alt+I
  35. Insert cursor at search results: Alt+Enter
  36. Select at the cursor, or the next: Ctrl+D
  37. Select current line: Ctrl+L
  38. Expand AST selection: Shift+Alt+Right
  39. Shrink AST selection: Shift+Alt+Left
  40. Jump to the matching bracket: Ctrl+Shift+\
  41. nextBlankLine: Ctrl+Shift+'
  42. prevBlankLine: Ctrl+Shift+;
  43. Next edit location: Ctrl+Shift+-
  44. Previous edit location: Ctrl+Alt+-
  45. Undo last cursor operation: Ctrl+U
  46. Insert line above: Shift+Enter
  47. Insert line below: Shift+Alt+Enter
  48. Move line up: Alt+Up
  49. Move line down: Alt+Down
  50. Copy line up: Shift+Alt+Up
  51. Copy line down: Shift+Alt+Down
  52. Delete line: Ctrl+E
  53. Delete previous word: Ctrl+Backspace
  54. Delete next word: Ctrl+Delete
  55. Comment line: Shift+Alt+C
  56. Comment selection: Ctrl+Shift+A
  57. Toggle sidebar visibility: Ctrl+B
  58. Show explorer: Ctrl+Shift+E
  59. Show global search: Ctrl+Shift+F
  60. Show global search and replace: Ctrl+Shift+H
  61. Show source control: Ctrl+Shift+G
  62. Show Git Graph: Shift+Alt+G
  63. Focus the explorer panel: Ctrl+0
  64. Collapse all explorer folders: Ctrl+Left
  65. Focus first explorer search: Ctrl+Down
  66. Copy into new window: Ctrl+K O
  67. Split editor: Ctrl+\
  68. Close editor: Ctrl+W
  69. Focus into editor group: Ctrl+1, 2, 3
  70. Focus into editor tab: Alt+1, 2, 3
  71. Switch between tabs: Ctrl+PageUp, Ctrl+PageDown, Ctrl+Tab
  72. Move editor left: Ctrl+Shift+PageUp
  73. Move editor right: Ctrl+Shift+PageDown
  74. Scroll page up: Alt+PageUp
  75. Scroll page down: Alt+PageDown
  76. Fast scrolling: Alt+Scroll
  77. Toggle integrated terminal: Ctrl+`
  78. Create a new terminal: Ctrl+Shift+`
  79. Navigate between terminals:
    Ctrl+PageUp, Ctrl+PageDown
  80. Organize imports: Shift+Alt+O
This site uses cookies.