
Starting with the most helpful shortcut, it opens Command Palette that provides access to all of the functionality of VS Code. Many extensions come with views that are hidden by default. Build cross-platform desktop apps with JavaScript, HTML, and CSS. First, the Activity Bar on the left-hand side of VS Code is the main navigation tool to switch between the Explorer view used to see your files, the Source Control view, the Search view, the Run and Debug view, and the Extensions view. I have also mentioned keyboard shortcuts for macOS users. Support the Equal Justice Initiative and read our statement here. Set the mod1 attribute to Control, Alt, or Shift. You may explore more of them based on your needs. Set the guid and id attributes to those of the command you want to invoke. 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. There is no doubt that Microsoft’s VS Code is one of the best open source code editor out there.
