21
10 simple VS code shortcuts that help me be more productive
In VS Code there exist bunch of keyboard shortcuts, which help programmers not use GUI or mouse, while they are writing code. Probably, its not possible to remember every shortcut. That's why we have keyboard shortcuts sheet, here is a link or open it via VS Code with Ctrl + K Ctrl + R (it's a bonus one). Important thing at beginning is start to use at least some of them.
If you are successful with using it, you should carry on with adding another ones. With everyday using, you will you use it automatically, and your writing will be less interrupted with using mouse or GUI, which makes you more productive.
I choose some useful shortcuts which was really easy to adapt and I use them on daily basis.
Open/Close left sidebar.
Find occurrences of keyword in a current file
Find occurrences of keyword in whole project
Return to previous / following position of cursor.
Search files by name. Hint: Don't have to write whole names just part of them.
Search in command palette
Split screen. Current file is opened in new split window
Copy whole current line up or down
Move line up or down
Comment whole line
If you know any simple helpful shortcut, feel free to comment.
Follow me on Twitter
21