

Shortcuts are some fast codes that help the front-end developers to the program easy as well as quickly done.īoth Mac and Windows users can take advantage of Visual Studio Code’s (VScode) shortcuts to improve their editing experience. To use the shortcuts you have to install some plugins and VScode extensions to accelerate your program flow and have a great experience. Most developers that use Visual Studio Codeswear by its keyboard shortcuts, as they make navigating and editing code much faster and easier. Shortcuts are like playing with your keyboard. Shortcuts in the programming are important because it makes everything easy and quick for the developers. This shortcut is like the global find feature for symbols.In this article, you Find Some Useful Shortcuts of VScode which help you to build or frame your programs.


To open a Reference view with all your code’s symbols, i.e., classes, functions, files, etc., use the “CTRL + T” To move lines of code around your program use the “SHIFT + ALT + UP” Shortcut, and for a single-line use “CTRL + K + C.” To comment out a block of code, use the “SHIFT + ALT + A” Comment Code BlockĬommenting blocks is another essential part of coding therefore, one of the most common actions performed. All instances of the selected tag will be found and highlighted then the active cursor will be displayed, awaiting further action. Using Linux, select the tag you wish to change, then use the “CTRL + D” If you need to replace all your tags from one type to another, you can use the multi-select feature to change all instances at once. Keyboard shortcut to switch between the full-width view or hide the editor. You can toggle the sidebar using the “CTRL + B” You’ll just need to enter a keyword related to the command you want. Once opened, you can access the file commands relevant to your current coding context. To launch the Command Palette, use the “CTRL + SHIFT + P” For a multi-line comment use “SHIFT + ALT + A”. Comment Code BlockĬommenting blocks of code is a necessity and one of the most common actions performed when coding. VS finds all instances of the selected tag and then displays the active cursor for further action. On Windows, select one of the tags you want to change, then enter “CTRL + D.” If, for example, you need to change all your tags from H2 to H3, you can use the multi-select feature to change all instances at once. Switch between the full width or hide the editor view by toggling the sidebar. Once the Command Palette is opened, you just need to type in the keyword related to the command you’re looking for, saving you time looking through menus. The Command Palette is a convenient way to access the file commands relevant to the current context.
