There is a myth that there are three kinds of programmers in the world, those who use Emacs, those who use Vim and those who use other editors. Well, I don’t need to tell you how powerful Vim and Emacs are.
Since vim and Emacs have a steep learning curve, as a third type of programmer, let’s take a look at some of the current mainstream editors that are easy to use.
1.sublime
Sublime does website
Features overview:
Sublime is officially summed up as follows:
Sublime Text is a sophisticated text editor for code, markup and prose.
You’ll love the slick user interface, extraordinary features and amazing performance.
Sublime Text is a code editor (Sublime Text 2(the latest version of Sublime Text 3) is paid for, but can be tried indefinitely, with occasional pay alerts) and is an advanced Text editor for HTML and prose. Sublime Text was developed by programmer Jon Skinner in January 2008 and was originally designed as a Vim with rich extensions.
Sublime Text has a beautiful user interface and powerful features such as code thumbnails,Python plug-ins, snippets, and more. You can also customize key bindings, menus and toolbars. Sublime Text’s key features include: spell checking, bookmarking, full Python API, Goto functionality, instant project switching, multiple selections, multiple Windows, and more. Sublime Text is a cross-platform editor that supports Windows, Linux, Mac OS X, and more.
Some of the features that stand out as attractive can be read directly from the official introduction. I will not repeat it here.
Plug-in installation
1. Install Package Control
Ctrl+ ‘to bring up Console,
Paste the installation code to the bottom of the command line and press Enter (refer to the Package Control website for details).
Restart the Sublime does the Text.
If you see package Control in Perferences-> Package Settings, the installation is successful.
You can also download Package Control. sublimed-package to the Data Installed Package folder in the Sublime installation directory by going to the link on the website (see the extensions)
2. Install other plug-ins using Package Control
Press Ctrl+Shift+P to bring up the command panel
Type Install to bring up the Install Package option and press Enter, then select the plug-in you want to install from the list.
The main advantages
1. Mainstream front-end development editor
2. Small volume, fast running speed
3. Text is powerful
4. Support compilation function and see the output in the console
5. Built-in Python interpreters support plug-in development for extensibility
6.Package Control: A large number of plug-ins supported by ST can be managed through it
Main drawback
1. Charging closed source, although the problem of charging does not affect the use, but the problem caused by bi Yuan is a bug that has not been fixed for thousands of years. Very bad use.
2. Startup is fast, but try using Sublime with Xcode running and you’ll know what it’s like to crash and type in one line of code and it won’t work for a long time (this problem is only with Sublime Text3).
3. Although there is a Package Control management plug-in, when you install the search plug-in, you can only see a simple one-sentence description, and the subsequent plug-in configuration is not convenient.
4. Sublime crashes from time to time when there are too many plug-ins, and users can’t clearly tell which one is causing them. You can only unload one by one and judge.
5. Many plugins are not compatible with Sublime Text 3 and Sublime Text 2, and many good plugins for Sublime Text 2 do not work with Sublime Text 3.
6. I have to make fun of sublime Text 2’s lack of new Windows, as it can be inconvenient to have different projects open at the same time.
7. To make fun of the annoying project feature of Sublime Text, CTRL + Command + P can only toggle recently opened projects, even if you save them for Sublime Project, this shortcut cannot be toggle if they have not been opened recently.
2.vscode
Vscode website
Check out vscode’s official blog for more cool features
vscode blog
Features overview:
Vscode is also a cross-platform text editor with built-in support for JavaScript, TypeScript and node. js,C++, C#, Python, PHP and more
Because vscode is quite detailed in both the official documentation and the demo video (after all, the Microsoft empire is not just a name for itself), the specific functions wait for you to explore.
Plug-in installation
Vscode has been updated to its current location with built-in plugins installation. There is a plugins center button on the right side of the editor, which makes it easy to install, upgrade, and uninstall plugins. In addition, you can find their own plugins in the VSCode plugins store, compared to Sublime Vscode plug-in management is very convenient, and the number of plug-ins is considerable, its ecosystem is increasingly mature, again, after all, it is the Microsoft empire.
The main advantages
Note: notepad++ should be removed immediately. Note: notepad++ should be removed immediately
2. Loading large files will open almost in seconds. I have tried to open the 100M project without pressure
C# supports highlighting and references for compiled versions
JS, HTML and other support highlighting and completion
5. The whole platform
6. Free, it’s a must
7. Low memory usage
8. Atom-based, but with atom-per-second performance
Main drawback
1. It is not stable enough and crashes frequently. If it were not for frequent crashes, it would definitely only be used
2. Plugins aren’t perfect yet, but they’re growing pretty fast
3. Debug is not flexible enough
4. C# support is not good enough
5. It does not support project loading, but only supports folder loading, and has low support for quoting complex large projects
3.Atom
The Atom’s official website
Many cool features and quick start, please go to the official explore.
Features overview:
Atom code editor is free for Windows, Mac, and Linux, and is available on GitHub. After a long period of iterative development and continuous improvement, the official Version of Atom has improved significantly in terms of performance and stability.
The team calls Atom a “configurable editor for the 21st century,” with a very polished interface and a lot of configurable items, plus it provides Package Control similar to that found on SublimeText More importantly, Atom’s package management tool visualizes the configuration of the plug-in, provides help for using the plug-in, and the corresponding Github address. This makes it easier for developers to build Atom into their own development tools.
As a modern code editor, Atom has features common to many popular editors, Feature-rich, supports code highlighting in various programming languages (HTML/CSS/Javascript/PHP/Python/C/C++ / Java/JSON/Perl/CoffeeScript) / Go/Sass/YAML/Markdown, etc.), Atom’s language support is pretty comprehensive compared to most other editors. And its code completion feature (also known as Snippets), which allows you to expand common code with just a few characters, makes programming much more efficient.
Plug-in installation
Atom has an interactive GUI plug-in manager where users can easily search, install, upgrade, uninstall, and configure plug-ins.
The main advantages
1. The development and maintenance team is strong and the project is open source, so the bug repair speed is fast and the ecosystem grows fast.
2. Shortcut key support is particularly good, familiar with a variety of shortcut keys can improve the generation efficiency tons.
3. Relatively stable, with few crashes.
4. The plug-in management is in place and can accurately locate the problem plug-in.
5. The plugin ecosystem is growing at a phenomenal rate, and there are tons of great plugins waiting to be explored.
Main drawback
1. Performance problems, slow startup
2. Opening large files may cause high CPU usage
3. Sublime technology is not mature enough compared to sublime and has a lot of bugs
Conclusion:
These three editors, each with its own strengths and weaknesses, may need to be selected according to the preferences of different developers, but fortunately, the three editors are used in much the same way and can be migrated to any of them painlessly.
In the long run,Atom and vscode are the open source projects maintained by the two giants, and the power of open source is huge. As a result, it’s bound to grow much faster than Sublime, and it may not be long before I get rid of Sublime entirely.