Top 10 Best Code Editors for Linux

Ranking based on my experiences, but worth knowing.


Code editors (or text editors) are the most widely used programs in the world for n tasks, mainly by developers to write computer code for development. In this article we separated the top 10 in our opinion from the thousands that exist. Come on the list then!


1. Vim Vim

Vim

Vim is an enhanced version of its predecessor Vi editor and works via terminal, so its acronym stands for VI IMproved. It is the most widely used code editor in the world by developers. Its power of customization is the biggest factor of this great adoption, among thousands of other utilities. That’s what editor I use most for countless things.

In addition it has graphic version: Gvim or Vim-gtk

Official Website: http://www.vim.org/

To install it use the package manager of your distribution, examples:

sudo emerge -a vim gvim # Gentoo, Funtoo, ..
sudo apt install vim vim-gtk # Debian, Ubuntu, Mint, ...
sudo pacman -S vim # Arch, Manjaro,...

2. Emacs Emacs

Emacs

Emacs is the second most used code editor in the world by programmers. It is the editor that has the most functionalities in the world, hence the reason that many call it the operating system, almost anything is possible with the same.

It is also highly customizable, however, the learning curve is a bit more difficult than Vim, but once you get used to it, there are features you’ll find to add, enable, configure,… I’ve used it a few times mostly for filtering data via Regular Expressions, as it has several really cool tools.

Its major version is graphical, however, if you run it on the terminal with the -nw or --no-window-system parameter, it will work via terminal.

Official Website: https://www.gnu.org/software/emacs/

To install it use the package manager of your distribution, examples:

sudo emerge -a emacs # Gentoo, Funtoo, ..
sudo apt install emacs # Debian, Ubuntu, Mint, ...
sudo pacman -S emacs # Arch, Manjaro,...

3. Atom Atom

Atom

Atom created by GitHub with the framework they also developed: ElectronJS, is a very cool editor, I like the interface colors and also some commands that were also inherited from Vim. I use it to write HTML and CSS code is pretty cool.

Official Website: https://atom.io/

You can also customize it, but in a more limited way compared to Vim and Emacs.

To install it use the package manager of your distribution, examples:

sudo emerge -a app-editors/atom # Gentoo, Funtoo, ..
sudo apt install atom # Debian, Ubuntu, Mint, ...
sudo pacman -S atom # Arch, Manjaro,...

In Gentoo it’s more interesting to install a binary package via Layman:

You need to have the layman installed and properly configured, for this see this article: https://en.terminalroot.com.br/how-to-install-programs-via-layman-in-gentoo/

sudo layman -a dev1990-overlay
sudo layman -S
sudo emerge -a app-editors/atom-bin


4. Anjuta Anjuta

Anjuta

Anjuta is a more robust editor, but it is very restricted to specific languages, more suitable for C, C++, Java, Python, Vala and Javascript development. I use it a lot for C++ development.

Official Website: http://anjuta.org/

To install it use the package manager of your distribution, examples:

sudo emerge -a anjuta # Gentoo, Funtoo, ..
sudo apt install anjuta # Debian, Ubuntu, Mint, ...
sudo pacman -S anjuta # Arch, Manjaro,...

5. Code::Blocks Code::Blocks

Code::Blocks

Code::Blocks is a specific editor for the C and C++ languages. Like Anjuta, use for C++ development it is also complex and robust, yet easier to use than Anjuta.

Official Website: http://www.codeblocks.org/

To install it use the package manager of your distribution, examples:

sudo emerge -a codeblocks # Gentoo, Funtoo, ..
sudo apt install codeblocks # Debian, Ubuntu, Mint, ...
sudo pacman -S codeblocks # Arch, Manjaro,...

6. VS Code VS Code

VS Code

This is the code editor of Microsoft, since released has gained many supporters in the world. I particularly like it too, although I use very little. Actually the version I have installed is VS Codium which is a third party version.

Official Website: https://code.visualstudio.com/

To install it you can download .deb, .rpm, tar.gz or even the snap itself.

In Gentoo you can also use an overlay, for example:

sudo layman -a dotnet
sudo layman -S
sudo emerge -a visual-studio-code

7. NeoVim Neovim

NeoVim

Neovim is an improved Vim fork, especially in the organization of plugins. In our Vim course there is also a lot of Neovim content.

Official Website: https://neovim.io/

To install it use the package manager of your distribution, examples:

sudo emerge -a neovim # Gentoo, Funtoo, ..
sudo apt install neovim # Debian, Ubuntu, Mint, ...
sudo pacman -S neovim # Arch, Manjaro,...


8. Gedit Gedit

Gedit

Gedit is the GNOME editor most distributions that come with GNOME preinstalled already have Gedit, but if you don’t have it just install it with your distro’s package manager. I really like Gedit, because it was one of the first editors I used in my life and I have some nice plugins, besides being possible to customize them: themes, snippets,…

Official Website: https://wiki.gnome.org/Apps/Gedit


9. Spacemacs Spacemacs

Spacemacs

Spacemacs is an Emacs customization that has commands and features parallel to Vim, meaning it mixes the two best editors into one. It has a very beautiful and attractive interface.

Official Website: https://www.spacemacs.org/


10. Veonim Veonim

Veonim

Veonim is a Vim and Neovim based editor and just like Atom was developed with ElectronJS, there is a very cool article about it here on the blog that can be found at the link: Meet and Install Veonim - A Vim and NeoVim based editor

Conclusion

Well, alternatives are not lacking, but as Linux distribution, system, graphical interface, window manager, … code editor is a very personal thing. The interesting thing is to choose the one you feel comfortable with and help you write your code, that is, that brings you that delicious feeling of being excreting (developing) your projects.

Hope you enjoyed the list and the ranking. If you have a better app suggestion or ranking order, feel free to comment!

Hugs!


vim emacs atom anjuta codeblocks visual-studio-code neovim gedit spacemacs veonim


Share


YouTube channel

Subscribe


Marcos Oliveira

Marcos Oliveira

Software developer
https://github.com/terroo

Related articles