Beginner Essentials - II : Important VSCode Shortcuts

Beginner Essentials - II : Important VSCode Shortcuts

linkinsunil.hashnode.dev

Hi! I am Sunil! I am a front-end developer and this is the second part of 'Beginner Essentials' series. You can find the first part covering important Git commands here.

If as a developer, tons of video information and web articles have trapped you in a tutorial hell stopping you from finding out which Visual Studio Code shortcuts should you know and which one you should let go then don't worry, I got you!

Note that this article is a collection of shortcuts which are part of my own development journey as well as some other sortcuts which I find useful and currently getting into practice so without further ado lets get started.

Editing

  1. ctrl + shift + k - delete (does'nt changes clipboard)
  2. shift + del - cut (changes clipboard)
  3. ctrl + l - selects a line
  4. ctrl + up/down - move current line up / down
  5. shift + ctrl + up/down - copy current line up / down
  6. ctrl + shift + enter - insert line above
  7. ctrl + up/down - scroll up / down with your cursor fixed
  8. shift + alt + a - toggle block of comment
  9. alt + z - toggle word wrap
  10. ctrl + / - toggle line comment
  11. shift + alt + a - toggle block comment

Editor

  1. ctrl + ` - open terminal
  2. ctrl + b - open sidebar
  3. ctrl + = / - - zoom in / zoom out
  4. shift + alt + f - format document
  5. ctrl + k ctrl + f - format selection

Bonus - Browser Shortcut

  1. ctrl + shift + i - used in browser, opens inspect element

Other - Optional Shortcuts

  1. ctrl + g - goto line
  2. ctrl + p - goto file
  3. ctrl + t - show all symbols used in file
  4. F8 - goto next error
  5. shift + alt + -> - expand selection from cursor point

This is it. You're good to go and increase your productivity at work you ever wanted. If you find this piece of article useful, I'd definitely love to see you at my Linkedin and GitHub.