Home > Web Front-end > HTML Tutorial > Sublime Text2 install emmet_html/css_WEB-ITnose

Sublime Text2 install emmet_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:46:19
Original
1034 people have browsed it

1. Install Package Control

If there is no Package Control in Preferences, you need to install it manually. The installation method is as follows:

Visit the Package Controls site and copy a python command for installation. You can also directly copy the code to the console (call up the console: Ctrl ~)

import urllib2,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; 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) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')
Copy after login

2. Install the emmet plug-in

Ctrl Shiift P to bring up the control panel (Preferences??Package Control), enter install package (install extension), enter emmet, press Enter, wait for installation, restart sublime Text That’s it.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template