With its slick UI, great features and an extensive list of plugins, Sublime Text is one of the most popular source code editors for programmers worldwide. However, it isn’t for everybody. First off, Sublime Text technically isn’t free and keeps nagging you to buy its $80 license once the evaluation period is up, which is often a real drag for many who use the program on a daily basis. It is also proprietary software, which is another key issue that many FOSS proponents find unpalatable. Yet others may actually be looking for full-fledged IDEs instead of bare basic text editors, so there are many reasons why some of you many be looking for something other than Sublime Text to use on a daily basis. If you are one of them, you should take a look at the 10 best Sublime Text alternatives you can use in 2020.
1. Notepad++
Notepad++ is a free source code editor which supports several programming languages under the MS Windows environment. It uses the Scintilla editor component and is written in C++ with “Win32 API calls using only STL to increase performance and reduce program size”. While the software has support for macros and plugins, it isn’t as feature-rich as many of the other editors on this list. However, its simplicity and familiar UI means that it is an easy recommendation for someone just getting into coding. While advanced programmers will probably look for something a bit beefier, Notepad++ does come with most of the features you’d expect from a basic code editor, including syntax highlighting, syntax folding, search/replace, split-screen editing, synchronized scrolling and multi-document tab interface.
2. Atom
Atom is free, open source and highly customizable. Build around a minimal core, the software comes with 50 open source packages, and hosted on GitHub like many of its open source counterparts. Atom is based on the open source Electron framework that was originally created by Cheng Zhao, but is now developed by GitHub. It’s written in pure HTML/CSS on top of Chromium. The project started only in 2014, but already has over 7,000 different packages, just about all of which are also hosted on Github. You could use something like Autocomplete+ to get some additional autocomplete features or use Minimap to visually skip to certain parts of a file.
Arguably the best professional HTML and text editor for macOS, BBEdit is another great Sublime Text alternative you can check out. BBEdit provides users an intelligent interface that gives users easy access to all of its amazing features, including grep pattern matching, search and replace across multiple files, project definition tools, function navigation and syntax coloring for numerous source code languages, code folding, and a lot more. One of the best features packed within BBEdit is its ability to compare two documents and find differences in them.
Visual Studio Code is a FOSS source code editor and debugger that’s developed by Microsoft and is hosted on Github. The software is available not just on Windows, but also on macOS and Linux. It includes support for embedded Git control, syntax highlighting, intelligent code completion, snippets and code refactoring. It is also customizable, which allows users to change the editor’s theme, keyboard shortcuts and other preferences. Like Atom, VS Code is based on the Electron framework using Node and HTML/CSS, but instead of using Atom, it employs ‘Monaco’ – the same editor component used in Visual Studio Team Services.
Vim is a free and open source cross-platform command line text editor that’s available on a wide variety of platforms ranging from Windows, Linux, macOS and Unix to Android, iOS, Amigaos and more. The software is a clone of the open source Vi text editor program for Unix, and its name is a contraction of ‘Vi Improved’ as a reference to the original program written by renowned computer scientist and Sun Microsystems co-founder Bill Joy in 1976. The program has an army of power users supporting it and, has around 15,000 packages that bring tree explorers, syntax highlighters, theming, Git integration, etc. You can visit VimAwesome for some of the best plugins the community has to offer.
Unlike Sublime Text, Vim doesn’t have a GUI that would allow you to use a mouse to navigate conveniently, so the opening, closing, editing and saving actions are all done via keyboard shortcuts like you’d do on a terminal. While not having a GUI means it has more of a niche appeal, it is still one of the most flexible and powerful source code editors you can use today. There are also a lot of pre-configured Vim configuration files that you can find on the net by just searching for .vimrc. If you want to take the time to learn about this incredibly powerful tool in more detail, you can go over to Vim-Adventures where you can play an online game to learn about all the basic commands in a fun way.
GNU Emacs are generally considered to be the world’s most extensible and customizable source code editors, and Spacemacs happens top be one of the most popular Emacs starter kits. As you’d already know by now, it is a free and open source text editor based on GNU Emacs and, features both graphical and command-line UIs that are executable under X display manager as well as within the Unix terminal. The program brings the full power of the Emacs plugin ecosystem and the vi keybindings (via EViL), making it a powerful and versatile Sublime Text alternative. The software aids the productiveness of Vi users while allowing regular Emacs users to still use the software effectively.
Platforms: Windows, Linux, Unix, macOS Download: (Free)
Brackets is yet another example that free and open source software can also sometimes come from the biggest names in commercial software. Adobe, better known for expensive software like Photoshop and Premier Pro, is the company behind this program which is licensed under the MIT License and is currently hosted on GitHub (repository). Brackets was specifically written for web developers in HTML, CSS and JavaScript using CodeMirror in a Node.js container. It is available on a number of platforms, including Windows, macOS and Linux.
8. Light Table
On its official website, Light Table describes itself as the “next-generation code editor” that aims to provide a flexible interface, real-time evaluation, instant execution, live visualization, debugging and documentation. Like many of the other software on the list and unlike Sublime Text, Light Table is a free and open source program that’s released under the MIT License. It’s is written in ClojureScript with a Node-Webkit wrapper, and though it started off as an environment for Clojure and ClojureScript, it has since added support for other programming languages, such as Python, JavaScript, HTML and CSS.
UltraEdit is one of the most powerful and versatile text editors that you can get to replace Sublime Text. First of all, like Sublime Text, UltraEdit is available on three major platforms including macOS, Windows, and Linux. I love that the app is fully themeable. You can choose built-in themes, themes created by the community, or create your own themes. When it comes to features, UltraEdit is second to none. It brings intuitive multi-caret editing along with multi-selection capabilities. It features a robust search engine that lets you search your code instantly.
If you are a macOS user who is looking for a cheaper Sublime Text alternative, look no further than TextMate. TextMate is a native macOS application that is rich in features. Unlike the other cross-platform options featured in this list, TextMate looks and behaves like a native macOS application. Talking about its features, it brings all the bells and whistles that you expect from a pro text editor. You get support for multiple carrots, robust search, version control, support for snippets, and macros, and more. This is one of the best text editors on the market right now.
Eclipse is a free and open source (FOSS) source-code editor like most of the other entries on our list, but it is much more than just a source code editor. It is actually a full-fledged cross-platform IDE (Integrated Development Environment) that’s available on Windows, Linux, macOS and Solaris. The program itself is written mostly in Java and, started life as a Java environment for the most part, but thanks to a large number of plugins and extensions, it now supports a wide array of programming languages, including, but not limited to, C, C++, C#, COBOL, Fortran, JavaScript, PHP, Java and more. While Python isn’t supported out-of-the-box, the PyDev plugin gets the job done.
As for the features of this highly-popular IDE, it comes with a whole bunch of integrated debugging tools alongside Git/CVS support. The standard edition of Eclipse also comes with Java and Plugin Development Tooling. Developers can also choose from other packages that include tools for charting, modeling, reporting, testing and building GUIs. In case you’re interested in checking out the treasure trove of plugins available for the platform, you should go over to the Eclipse Marketplace Client that allows users to install software directly from within an Eclipse installation.