I. Installing the package Control
If you do not have a package Control in preferences, you need to install it manually. The installation method is as follows:
Visit the package controls site to copy a Python command installation, or copy the code directly to the console (evoke console: ctrl+~)
ImportUrllib2,os,hashlib; h ='eb2297e1a458f27d836c04bb0cbaf282'+'d0e7a3098092775ccb37ca9d6b2e4b7d'; PF ='Package Control.sublime-package'; IPP = Sublime.installed_packages_path (); Os.makedirs (IPP)if notOs.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')Two. Installing the Emmet Plugin
Ctrl+shiift+p call out the control Panel (Preferences--package controls), enter the install package (Installation extension), enter input emmet, return, wait for installation, restart sublime text.
Sublime TEXT2 Installation Emmet