This article describes the installation of the cross-platform editor Sublime Text 3 and its plugin recommendations.
Directory:
1. Introduction
2. Download and install
3. Plugins
4. References
1. Introduction
Sublime text has a beautiful user interface and powerful features such as code thumbnails, Python plugins, code snippets, and more. You can also customize key bindings, menus, and toolbars. The main features of Sublime Text include: Spell checker, bookmarks, full Python API, Goto feature, instant item switching, multiple selection, multiple windows, and more. Sublime Text is a cross-platform editor that supports operating systems such as Windows, Linux, Mac os X. Besides sublime text also supports plug-in extensions, making it a powerful "light editor".
2. Download and install
Sublime Text 2:HTTP://WWW.SUBLIMETEXT.COM/2
Sublime text 3:HTTP://WWW.SUBLIMETEXT.COM/3 (beta version, many improvements to Sublime text 2)
Note: This article takes sublime Text 3 as an example, plug-ins are also recommended for sublime TEXT3 compatible plugins.
3. Plugins
3.1 Sublime text uses the package control to manage its plugins, can install, update, uninstall plugins. Therefore, you need to install the package Control first.
1. Auto-install Bring up sublime Text 3 Console (ctrl+~ or view->show console), input in console: import urllib.request,os,hashlib; h = ' 2915d1851351e5ee549c20394736b442 ' + ' 8bc59f460fa1548d1514676163dafc88 '; PF = ' package control.sublime-package '; IPP = Sublime.installed_packages_path (); Urllib.request.install_opener (Urllib.request.build_opener (Urllib.request.ProxyHandler ())); by = Urllib.request.urlopen (' http://packagecontrol.io/' + pf.replace (', '%20 ')). read (); DH = hashlib.sha256 (by). Hexdigest (); Print (' Error validating download (got%s instead of%s), please try manual install '% (DH, h)) if DH! = H Else Open (Os.pat H.join (IPP, PF), ' WB '). Write (by) carriage return, waiting for the installation to complete. 2. Manually install download package Control.sublime-package installation packages, put the installation package into the Software installation directory under the installed Packages folder, restart Sublime Text 3.
3.2 In the sublime Text 3 interface, press Ctrl+shift+p to bring up the package control (or select Preferences->package control in the menu bar) to enter the install package. In the drop-down menu, select Package Control:install, wait for the command to complete, pop up the plugin list and select the plugin you want in the list.
3.3 You can view the most popular plugins and their descriptions in Https://packagecontrol.io/browse, and then search for the plug-in name through the package control to install it. (It is also possible to install multiple plugins at the same time by using the package control:advanced, separating the plugin name with commas.) )
3.4 Common plugins:
Emmet-front-end god-level plugin, formerly Zen Coding
Emmet Css Snippets --emmet css enhancements
SublimeLinter-syntax check
SideBarEnhancements-status bar enhancements
BracketHighlighter-bracket highlighting
SublimeCodeIntel-code hints
HTML5 --html5 support
Alignment-automatic alignment
SFTP --ftp support
Git --git support
jQuery --jQuery hint support
ColorPicker-color picker
All Autocomplete-Autocomplete (all open files)
HTML-CSS-JS Prettify --HTML / CSS / JS beautify
Color Highlighter-CSS color highlighter
Pretty JSON-Beautify JSON
Tag --HTML / XML tag hints
CTag --CTag support
AngularJS-AngularJS hint support
Bootstrap 3 Snippets-Bootstrap3 hint support
Jade-Jade hint support
Autoprefixer-CSS prefix self-addition
CSS3-CSS3 support
Encoding? Helper --Encoding status bar display and conversion
Nodejs-nodejs hint support
DocBlockr-annotation enhancement
Terminal-file location opens console
--To be added
4. References
http://www.sublimetext.com/
Https://packagecontrol.io
Sublime Text 3 Installation and plugin recommendations