Package Control
翻译:
最简单的方式:
control + ` 或者 ctrl + ` 打开控制台,Submlime Text3 输入以下代码:
import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; 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)
手动安装
Click the Preferences > Browse Packages… menu
Browse up a folder and then into the Installed Packages/ folder
Download Package Control.sublime-package and copy it into the
Installed Packages/ directory
Restart Sublime Text
翻译:
单击首选项>浏览包...菜单
浏览文件夹,然后进入Installed Packages /文件夹
下载包Control.sublime-package并将其复制到Installed Packages /目录中
重新启动Sublime Text
切换主题
快捷键:command + shift + P
在输入框中输入:UI 。
点击Select Color Scheme。
在显示的列表中,选择一个自己喜欢的主题。
Html代码格式化插件 - Sublime-HTMLPrettify
Through Sublime Package Manager
Ctrl+Shift+P or Cmd+Shift+P in Linux/Windows/OS X
type install, select Package Control: Install Package
type prettify, select HTML-CSS-JS Prettify
Manually
Make sure you use the right Sublime Text folder. For example, on OS X, packages for version 2 are in ~/Library/Application\ Support/Sublime\ Text\ 2, while version 3 is labeled ~/Library/Application\ Support/Sublime\ Text\ 3.
Mac
git clone /victorporof/Sublime-HTMLPrettify.git ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Sublime-HTMLPrettify
Python代码格式化插件 - AutoPEP8
快捷键:control+shift+R
编码问题
代码智能自动完成插件
SublimeCodeIntel
运行Python代码
SublimeREPL
格式化Json数据
PrettyJSON
快捷健:control+command+J