ESSENTIAL VSCODE SHORTCUTS TO SPEED UP YOUR WORKFLOW DRAMATICALLY

ESSENTIAL VSCODE SHORTCUTS TO SPEED UP YOUR WORKFLOW DRAMATICALLY

UPDATED ON: 2024-02-14

Here is a small list of mandatory keystrokes, which significantly speed up working process!

NAVIGATION

  • [CTRL]+[K]+[O] ► open folder

  • [CTRL]+[K]+[F] ► close folder [after release K and CTRL]

  • [ALT]+[L]+[O] ► open in browser

  • [CTRL]+[W] ► close current tab

  • [CTRL]+[K]+[W] ► close all tabs

  • [ALT]+[1]/[2]/[3] ► fast-switch to diffrenet tabs

  • [CTRL]+[1]/[2] ► fast-switch between panels

  • [CTRL]+[] ► split screen / two panels

  • [CTRL]+[G]+[NUMBER] ► jump to appointed line

  • [CTRL]+[ALT]+[RIGHT]/[LEFT] ► move tab to opposite panel and back

  • [CTRL]+[UP/DOWN] ► scroll up/down

  • [CTRL]+[PAGE UP/PAGE DOWN] ► fast switch between tabs of file panels

EDITOR

  • [CTRL]+[ALT]+[UP]/[DOWN] ► select lines above/below

  • [CTRL]+[L] ► highlight line by line [multiple pressings]

  • [ALT]+[UP]/[DOWN] ► move current line to up/down

  • [ALT]+[SHIFT]+[UP]/[DOWN] ► copy current line to line above/below

  • [CTRL]+[X] ► cut current line

  • [CTRL]+[/] ► comment/uncomment current line

  • [ALT]+[CLICK] ► mark/unmark edit points [multiple pressings]

  • [CTRL]+[D] ► select next matches [multiple pressings] to edit lines simultaneously

  • [CTRL]+[SPACE] ► suggest emmet

  • [ALT]+[SHIFT]+[F] ► format all document

  • [ALT]+[Z] ► toggle line wrap

  • [CTRL]+[SHIFT]+[] ► go to matching bracket

  • [CTRL]+[SHIFT]+[L] ► select all matches with multi-cursor or just [CTRL]+[F2]

  • [CTRL]+[F] ► find in file

  • [CTRL]+[H] ► find and replace

  • [F8] ► navigate across the errors

  • [F2] ► enter new value to selected var

  • [F12] ► go to var declaration

  • [CTRL]+[-]/[+] ► zoom out/in

FILES

  • [CTRL]+[`/J] ► terminal/console

  • [CTRL]+[B] ► left panel explorer [file/extensions]

  • [CTRL]+[SHIFT]+[B] ► toggle left activity bar

  • [CTRL]+[SHIFT]+[E] ► file explorer

  • [CTRL]+[<-] ► collapse all folders in project folder

  • [CTRL]+[SHIFT]+[X] ► plugins & extensions

  • [CTRL]+[R] ► open recent project

  • [CTRL]+[P]+[SYMBOLS] ► to fast search file, then [->] to open file without closing file panel

  • [CTRL]+[SHIFT]+[F] ► search in all projects files

  • [CTRL]+[SHIFT]+[.] ► fast class find in mini browser

  • [ALT]+[SHIFT]+[R] ► reveal in windows explorer

  • [CTRL]+[TAB] ► see files open in a current panel

  • [CTRL]+[ENTER] ► open file on a side panel

  • [CTRL]+[0] ► toggle focus between editor and file explorer [custom]

  • [ALT]+[+/-] ► increase/decrease width of active panel [custom]



To execute VS Code from the current directory using command line:

code .

I’m almost sure that you will be interested in [custom keyboard hacks] also!


BONUS PART

FIGMA SHORTCUTS

  • [CTRL]+[CLICK] ► direct object selection
  • [CTRL]+[SHIFT+]+[CLICK] ► select multiple objects
  • [ALT] ► measure distance to other objects
  • [V] ► move tool
  • **[HOLD SPACE] ► positioning tool
  • **[SHIFT]+[0] ► 100% zoom
  • **[SHIFT]+[1] ► Zoom to fit
  • **[SHIFT]+[2] ► Zoom to selection

GITHUB DESKTOP

  • **[CTRL]+[R] ► Pull request

Some top secret keys for Windows 7 window management:

[WIN]+[UP] ► expands current window
[WIN]+[DOWN] ► shrink current window
[WIN]+[LEFT]/[RIGHT] ► immediately move window to left/right side monitor
[WIN]+[SHIFT+][LEFT]/[RIGHT] ► move window to left/right hand side and shrink it so it will occupy 50% of screen width