Sublime Text2安装emmet_html/css_WEB-ITnose

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

一.安装Package Control

如果Preferences中没有Package Control,需要手动安装。安装方法如下:

访问Package Controls站点复制一段python命令安装,也可以直接复制一下代码至控制台(唤起控制台: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

二.安装emmet插件

Ctrl+Shiift+P唤出控制面板(Preferences??Package Control),输入install package(安装扩展),回车输入emmet,回车,等待安装,重启sublime Text即可。

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!