DEV Community

Cover image for 10 Best Tips for Visual Studio Code
MindTech Consultancy
MindTech Consultancy

Posted on

10 Best Tips for Visual Studio Code

There is no second thought that Visual Studio Code is the best Programming editor. Its strong editing, code intelligence, source code control features, and keyboard shortcuts are some of the best features of Visual Studio Code that can help you in boosting your productivity.

10 Best Tips for Visual Studio Code

In this article, we will walk you through 10 best tips for Visual Studio Code, which can help you and any developers in improving your efficiency.

1) Install a new theme in Visual Code

Press CTRL + Shift +X Keyboard shortcut to access the extension panel.

2) Edit multiple lines at once

In case you want to add or delete multiple instances of text in a document, you would need to create multiple cursors. But in the VS code, you can do this action by merely pressing down “Alt” and clicking anywhere in between the text.

3) Visual Studio Code CLI Tool

VS Code comes with CLI tool out in the box, which is also known as Command Line Interface. It helps you in managing the launch of the editor. On Windows, this terminal appears as Command Prompt while On Mac and Linux, it crops up as a Bash prompt. You can easily open files, change the language of display; install extensions CLI Option (Switches)

4) Live Share

VS Code Live Share is a new feature that let you share your workspace in real-time and allow you to share your visual code instance. Currently, it is published as a plug-in and available in Developer Preview.

5) Use Convenience Commands

You can also choose a command to quickly expand or contract a selection of text by selecting
Edit > Advanced > Expand Selection or Edit > Advanced > Contract Selection,
or Press Shift+Alt+= or Shift+Alt+-.

6) GIT Integration

7) Debugging

8) Snippets

9) For Searching Files quickly

10) Make effective use of Command Pallet

Read More and Source: 10 Best Tips for Visual Studio Code

Top comments (0)