
Starting with the most helpful shortcut, it opens Command Palette that provides access to all of the functionality of VS Code. I have also mentioned keyboard shortcuts for macOS users. You may explore more of them based on your needs.

These keyboard shortcuts are what I find most useful when working in VS Code. So, let’s get to know how you can code fast by quickly navigating through the code editor using keyboard shortcuts. It will not just help you to get rid of a mouse, but also make you highly productive and efficient.

Unlike the legendary Vim, VS Code doesn’t need you to be a keyboard ninja and has tons of features that developers swear by.īut this doesn’t mean you cannot, or you should not use keyboard shortcuts in Visual Studio Code.ĭo you hate breaking your coding flow and move your hand to a mouse for performing an action like toggling terminal in your Visual Studio Code (VS Code) editor? If yes, then you should immediately get yourself familiar and memorize these useful keyboard shortcuts for VS Code. Happy coding.There is no doubt that Microsoft’s VS Code is one of the best open source code editor out there. We will see Visual Studio shortcuts in upcoming blogs. Visual Studio and VS Code shortcuts may differ slightly. I hope this would help you make your coding easier. (dot) -> Emoji ?Ĭtrl + Shift + E -> To switch between Editor & Side menu foldersĬtrl + Shift + U -> Make the selected text into UPPERCASEĬtrl + U -> Convert selected text to lower case.Ĭtrl + Shift + V -> Clipboard historyĬtrl + TAB -> To switch between tabsĬtrl + K + S -> Save all FilesĬtrl + C (without selecting anything) -> Copies the entire line of code in which the curosr is presentĬtrl + X (without selecting anything) -> Cuts the entire line of code in which the cursor is present Summary Shift + Alt + (down arrow) -> Duplicate line downwardsĪlt + MouseClicks -> Select / Have multiple cursorsĬtrl + G -> Go to line (Enter line number)Ĭtrl + D -> Find / select similar matches of wordsĪlt + (up) or (down) -> To move the line of code up or down Shift + Alt + F -> Code AlignmentĬtrl + P -> Search file (command palette)Ĭtrl + K + W -> Close all the tabs opened. These commands can be related to out-of-the-box features or extension features. VS Code shortcuts for WindowsĬtrl + ` (backtick) -> Open Terminal / Close terminal.Ĭtrl + Shift + ` (backtick) -> Open new TerminalĬtrl + K + C -> Comment selected lines of code. There are lots of commands you can execute in Visual Studio Code.

In this blog we will see some of the useful shortcuts for VS Code which will be helpful for doing your programs faster.
