10.5 C
New York
Tuesday, October 4, 2022
HomeLinuxBest Linux Code Editor: Top 10 Reviewed and Compared

Best Linux Code Editor: Top 10 Reviewed and Compared

Coding is great fun. You can make useful and great apps for your operating system if you can learn how to do coding. To be a great application developer, you have to know about coding or programming in various applications. There are various types of code editors or text editors or HTML editors for several operating systems available to make your coding capability easy and quick. At the same time, some of them have worked great across the OS. To create new software in Linux, there are many Linux code editors available out there; those can make you an expert Linux code developer.

IDEs (Integrated Development Environment) or code editors are amazing and great for building a new program or apps with tons of handy features. We are here to make a list of the top 10 best Linux code editors, which come to us with such features, auto-complete tags and classes, plugins to have extra capabilities, and even the bits and pieces of code without having to type it.

Best Linux Code Editor

Here we are coming with the best 10 Linux Code Editors with their review and comparison. These 10 are the best and most popular Linux Text Editor with distinctive features for the Linux operating system.

1. Atom – Linux code editor

Atom code editor

Atom is a Linux code editor that is smart, trendy, approachable, and yet customizable to the core. This excellent Linux text editor offers you to customize it to do anything you want. With cross-platform editing features, built-in package manager, smart and modern autocompletion tags feature, and file system browser, this one denotes as one of the best code editors for Linux. It also supports multiple panes and finds and replace functions.

How to Install in Ubuntu via PPA

sudo add-apt-repository ppa:webupd8team/atom
sudo apt-get update
sudo apt-get install atom

How to Remove

sudo apt remove --purge atom

2. Brackets – Linux HTML Editor

Brackets Code Editor

Brackets is an open-source Linux code editor for web designing and development, made by some top web technologies such as HTML, CSS, and JavaScript. This HTML editor is available for Linux, Windows, and Mac OS X.

Brackets Linux HTML editor has many great features such as cross-platform editing, live preview, inline editors, preprocessor support, SCSS, and LESS. This Linux HTML editor has some great extensions support, including Emmet, Indent Guides, W3C Validation, etc.

How to Install in Ubuntu via PPA

sudo add-apt-repository ppa:webupd8team/brackets
sudo apt-get update
sudo apt-get install brackets

How to Remove

sudo apt-get remove --autoremove brackets

3. Sublime Text 3 – An Amazing Text Editor

Sublime Text Editor

Sublime Text 3 for Ubuntu is an amazing text editor for coding, markup, and style. Sublime Text Editor allows for code highlighting and better presentation. It also has a custom regex engine that significantly speeds up file indexing and loading.

The command palette feature of the sublime code editor offers access to frequently used features like sorting, changing the arrangement, and changing the indentation settings. Sublime Text is highly customizable. You can customize everything with simple JSON files such as Menus, Macros, Key Bindings, Snippets, Completions, etc.

How to Install in Ubuntu via PPA

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt update
sudo apt install sublime-text

How to Remove

sudo apt-get remove sublime-text
sudo apt-get autoremove

4. Vim (Free – GNU Compatible) Code Editor

Vim Code Editor

Vim is one of the most successful and best code editors of UNIX. Vim is most likely the same as the Vi, but it has better features than it. Vim is a highly customizable Linux text editor built to create and change any text very effectively.

You can edit or create your Linux software with this easily. This Linux code editor supports multiple plugins and hundreds of old and modern file formats and programming languages.

How to Install in Ubuntu via PPA

sudo add-apt-repository ppa:jonathonf/vim
sudo apt update
sudo apt install vim

How to Remove

sudo apt remove vim
sudo add-apt-repository --remove ppa:jonathonf/vim

5. Gedit – Integrated Development Environment

Gedit code editor

Gedit is an Integrated Development Environment (IDE), preinstalled as the default code editor for the GNOME desktop environment on Linux. This Linux text editor is created for general purposes and aims at efficiency and simplicity. Gedit came into the light in 2000; first release, while written in C programming language.

Read More: Best 5 Linux Distros for Developers and Programmers

This open source free Text Editor comes with complete support for the internationalized text. Gedit offers you customizable syntax, highlighting several widely used programming languages such as C, C++, HTML, JavaScript, XML, Python, Perl, and other modern languages. Users can also edit the file in a remote place. It provides an option for Clipboard facility (cut/copy/paste)

How to Install in Ubuntu via PPA

sudo apt-add-repository ppa:mc3man/older
sudo apt update
sudo apt install gedit gedit-plugins gedit-common

6. Bluefish – Linux HTML Editor

Bluefish code editor

If you are a newbie in the world of Linux web developers, then Bluefish Linux code editor can be a great choice. Bluefish is a code editor designed for various operating systems like Linux, Mac-OS, Windows, Solaris, and other Linux distros.

This best Linux HTML editor offers some great and advanced features such as support of integrating external programs, auto-completing tags and classes, auto-indentation, installing additional plug-ins, etc. This Linux code editor has a neat and clean, lightweight graphical user interface, which helps beginners start coding on Linux.

Unlike other best code editors of Linux, it also supports multiple external programs such as Lint, Web-lint, XML-lint, Javac, Tidy. One very important feature of this fantastic code editor is auto-recoverer the data after a certain system crashes or shutdown.

How to Install in Ubuntu via PPA

sudo add-apt-repository ppa:klaus-vormweg/bluefish
sudo apt-get update
sudo apt-get install bluefish

7. CodeLite – Linux Code Editor


CodeLite is an IDE that is free, open-source, and supports cross-platform. This code editor offers some most used programming languages like C, C++, PHP, and JavaScript. CodeLite is developed, keeping in mind the widely used platforms such as Windows, macOS-X, and Linux.

This code editor for Linux has some great and useful features like refactoring, source control plugins, code navigation, etc. It supports the RAD (Rapid Application Development) Tool, LLDB Next Generation Debugger, several compilers, shows errors as code glossary, and much more.

How to Install in Ubuntu via PPA

sudo add-apt-repository ppa:eugenesan/ppa
sudo apt-get update
sudo apt-get install codelite -y

How to Remove

sudo apt-get remove codelite -y

8. Eclipse – IDE


Eclipse is one of the best open-source, cross-platform Linux code editors in today’s programming world. This widely used IDE offers its users a great GUI with support for drag and drops functionality for the easy and quick composition of UI elements. With source navigation, Eclipse also supports syntax highlighting.

Read More: Top 5 Best Lightweight Linux Distros To Boost Up Your Old Computer

This app provides several knowledge tools, including Call-graph, Type-hierarchy, Built-in Browser, etc. It supports folding and hyperlink navigation. Users can do a project and edit later on easily. Visual debugging is also possible with this amazing code editor.

How to Install in Ubuntu via PPA

  • First, install Ubuntu make on your system:
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt update
sudo apt install ubuntu-make
  • Run the following command for Eclipse IDE for Java Developers:
umake ide eclipse
  • Run the following command for Eclipse IDE for Java Enterprise edition Developers:
umake ide eclipse-jee
  • Run the following command for Eclipse IDE for C/C++ Developer:
umake ide eclipse-cpp
  • Run the following command for Eclipse for PHP Developers:
umake ide eclipse-php

9. Code::Blocks – Code Editor


Code::Blocks is a free but highly customizable and extensible, cross-platform code editor that offers the most demanded and ideal features. For its consistent UI, it has become one of the most renowned C++ code editors for all the major platforms. The most important feature of this code editor is that it permits users to use various plugins easily, both written by Code::Blocks and individual developers.

This Linux code editor loads the file fast and smoothly. It supports several compilers, including GCC, C++ 5.5, Clang, Borland, etc. This Linux code editor has many great features, including multi-target projects, workspace support, display local functions symbols, syntax highlighting, custom memory dump, and much more.

How to Install in Ubuntu via PPA

sudo add-apt-repository ppa:damien-moore/codeblocks-stable
sudo apt update
sudo apt install codeblocks codeblocks-contrib

10. Geany – Linux Text Editor


Geany is a great IDE used for the GTK+ tool-kit integration to provide an excellent development environment. If you are searching for a Linux code editor that works more like an IDE, Geany could be the perfect one for your system.

This lightweight code editor for Linux supports all the major and modern programming languages with fewer dependencies from other combinations. The key features of Geany are a pluggable and configurable user interface, syntax highlighting, line numbering, etc.

While it has a simple UI and plenty of configurable features, the developers had written it in C and C++ programming language. You can do many more tasks with this great Linux code editor, including auto-completion tags, code navigation, code folding, symbol listing, project management, etc.

How to Install in Ubuntu via PPA

sudo apt-get update
sudo apt-get install geany

Honorable Mention

Visual Studio Code

Visual Studio Code

Now I am including Visual studio code editor in this top list as an honorable mention. After publishing this piece of content, many users have sent me a request to include this code editor. So the question may come, why I didn’t include this one while publishing the content?

The answer is, like many other Linux users, I also don’t like Microsoft programs as they don’t support open source application development. But it seems that this time the thing has been changed with Microsoft, and now they are supporting many open source software developments, including this one. So why do I leave something that offers great help for open source developers?

Visual Studio Code is a completely open source code editing software for Linux. And frankly telling, it has lots of amazing and effective features that help both the newbie and advanced developer to create and maintain the project efficiently.

This app is lightweight and good for web development. Mainly it supports auto-completion and useful hints while coding, built-in extension managers, integrated Terminal, debugging tools, and overall offers an easy way to code in a huge number of programming languages.

Download Visual Studio Code

Final Thought

Now I can’t say which one is the best Linux code editor because it depends on how a user uses it for his/her certain task. I recommend you justify all the features of the code editors for Linux and compare and find which one helps you complete your requirements. We consider their features and ease of use to rate them and pick them in our top pick list.


  1. I find it very arguable to add VS Code as a free and open-source editor because Microsoft, as was expected, is making it more and more commercial. The fact that it’s now shipped with “Kite”, a paid “companion” for coders, is one thing that rules out VS Code for me. I also don’t like all the PowerShell, WSL/Linux subsystem for Windows stuff that microsoft integrates to VS Code, bloating it for people who have absolutely no interest in those things, whatsoever. VS Codium might be an alternative of a good code editor but, at this point, since it’s the boilerplate for VS Code, it might be shipping with too much unecessary stuff for linux users. I need to confirm that last part.

  2. About Visual Studio Code, and for anti-Microsoft users or Open Source users, I need to say the existence of VSCodium, the Open Source version of VSCode. This includes an unbranded version, without telemetry, branding … with all same features. The bonus: It exists for Raspberry and all ARM, this is a bonus.

  3. Great article! I know it’s 3 years old now, but the terminal install instructions still work just fine. Thanks for going through all the work of putting together such a well structured article. Well done!

  4. Yes, I’ve hardly ever touch __GaNooooU__/emacs, but it surely should make the list.
    Also glaring with it’s absence is __the standard editor__: **ed**(1)
    …which I currently use as my daily.

  5. Thanks for sharing this cool code editor well, I like atom and I wanted to know which theme you have integrated in an atom. Keep doing good work.

  6. You just missed the best, most known to experts and most flexible Editor: Emacs.
    Especially if you use it with the awesome spacemacs distribution, which fuses emacs and vim.
    So this activity looks a bit silly.

      • Nice joke ..
        Too bad more and more people moving from vim to emacs with evil mode support … (spacemacs)
        I’m yet to see emacs users to go to vim ….. From this you an conclude that only thing that is keeping people with vim is its keybinding and not its features …. but I guess we all know saying …. Emacs can do everything Vim can but reverse isn’t true ….

    • Thanks for the comment. Please let me know the exact app with official repositories. I will be updating the content as soon as possible.

  7. “is free but highly customizable”. You have the wrong mindset. “is free and highly customizable” is clearly the superior phrasing. I don’t know why you haven’t included Emacs, but I don’t care a lot since Vim is better


Please enter your comment!
Please enter your name here

Latest Post

Must Read