Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Visual Studio Code Keyboard Shortcuts

📅 2016-Aug-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ keyboard shortcut, visual studio code ⬩ 📚 Archive

I am finding Visual Studio Code to be very useful as a light IDE and editor for C++ and Python code on Linux.

Some keyboard shortcuts that I find useful:

Ctrl + B:         Toggle sidebar
Ctrl + P:         Search for file to open
Ctrl + Shift + F: Search for text in files
Ctrl + Shift + P: Editor commands
Ctrl + G:         Jump to line number
Ctrl + Tab:       Switch between open editors
Ctrl + Shift + O: Jump to symbol in current file
Ctrl + T:         Jump to symbol in current workspace
Ctrl + `:         Open terminal
F12:              Go to definition
Ctrl + Alt + -:   Go back
Ctrl + /:         Toggle line comment
Alt  + Shift + 1: Toggle between vertical and horizontal split windows

Some user interface tips: