VSCode is one of the most popular editors for web development. When writing code, we often require certain formatting actions, and a lot of them are supported by VSCode itself. Having hands-on keyboard shortcuts can help improve your coding speed by a lot.Default shortcuts are for Mac, while shortcuts for Windows and Linux are mentioned below.
Table of contents
1. CMD + P: Opens the palette to search for a file2. CMD + SHIFT + L: Add cursors to all matching selections3. CMD + D: Add cursor to next matching selection4. CMD + U: Undo last cursor operation5. CMD + L: Select current line.6. CTRL + G: Go to a specific line7. CMD + K + W: Close all open editor tabs9. CMD + OPTION + [ : Fold code block10. OPTION + UP/DOWN : Move line up or down11. CTRL + ` : Open integrated terminal12. CMD + \ : Split editor view13. SHIFT + OPTION + K : Format document14. OPTION + SHIFT + UP / DOWN : Duplicate selection up or down15. CMD + B: Toggle SidebarCherry on the cakeSummary2 Comments
Sort: