========================================================== Visual Studio Code (Windows) keyboard shortcuts (filtered) ========================================================== First published at 12/28/2017 on https://defkey.com/visual-studio-code-windows-shortcuts Visual Studio Code is a source code editor developed by Microsoft for Windows, Linux and macOS. It has features such as debugging, Git control, syntax highlighting, smart code completion, snippets and refactoring. It's free and open-source, however official download is under a proprietary license. General ------- Ctrl + Shift + P then F1 Show Command Palette Ctrl + Shift + N New window/instance Ctrl + K then Ctrl + S Keyboard Shortcuts Basic editing ------------- Ctrl + C Copy line (empty selection) Alt + Up arrow / Down arrow Move line up/down Shift + Alt + Up arrow / Down arrow Copy line up/down Ctrl + Shift + K Delete line Ctrl + Enter Insert line below Ctrl + K then Ctrl + 0 Fold (collapse) all regions Ctrl + K then Ctrl + U Remove line comment Ctrl + / Toggle line comment Shift + Alt + A Toggle block comment Alt + Z Toggle word wrap Search and replace ------------------ Ctrl + H Replace Multi-cursor and selection -------------------------- Shift + Alt + I Insert cursor at end of each line selected Ctrl + Shift + L Select all occurrences of current selection Rich languages editing ---------------------- Shift + Alt + F Format document Editor management ----------------- Ctrl + \ Split editor Display ------- Ctrl + = Zoom in Ctrl + - Zoom out JSON Tools extension -------------------- Note: If this shortcut doesn't work, it may be because the shortcut conflicts with Nvidia GeForce Now or some other program. In this case, you can change Ctrl + Alt + M (Toggle microphone on/off) in Nvidia Now to another shortcut. Last modified on (UTC): Monday, March 8, 2021 Defkey © All rights reserved.