5 reasons to use the Atom text editor

SHYAM PRASATH S
4 min readApr 17, 2021

--

Atom editor

Beautiful open source text editors are pretty common these days, between Adobe’s Brackets, Microsoft’s VSCode, and GitHub’s Atom. Each of these seem to offer similar experiences: a modern interface, easily installable plugins, and a big brand-name sponsor. And they’re all actually really good. So what sets Atom apart from any other hyper-modern text editor? Or from a classic old editor like Vim or Emacs?

I’ve used lots of text editors, and upon reflection, I have to admit that once you’ve seen one text editor, you’ve basically seen them all. When judging an editor’s efficacy, 80% of the requirements are satisfied as long as it does one thing: edit text. The other 20% are bonus conveniences, extra gimps, and fanciful features.

I often come back to Atom, though, because, as a user of open source, I have the luxury of using an application just because I can. Here’s what I like about Atom.

Beginner-friendly

One of my favorite things about Atom is that it feels pretty “normal.” I can install Atom on anyone’s computer and they’re off and typing in no time. No new keyboard shortcuts to learn, no serious deviations from user interface . If I take a few minutes to show them a few power features of the application, then they’re quickly empowered to install new plugins and discover useful features they enjoy.

Great extensions

When most requirements have been filled as soon as you launch the application, a major factor in “selling” an open source text editor is its extensions. My habitual editor is GNU Emacs, which has a mind-boggling array of extensions so versatile that they can provide everything from an email client to a video game. That’s a hard act to top, and to be honest, I’ve yet to see the editor that can. It shows how important extensions can be, though, and Atom has a nice set of plugins.

There are extensions to add syntax highlighting for languages and formats, to add dynamic linting, and to integrate debuggers, runtime environments, video and music player controls, and much more.

Language and syntax support

Of course, I’ve already mentioned that Atom has great extensions in general, but syntax highlighting is an important feature regardless of what language you’re typing. Once again, thanks to a vibrant community, the variety of syntax highlighter options in Atom’s package repository is one of the best.

Easy theming

Atom makes generating your own style as easy as styling a website, so if you’re competent with CSS, you can make your own Atom theme. To create your own theme, navigate to the Package menu. If you don’t see a Package menu, press the Alt key first to reveal the top menu bar. In the Package menu, hover over Package Generator and then select Generate Atom Syntax Theme. This opens a new project called my-theme-syntax by default. You can name it whatever you want, but it should end in -syntax according to Atom convention.

In your new theme project, locate these files: base.less, colors.less, and syntax-variables.less. These define how special keywords, and even background and foreground colors, are themed when your syntax is active. Because they all inherit values from a common template, it's pretty easy to hack on. For example:

The values ending with two dashes, such as .syntax--keyword, are objects recognized by a syntax highlighting engine. If you want to develop your customizations further, of course, you can even create your own syntax definitions (although that's more work than CSS theming). Read all about the ways to hack Atom at flight-manual.atom.io.

Flexible workflow

Atom has lots of features, and only a subset of them are activated by default. This means you get to decide how you prefer to work, whether you activate new extensions and use them to change Atom on a fundamental level, or you just open up Atom’s preferences and make small adjustments. You can use Atom for writing a fiction book or for writing Python code or technical documentation or anything else.

Even its Git integration doesn’t insist on what you might imagine would be the obvious repository (Github sponsors Atom). It doesn’t have an agenda, and it’s equally useful to everyone, regardless of audience.

Installing

On Linux, Windows, and macOS, you can install Atom from its website.

Alternately, on Linux, you can install Atom as a Flatpak from Flathub.

If you want to build Atom yourself, you can also compile it from its source code on Github.

Try Atom

Atom could be your next text editor, notepad, and IDE. It’s easy to use, easy to configure, easy to extend, and it offers a great user experience. Download Atom today, and give it a try.

Originally published at https://opensource.com.

--

--

SHYAM PRASATH S

passion on learning new things and tech, ethical hacking ,interest on ancient history.