In the front-end development process, the editor is necessary to use, the predecessors left us a lot of excellent editors. notepad++, EditPlus, Emacs is not suitable for front-end development, vim learning cost is too high, brackets I do not feel good, and Microsoft recently out of Visual Studio Code. In terms of the front-end range Webstrom is definitely a weapon, but after all, the software is too large, many computers run a little laborious, the other is the famous sublime Text, has now been upgraded to the third edition. I'm going to write it down!
MOOC has a good sublime editor using the tutorial, there is time to see! Address: http://www.imooc.com/learn/333.
: HTTP://WWW.SUBLIMETEXT.COM/3, choose the right version for your own computer, installation is also a fool-style!
Install the activation: Provide a sublime text 3083 activation Code, the Help menu has the input Activation Code button, input can.
-–begin license-–andrew webersingle User licenseea7e-85560542397640 33f41cfce1d0ae85 a0bbd039 0e9c8d55 e1b89d5d5cdb7036 e56de1c0 EFCC0840 650cd3a6b98fc99c 8fac73ee D2B95564 df450523--end L icense--
Want to play sublime Text must be installed package control!
CTRL + Backslash Open the console, enter the package control installation code, return! Wait a minute (you may be prompted to restart, or you may not be prompted, remember to connect) and then reboot!
#sublime Text3 installation Code import urllib.request,os,hashlib; h='eb2297e1a458f27d836c04bb0cbaf282'+'d0e7a3098092775ccb37ca9d6b2e4b7d'; 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))ifDH! = hElseOpen (Os.path.Join(IPP, PF),'WB').Write(by) #sublime Text2 installation Code import urllib2,os,hashlib; h='eb2297e1a458f27d836c04bb0cbaf282'+'d0e7a3098092775ccb37ca9d6b2e4b7d'; PF ='Package Control.sublime-package'; IPP = Sublime.installed_packages_path (); Os.makedirs (IPP)ifNot Os.path.exists (IPP)ElseNone; Urllib2.install_opener (Urllib2.build_opener (urllib2. Proxyhandler ())); by = Urllib2.urlopen ('http://packagecontrol.io/'+ Pf.replace (' ','%20'). read (); DH = hashlib.sha256 (by). Hexdigest (); Open (Os.path.Join(IPP, PF),'WB').Write(by)ifDH = = hElseNone; Print'Error validating download (got%s instead of%s), please try manual install'% (DH, h)ifDH! = hElse 'Restart Sublime Text to finish installation')
After the restart, it's fun, Ctrl + SHIFT + P Input Package Control:install package, wait a moment, you can choose your favorite package!
Setting-user can be easily set up in preference, setting the way reference preference-setting-default!
See your own installed package! preference Package Settings-a Setting-user
Common shortcut keys:
Ctrl + L: Select a row;
Ctrl + [: Indent left for selection;
Ctrl +]: The selection is indented to the right;
Ctrl + sign: Include the selected content with a symbol;
Ctrl + F: Outbound lookup window;
And there's a lot of fun to find out.
Sublime TEXT3 installation and simple and practical