Not to be confused with the Microsoft Visual Studio IDE, which is used for making Windows-based apps, Visual Studio Code (VS Code) s a lightweight editor similar to Atom or Sublime Text and its usage has experienced a rapid rise!
The first version came out in April 2015, but in a Stack Overflow survey of development environments carried out the following year, it was ranked 13th, having achieved only 7.2% of the market share and trailing a long way behind Notepad++ and Visual Studio (both 35.6%), as well as Sublime Text (31.0%). However, a year later, it had climbed up to 5th place (24%) and, in 2018, became the most-used editor (34.9%). The results published in 2019 proved this wasn’t just a passing trend, with VS Code’s market share having increased to 50.7%.
1. It’s open source and has community support
Unlike Sublime Text and WebStorm, VS Code is completely free and open source, just like Atom, GitHub’s editor. The key difference between it and Atom, though, is that Microsoft is really making the most out of being an open-source development. To give you some idea, it is the top open-source project on GitHub, having received 19,000 contributions in 2018. Such support is unsurprising really, as the internal development team work actively with the community, including working in Agile with a DevOps culture, meaning they can release faster, learn faster and, ultimately, improve their product faster. Additionally, to make sure they deliver what the users need, they gather telemetry on the product usage and take note of the input posted by users on GitHub and UserVoice.
Of course, it also helps that Microsoft is great at marketing and selling software, and has greater capacity to promote VS Code than any other editor creator does! Check out the public roadmap to get a preview of what’s to come.
2. It offers cross-platform possibilities
These days, cross-platform development has become very important. According to Stack Overflow’s 2019 developer survey, 45.3% of professional developers are working on Windows, 29.2% on macOS, and 25.3% on a Linux-based OS. Thanks to VS Code being based on Electron, a cross-platform framework, Microsoft has been able to distribute it on these 3 OS with virtually no effort.
It provides intelligent code completion, parameter information, reference search, and many other advanced language features. You can also find plugins that provide excellent IntelliSense in most languages.
Also, when working on the client side of an application you can use an extension available for Chrome, Firefox, and Edge that allows you to access the browser debug console information directly from VS Code’s debug console.
4. …And has several other handy features
If you’ve ever worked with Node.js, you’re likely to have had to keep a terminal window open for development at some point. This means that, unless you have two screens, you’ve probably become frustrated by having to switch between your editor and the terminal and ended up reducing the width of your editor so that both the code and terminal are visible.
The fact that there is an integrated terminal with VS Code definitely makes life easier. You can even have multiple terminals for different locations open and easily navigate between them. The terminal space can also be split so that two terminals can be visible at the same time, as shown in the below graphic.
Real-time code collaboration that works
Available as an extension, Live Share allows you to participate in collaborative real-time coding, just like when you work in Google Docs, as the below graphic shows. It only involves a one-click installation, integrates audio and text chat—and it’s free.
To start a session, just share a link with team members that permits access to your workspace. Every participant can use the debugging features independently and share terminal instances.
If you’re curious to find out more, check out the other features outlined on vscodecandothat.com.
5. Its performance makes life easier
With VS Code, you have access to IDE-like features but with the straightforwardness of a classic lightweight code editor. Even with all these native features and plugins, it’s fast, unlike IDEs such as NetBeans, Eclipse, and Visual Studio, or even Android Studio, which can all quickly get bloated and sometimes consume all your RAM.
However, it’s important to highlight that, even if VS Code is considered stable and responsive, it’s not the fastest. When dealing with large files or searching across a large codebase, it is outperformed by native editors such as Vim and Sublime Text. But we think that’s an acceptable compromise for high performance, cross-platform possibilities, and access to a lot of interesting features.
However, there are some limiting factors to consider. As usual, one size doesn’t fit all. For those who think it’s too feature-rich, Atom is a great alternative. The latter is very simple to start with and users can benefit from a great plugin collection when they want to add more functionality to it. In addition, as already mentioned, when you need a really fast editor or are having to work with large files, VS Code can’t compete with Vim and Sublime Text.
Nevertheless, there is little doubt that thanks to its great community and Microsoft’s investment in open source, VS Code’s popularity is likely to continue to increase in the years to come. Watch this space…
This article is part of Behind the Code, the media for developers, by developers. Discover more articles and videos by visiting Behind the Code!
Want to contribute? Get published!
Follow us on Twitter to stay tuned!
Illustration by Victoria Roussel
Más inspiración: Coder stories
We can learn a lot by listening to the tales of those that have already paved a path and by meeting people who are willing to share their thoughts and knowledge about programming and technologies.
Keeping up with Swift's latest evolutions
Daniel Steinberg was our guest for an Ask Me Anything session (AMA) dedicated to the evolutions of the Swift language since Swift 5 was released.
10 may 2021
"We like to think of Opstrace as open-source distribution for observability"
Discover the main insights gained from an AMA session with Sébastien Pahl about Opstrace, an open-source distribution for observability.
16 abr 2021
The One Who Co-created Siri
Co-creator of the voice assistant Siri, Luc Julia discusses how the back end for Siri was built at Apple, and shares his vision of the future of AI.
07 dic 2020
The Breaking Up of the Global Internet
Only 50 years since its birth, the Internet is undergoing some radical changes.
26 nov 2020
On the Importance of Understanding Memory Handling
One concept that can leave developers really scratching their heads is memory, and how programming languages interact with it.
27 oct 2020
¿Estás buscando tu próxima oportunidad laboral?
Más de 200.000 candidatos han encontrado trabajo en Welcome to the JungleExplorar ofertas