Visual Studio Code or VSC for short is one of the most popular source code editor used by the programmers. It’s fast, it’s lightweight and it’s powerful too! Microsoft designed VSC as a cross-platform code editor for writing web and cloud applications. For the first time, it was announced on 29th April 2015 by the Microsoft at the 2015 Build Conference which took place in San Francisco. A few months later on Nov 18, 2015, VSC was released under the MIT license and the source code was made available on GitHub. In 14th April 2016, VSC was released on the web.
According to me, the main reason why VSC become so popular is that it has everything which any programmer expects from any code editor with some additional and useful features. It’s lightweight, fast, open source and cross-platform nature along with other cool features gives it an extra edge over any other editor. So here are my 10 reasons why it has gained such popularity among the developer’s community.
Cross-platform : It is free, open source and cross-platform editor which works on Windows, Linux and macOS so that you can work regardless of the platform your device is based on.
You can change the language for the selected file : It supports default language which will be according to your file but you can also change the language mode. To do this, click on the language indicator located on the right side of the status bar which will open ‘select language mode drop-down’. Here you can select different languages for your current file.
Provides language-specific documentation : Its website comprises documents specific to the common languages which Visual Studio Code supports. Some of which are C++, C#, CSS, Go, Python, PHP, Java and much more.
Built-in Git integration : Visual Studio Code goes one step further by providing a complete Git integration making programmers to see changes instantly without leaving the editor. You can find the Git icon on the left of the sidebar where you can initialize it and can perform several Git commands like pull, push, publish and others. Additionally, VSC also works with several Git repository whether be it local or remote.
Command palette : Hitting Ctrl/Command+Shipt+P brings the command palette which makes the VS Code accessible from the keyboard. It allows you to access all the functionality of VS Code including all the keyword shortcuts. Moreover, this palette allows access to many commands too.
Code management features: Visual Studio Code also provides features for code management like Go to Definition, Peek definition, Find all references and rename Symbol. By right-clicking in the code file, you can find these features easily in VSC.
Customization : Just like any other popular editor, Visual Studio Code also provides customization. Actually, it provides extreme customization thanks to its flexible preference setting and a multitude of extensions. VSC gives you the options to change your theme, change your keyboard shortcuts, tune your settings, creating snippets and much more.