Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What are the benefits of using vscode

Shulou Source: shulou.com Published: 2022-06-02 17:15:55 10月02日 Update

Editor to share with you what are the benefits of using vscode, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

My latest code editor adventure is Visual Studio Code. It brings IDE-style functionality, not only with the simplicity of a classic lightweight code editor, but also with features that I want but that Atom may never provide.

It is cross-platform, free and open source, and can be downloaded here:

Https://code.visualstudio.com/

Well-designed GUI

VSCode's GUI design is completely different from Atom or Sublime, starting with a prominent sidebar:

The sidebar contains the following items:

Resource Manager (File Tree)

Search

Git

Debug

Expansion

You can search through this menu and find extensions that meet your needs. I never use extension search in Atom, but because VSCode's extensions are so prominent, I still install some extensions through the menu.

You always seem to see the features you need to use, and you don't need to know all the keyboard shortcuts to become an advanced user.

Powerful default settin

VSCode provides out-of-the-box "Java, Type, JSON, HTML, CSS, Less, and Sass" IntelliSense, which is good. In Atom, I don't use code hints plug-ins, so VSCode's IntelliSense is a bit verbose, but that's what I missed before. It will tell you which parts of the code are invalid according to the extension you installed. For example, when every const in your code is marked as an error, you should know that it does not support ES6.

Highly discoverable extender

When you realize that you need to install the ES6 plug-in, it will recommend the extension to you based on the current workspace. For example, for ES5/ES6, it will recommend the installation of the "Babel ES6/ES7" extension. This is much better than finding out which plug-in to install online.

VSCode's ecosystem is not so fragmented, perhaps because it is relatively new. For a task, there is usually only one package available (such as a package for ES6 highlighting and prompting).

Easily split the screen

I can't always remember the shortcut keys to split the screen. VSCode provides an icon in the upper-right corner of the open document tab that you can use to switch screen modes. I use it when writing test code, that is, I can open both application code and test code at the same time. This feature is also useful when porting code from one framework (or language) to another.

These are all the contents of this article entitled "what are the benefits of using vscode?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Code programs features plug-ins articles search benefits sides content shortcuts smart frames editors menus languages tips tests designs different powerful Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Tech Info vpn NVidia Redmi