Previously, I searched for useful front-end development tools on zhihu. the most votes wereWebstromAfter the trial, it is found that it is really easy to use, Code Completion, code check, support mainstream version control, such as git, SVN, and so on. But after all, it is an integrated ide. It is difficult to start slowly and eat memory.
Sublime text2It makes up for this deficiency. It is lightweight and can be started in seconds without memory consumption. There are also many powerful plug-in packages that can be configured as powerful editing artifacts as needed. I mainly use them to write HTML and Javascript. The specific configuration steps are as follows:
1. Download and install sublime text2
Http://www.sublimetext.com/2
Click the link to download it directly. The version I downloaded is sublime text2. After reading it, 3 has been released. The installation method is the same as that of common software.
2. Install packet Control
Open sublime text, and pressCTR ++ ~, Enter the code in the pop-up console:
Import urllib2, OS; pF = 'package control. sublime-package '; IPP = sublime. installed_packages_path (); OS. makedirs (IPP) if not OS. path. exists (IPP) else none; open (OS. path. join (iPP, PF), 'wb '). write (urllib2.urlopen ('HTTP: // sublime.wbond.net/'{pf.replace ('', '% 20 ')). read ())
3. Install the front-end development plug-in
PressCTRL + shirft + P, Enter install packet, and press enter to enter the plug-in package name and install the plug-in.
3.1 HTML plugin
Sublime text2-lightweight front-end Editor