====================================================== Visual Studio Code (Mac) keyboard shortcuts (filtered) ====================================================== First published at 12/30/2017 on https://defkey.com/visual-studio-code-mac-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 ------- Shift + Cmd + P then F1 Show Command Palette Cmd + P Quick Open, Go to File Cmd + W Close window/instance Cmd + K then Cmd + S Keyboard Shortcuts Basic editing ------------- Cmd + X Cut line (empty selection) Shift + Option + Up arrow / Down arrow Copy line up / down Cmd + ] Indent/outdent line Option + Cmd + [ Fold (collapse) region Cmd + K then Cmd + C Add line comment Cmd + K then Cmd + U Remove line comment Option + Z Toggle word wrap Navigation ---------- Shift + Cmd + M Show Problems panel Search and replace ------------------ Option + Cmd + F Replace Multi-cursor and selection -------------------------- Ctrl + Shift + Cmd + Left arrow Shrink selection Rich languages editing ---------------------- Ctrl + Space Trigger suggestion Shift + Option + F Format document Cmd + K then Cmd + F Format selection Display ------- Cmd + = Zoom in Shift + Cmd + - Zoom out Debug ----- F5 Start/Continue Last modified on (UTC): Saturday, January 16, 2021 Defkey © All rights reserved.