189 8069 5689

配置Sublimetext3(ubuntu)

点击Preferences->Settings User,修改配置文件如下:

成都创新互联公司坚持“要么做到,要么别承诺”的工作理念,服务领域包括:成都做网站、成都网站设计、企业官网、英文网站、手机端网站、网站推广等服务,满足客户于互联网时代的志丹网站设计、移动媒体设计的需求,帮助企业找到有效的互联网解决方案。努力成为您成熟可靠的网络建设合作伙伴!

{
	"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
  	"fallback_encoding": "UTF-8",
	"font_size": 14,
	"tab_size": 2,
	"translate_tabs_to_spaces": true,
	"word_wrap": true,
  	"trim_trailing_white_space_on_save": true,
  	"rulers": [81],
	"ensure_newline_at_eof_on_save": true,
	"shift_tab_unindent": true,
  	"wrap_width": 80
}

安装Package Control:

按下ctrl + `后,在弹出的命令窗口中输入下面命令即可:
import urllib.request,os,hashlib; h = '2deb499853c4371624f5a07e27c334aa' + 'bf8c4e67d14fb0525ba4f89698a6d7e1'; 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)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)


<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
sublime_text 2.02


import urllib2,os; 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())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

安装成功后,点击菜单Preferences->Package Settings->Package Control->Settings-User,修改配置文件如下,保存以后,选择Package Control->Install Package,将会自动下载。

{
	"installed_packages":
	[
		"Alignment",
		"BracketHighlighter",
		"ColorPicker",
		"CompactExpandCss",
		"CSScomb JS",
		"Emmet Css Snippets",
		"Hex-to-RGBA",
		"HTML5",
		"JsFormat",
		"Package Control",
		"Rails Developer Snippets",
		"Ruby on Rails snippets",
		"RubyTest",
		"SublimeTmpl",
		"Tag",
		"Terminal",
		"Tradsim"
	]
}


本文名称:配置Sublimetext3(ubuntu)
文章起源:http://cdxtjz.com/article/jicojd.html

其他资讯