Open In App

General Keyboard Shortcuts For Visual Studio Code

Last Updated : 14 Feb, 2023
Like Article

Visual Studio Code in a free open-source Integrated Development Environment managed by Microsoft. This is IDE is available for Windows, Mac, and Linux. These days are the most popular IDE used by software developers all across the world. As we all know the keyboard is the weapon of choice for a good developer. Keyboard-shortcuts provide a much faster and smoother development experience. And to master, all the tips and tricks weapon takes a lot of effort and time. In software like Visual Studio Code, there are hundreds or maybe even more than a thousand shortcuts. To have a look at these shortcuts you can click on the setting icon in the lower-left hand region and select keyboard shortcuts. Or being a developer you should simply use this shortcut CTRL+S CTRL+K and a list of all shortcuts will appear. Vs-code also gives us the option to customize the pre-existing shortcuts or to add one. We can also download specific extensions to have custom shortcuts.

So, here are the top six most important keyboard shortcuts for faster development in vs-code.

1. Ctrl+Shift+P, F1 ⮕ Show Command Palette 

This shortcut opens the command palette in the vs-code, where we can search for the other commands. For example, if someone is working on HTML and wants to format the lines of code, but he/she doesn’t know the command then the command palette comes in handy to search commands.

2. Cltr+P ⮕ Quick open, Go to file 

This shortcut opens a quick access window where we can search for and specific file from the project we are working on and open it. It comes very handy especially when the project size is big.

3. Cltr+Shift+N ⮕ New window/instance 

This shortcut opens a completely new window or instance of VS Code where we can open another workspace to work on a different project.

4. Cltr+Shift+W ⮕ Close window/instance 

This shortcut opens closes the instance or the window of vs-code in which work is being done currently.

5. Cltr+, ⮕ User Setting 

This shortcut opens the settings window. Here we can take a look at the present settings or change it if required.

6. Cltr+K Cltr+S ⮕ Keyboard Shortcuts 

This shortcut opens a new tab containing the list of all present shortcuts in vs-code.

Note: Some shortcuts are keyboard dependent they might fine on one machine, but we may need to press the function key on another for it to work.

Similar Reads

Debug Keyboard Shortcuts For Visual Studio Code
Visual Studio Code is by far the most used IDE currently, therefore knowing its functionalities to the best improves the productivity of a software developer. Debugging code is a big part of a developer's job and being effective and efficient at it sets apart a good software developer and a normal guy. Knowing the shortcuts involved in debugging co
2 min read
How to setup Competitive Programming in Visual Studio Code for C++
GCC compiler installation We need to install GCC compilers for Windows. Linux has already GCC installed. Steps for installation1.Download and Install the MinGW for GCC compiler using this link. 2.Open Control Panel in your system and then select: System (Control Panel) 3.Click on the Advanced system settings 4.Click on Environment Variables. In the
6 min read
Custom C++ User Snippet in Visual Studio Code
Snippets are the small portion of re-usable code wrapped in some prefix word, It allows programmers to bind a particular block of code in a single prefix keyword. Visual Studio Code is a Lightweight and powerful source code editor available in Windows, Linux, and macOS, It comes with many built-in snippets for the loops, control statements, and som
3 min read
Dart - Installation and Setup in Visual Studio Code
Dart is a client-optimized programming language that supports various areas like multi-platform application development, formatting, analyzing, and testing code. It is a programming language that forms the basic foundation of Flutter. Flutter is an open-source UI – Software development kit that helps develop applications for Android, iOS, Linux, Ma
6 min read
Best Visual Studio Code Extensions for Productive Flutter Development
As a developer, we want productive tools and extensions to improve productivity and efficiency in the workspace. Here is a list of Visual Studio Code extensions that will help flutter developers to increase their productivity and bring more fun to development. It doesn't matter whether you are new to development or work as professional these extens
5 min read
How to Install and Setup Live Server Extensions on Visual Studio code?
Visual Studio Code is one of the most sought-after IDE (Integrated Development Interface) of the current time. It helps the developers to efficiently write, build and test software over a single platform by combining and providing a multilateral set of functions. Visual Studio Code supports various programming languages like C, C++, C#, Java, Pytho
3 min read
Most Used Eclipse Keyboard Shortcuts That Every Java Developer Should Know
Java is a popular programming language, created in 1995 by James Gosling. It is owned by Oracle, and more than 3 billion devices run Java. it is one of the most preferred languages used for development in industries. To develop such applications, IDEs come into the picture. Eclipse is the most used Java development IDE, and knowing Eclipse shortcut
3 min read
Keyboard Shortcuts that Works on Both Windows 11 & Windows 10
Windows 11 may be the latest and greatest operating system from Microsoft, but that doesn't mean Windows 10 users have to miss out on all the fun. In fact, many of the keyboard shortcuts that work on Windows 11 also work on Windows 10, making it easy to switch between the two operating systems without missing a beat. The article discusses some of t
2 min read
10 Mac OS Keyboard Shortcuts That You Should Know
Sometimes a small shortcut can be a life savior. Shortcuts improve efficiency and speed. There are multiple mac keyboard shortcuts which are effective and unique. Also, mac devices have very different builds and settings than Windows OS. Thus a new mac user can find it difficult to adapt to those changes. Here are the 10 mac keyboard shortcuts ever
3 min read
How to Create Keyboard Shortcuts in Windows 10?
When it comes to working on Windows 10, there are many inbuilt services on your PC that will make you do anything faster. In the case of opening an app, you can either go for the long way or the short way. The long way is to find and click on an application. The short way is by entering a keyboard shortcut. In this article, we'll go through the ste
3 min read
Article Tags :