Vim, vscode, or atom? Which developer text editor is the best?
Among the developers we will find both supporters of text editors and the integrated development environment (IDE). So we decided to zoom in on the best tools on the market from both categories. For starters, we lean on editors.
We have selected for you six tools that are worth paying attention to. A text editor is nothing more than a program that allows you to edit and create files, but also to preview them. The advantage of these tools is great flexibility and the ability to quickly edit the code.
1. VIM editor
This editor is a multi-platform tool (Windows, GNU / Linux, Mac OS, BSD, Solaris). It is actually a clone of the Vi editor (hence its name: VI improved). Vim was invented by the Dutchman-Bram Moolenaar and is distributed under the license charityware (made available for free with a request to donate to charity).
The program has an opinion of little friendly to beginners. Knowledge of various keyboard shortcuts is necessary here. Not by chance in the environment of programmers there are various jokes and crackers about VIM, for example, in the style of:
– How to generate a random string? Tell the Windows user to exit vim.
On the other hand, this opinion is somewhat hurtful, because really this the editor is not so difficult to learn. Sure-you may not be a power user after two hours, but you will probably start to move around it as efficiently as possible.
The fact that everything is handled here from the keyboard is paradoxically one of the advantages of VIM. unique in this editor is use modes that change the meaning of keystrokes. For a beginner, this may be an obstacle, but after a while it enters the nature and helps more than hinders.
Vim integrates perfectly with command-line tools, so you can create an environment that behaves like an IDE. There are a lot of options for editor extensions. However, here we come to the biggest drawback of VIM-a – if you don’t set something up, you don’t have it. It is basically a continuous process to improve the configuration. The vim bootstrap project will certainly help with the start, which helps to generate a config that matches the programming languages in which we write.
2. GNU Emacs
It was originally just a set of macros for the TECO editor. Only the second version became stand-alone software. Emacs can run on any platform, which makes it a very versatile tool.
The wicked will say:
– Emacs is a very good operating system, which unfortunately lacks a good editor
However, we advise not to worry about haters 😉
The possibilities of Emacs extension are basically unlimited. All this thanks to its own extension language-Emacs lisp. Once you define an extension, you just need to validate it to make it available in the program. And this without any reboot. Emacs does not usually fire as quickly as vim, so many people use it in server-mode. This is something that very few editors can do.
Emacs is unique because the buffer in which a file is opened will accept a mode that matches the type of that file. For example, this allows you to change the behavior of keyboard shortcuts – for example, the same shortcut can run
bundle install for Ruby and
Unfortunately Emacs is not very friendly for beginners. It requires learning a dozen keyboard shortcuts to be able to take off.
3. Sublime Text
True sublime text rarely boasts updates, but has survived several versions. This multi-platform and a very extensive editor was written in C++ and Python. This tool is often considered as a replacement for Notepad++.
Great emphasis is placed on the convenience of work here. The developer has at hand all the necessary functions, which greatly facilitates the encoding and editing of files. The editor has the function of auto-writing, autocompletion of syntax and parentheses, allows you to check spelling and automate frequently used actions.
Sublime Text also provides a graphical preview of the entire file. A well-known feature of sublime is editing with multiple cursors at once. The editor has a lot of functions and keyboard shortcuts, has a wide selection of themes and plugins that you can also write yourself in Python.
It is said about me every time because of competition from other solutions. An additional obstacle is that it is a paid program (after a trial period).
Notepad++ is an editor well known to many people who use Windows. At one time, many surveys indicated that this is the most popular editor for this platform.
Notepad++ offers surprisingly much, considering that its installer is only a few MB. In exchange we get a very reasonable set of functionswhich together form a neat whole. In addition to absolutely basic things like syntax coloring, it offers collapsing blocks, preview code “from a bird’s eye view”, open multiple files at the same time, the ability to rearrange virtually every button that appears GUI and plugin system. At the same time, the program retains its lightness, without requiring hundreds of megabytes of RAM.this is largely due to the fact that it is written in C++.
However, it must be admitted that Notepad++ does not look very fresh. In addition, a system for installing plugins could be better. Nevertheless, it definitely wins in our opinion when it comes to the program for quick editing on Windows.
This is also its biggest drawback – by the use of electron, The Atom is heavy – it’s starting slowly. Many programmers complained about the high memory consumption.
In addition, there are several advantages-first of all, a great opportunity to get to your own liking. Users are provided with very many additionswhich can be managed by a dedicated manager.
Atom has a very clear and aesthetic graphical interface. It is recommended for developers of desktop and web applications, as well as for users who create websites. Atom colors the syntax, has an autofill mechanism, and the contents of the files can be viewed in tabs. The editor allows you to conveniently work with multiple files at the same time, plus it allows you to conveniently search and replace phrases.
6. Visual Studio Code
Finally, we want to dedicate a few words to the editor from Microsoft. Interestingly, the program is available not only on windows, but also on Linux and OS X. This is due to the fact that, like atom, it is based on electron. However, Microsoft managed to avoid some mishaps and Visual Studio Code is considered a fast editor. There’s no hiding the fact that he’s still a memory-eater. 610 MB with an empty editor and a loaded catalog with Bulldogjob code is quite a lot.
Visual Studio is basically a mini-IDE. Therefore, in addition to syntax coloring, we will also find some features from the extensive visual studio – such as code navigation, intellisense, Peek, debug capability and snippets. The editor also has Git support.it has a very good extension system.
A big advantage of Visual Studio Code is its high intuitive operation and simplicity. Vscode programmers spent a lot of time to create a set of default settings and behaviors that make sense in everyday use. For example, when opening a large code file, it will disable tokenization or collapse, so the file will load much faster than in a poorly configured vim.
Visual Studio Code is a very good and thoughtful editor. It seems that this is currently the number one choice.
Yes, the head points to Visual Studio Code, however bulldog heart is with VIM.