Visual Studio Code or Atom? Which Code Editor Should You Use?

If you cannot make up your mind and want to compare and choose between one VS Code and Atom, this article should help you decide for yourself.
Warp Terminal
🚧
The development for Atom has been discontinued. It is no longer a viable option and should not be used. There is no point in this comparison because if you have to choose between the two, VS Code is the obvious answer.

Finding a good open source code editor is not hard these days, choosing one can be.

Microsoft’s Visual Studio Code and GitHub’s Atom are two of the most popular, feature-rich, IDE-like code editors that have a huge user base and fan following.

Both VS Code and Atom belong to Microsoft now because Atom’s original developer GitHub is now owned by Microsoft. They have an interesting, modern UI with a pretty looking native dark theme. Both editors use Electron for the user interface.

The similarities are plenty and this is why it is easy to get confused between choosing one of them for your coding set up.

If you cannot make up your mind and want to compare and choose between one VS Code and Atom, this article should help you decide for yourself.

Visual Studio Code

04 visual studio code

Visual Studio Code’s User Interface with a busy project interface

Visual Studio Code (A.K.A. VS Code) is one of the modern open source code editors. Its user-base explode because of its IDE-like features but still remaining relatively light on resources.

Visual Studio Code was made by Microsoft and is available on Linux, macOS and Windows. Microsoft released most of the source code of Visual Studio Code on GitHub under the MIT License on 18th November 2015.

VS Code developers have done some fantastic optimizations with Electron to make it as lightweight and efficient as possible. And since Electron apps work on a majority of operating systems, users of Linux, macOS and Windows can all benefit from these optimizations.

Installing VS Code on Linux is pretty simple too. It is in fact available in the software center of many distributions.

Why you should opt for Visual Studio Code

  • Visual Studio Code is [generally] chosen by folks who want a near-IDE functionality from the start and do not want to fiddle with their code editor.
  • Visual Studio Code, even though based on Electron, has very little overhead compared to other Electron apps (GitHub’s Atom).
  • More out-of-the-box functionality like Microsoft’s IntelliSense auto-complete, Git integration, Markdown support.
  • Plug-ins can only add features, themes and add support for new languages; and this plug-in constraint ensures the editor’s core stays familiar even after adding new plug-ins.

The binary releases distributed by Microsoft are still proprietary freeware. VSCodium builds upon the publicly open source code of Visual Studio Code. However, the discussion on VSCodium is beyond the scope of this article, except for considering it as a viable alternative to Visual Studio Code if you want the functionality Visual Studio Code offers, but without any proprietary elements to it.

Atom

05 atom

User Interface of the Atom editor

GitHub’s Atom is another free and open source code editor available for Linux, macOS and Windows. Atom is a desktop application made with Electron for easy package development using JavaScript.

Atom’s source code was released under the MIT License on GitHub. Since Atom is a GitHub product, it has Git Control embedded in it.

Atom is dubbed as the “hackable text editor for the 21st Century” because of it complete customizability using HTML, CSS and JS.

Like VS Code, you can easily install Atom on Linux and other platforms.

Reasons to choose Atom

  • Atom is preferred by people who want a bare-bones editor and want to build upon it because of Atom’s hackable nature.
  • In-built Git and complete GitHub integration; not surprising considering it is developed by GitHub
  • Atom’s plug-ins are very easy to search, install and upgrade, from the app itself.
  • Plug-ins available for Atom are very extensible, and can end up completely changing the editor’s functionality and end up creating almost a new editor; It truly is “hackable”.
  • Atom’s binary releases and its source code are fully open source (unlike Visual Studio Code’s binary releases containing proprietary parts + telemetry).
  • You can turn Atom from a code editor to IDE with smarter context-aware auto-completion, code navigation features, document formatting and more.

Conclusion

Both Atom and VS Code are built on Electron. But Microsoft has done more optimization on VS Code to make it as lightweight as possible.

At this point, VS Code is like Ubuntu, ships with almost everything out of the box. While Atom is like Arch, minimal and extremely hackable (extendable).

Both, Atom and VS Code technically are under Microsoft and eventually will reach feature parity. Hence, it is best to go with the editor your community (Web dev/Soft dev) leans towards and pave the path ahead. Maybe you end up with Vim!

About the author
Pratham Patel

Pratham Patel

You will find me tinkering with software until my system crashes. And then I keep on writing about my findings.

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.