Double your coding speed
Your problem solving skill is good but still your coding speed is slow. Do you know why? I’ll tell you why… cause you have never focused on learning shortcuts. But trust me, shortcuts are the best thing in software development. Once you learn a couple of shortcuts, you will literally enjoy your coding. In this article I’m going to give you 10 beautiful VS Code shorts.

- Quickly delete a word instead of deleting char by char
Windows: Ctrl+Backspcae
Mac: Alt+Delete
2. Quickly move to the Git control bar
Windows: Shift+Ctrl+G
Mac: Shift+Ctrl+G
3. Easily move a line up or down
Windows: Alt+Up (to move up) and Alt+Down (to move down)
Mac: Opt+Up (to move up) and Option+Down (to move down)
4. Quickly comment a line or a section of code
Windows: Ctrl+/
Mac: Cmd+/
tips: You can use the same command to uncomment the same line
5. Quickly open the terminal
Windows: Ctrl+J
Mac: Cmd+J
tips: You can use the same command to close the terminal
6. Quickly split an editor
Windows: Ctrl+\
Mac: Cmd+\
7. Quickly go to function definition
Windows: F12
Mac: F12
tips: If you are debugging your code and you want to quickly go to a function definition from the a parent function, you can follow the following steps:
i. Place your cursor in the child function
ii. Do Ctrl+\ or Cmd+\ to split window
iii. In the newly created window hit F12
8. Quickly toggle between any split editor
Windows: Ctrl+[1-9]
Mac: Cmd+[1-9]
For example: Ctrl+2 moves to the 2nd window and if there is no 2nd window, it will create one.
9. Quickly toggle the side bar
Windows: Ctrl+B
Mac: Cmd+B
10. Quickly search for a file in the same workspace
Windows: Ctrl+P
Mac: Cmd+P
Thank you for investing your time.