Hello Sunil
vs-code-shortcuts

🔥🔥 Best VS Code Shortcuts for Faster Programming (GIF Included) – : Windows Edition ⌨️

This works better than scrolling down and visually searching the matching bracket. This also works when you want to jump from the closing bracket to the opening bracket.

VS Code Keyboard shortcut – Ctrl + Shift + \

#12 Reload VS code editor

You can reload your VS code editor without actually closing and re-opening it. Here’s how – Ctrl + R.

If it does not work then via Command Palette (Ctrl + Shift + P) you can achieve it.

🤔Did you know?

Did you know that you can open Chrome DevTools in VS code?

When you select the option Help -> Toggle Developer Tools, the Chrome DevTools window will open.

With this in mind, the developer tools can be especially handy if you are debugging or developing plugins, or IDE specifics for VS code itself.

#13 Open a file in VS Code (search by file name)

Well if you directly want to open a file when you know the file name and your project directory is open in VS code, it’s simple, use the keyboard shortcut – ctrl + P and then start typing your file name.

The previous method is rather common, let’s say you don’t remember the file name, but you do remember some symbol in it, you can even use that to search for that file. For this press ctrl + t and start typing.

#15 Replace the matching occurrence in file

Another simple one, just select the word you want to replace and then press ctrl + h.

#16 Replace the matching occurrence in whole project

Sometime there is a need to change a variable name or a class name in our entire project. You can do it one by one file through ctrl + h shortcut key but in this particular case you should use ctrl + shift + h.

It will help you to replace your matching occurrence in whole project through one shortcut key.

#17 Search in a file/project

We can search in a file by — Ctrl + F
We can search in the whole project by — Ctrl + Shift + F

#18 Open/Close sidebar in VS Code

If you are working on a small screen, you might want some more space to display your code. In such cases, you can hide the side bar by pressing Ctrl + B you can again re-open it by pressing the same ( Ctrl + B ).

#19 Create a new tab group in VS Code

Creating a tab group is troublesome if you do it using mouse. On the contrary, it is very easy if you are using keyboard shortcuts. To create a new tab group, all you need to do is press ctrl + (number of tab groups open) + 1

Sunil Pradhan

Hi there 👋 My name is Sunil and I'm a front-end developer who loves to help others by simplifying web-dev related topics.

Add comment

Stay Updated

Want to be notified when our article is published? Enter your email address below to be the first to know.

Sunil Pradhan

Hi there 👋 My name is Sunil and I'm a front-end developer who loves to help others by simplifying web-dev related topics.