本文发自 http://www.binss.me/blog/my-sublime-text-3-plugin/,转载请注明出处。
为了提高生产率,重新挑选并安装了一波sublime text3的插件。
由于我主要使用sublime text来写python还有前台,因此插件主要针对该需求。
package control
https://github.com/wbond/package_control
插件管理工具,必装,装后command+shift+p输入package control可以方便地安装,查看,移除插件。
注:由于学校渣渣网络获取不到插件列表,复制了一个channel_v3.json放在SCS上
http://binsite.sinacloud.net/channel_v3.json
可以remove原channel并把以上链接add为channel
SublimeCodeIntel
https://github.com/SublimeCodeIntel/SublimeCodeIntel
代码提示。用过都说好。
注:在安装后,发现无法使用,报错: ImportError: No module named 'cStringIO' 安装该版本解决问题: https://github.com/SublimeCodeIntel/SublimeCodeIntel/tree/development
Emmet
https://github.com/sergeche/emmet-sublime
前端神器。依赖于pyV8,安装的过程中会自动装上,注意别误删了。
HTML-CSS-JS Prettify
https://github.com/victorporof/Sublime-HTMLPrettify
格式化html, css, js, json代码
取代了原使用的:
-
tag
https://github.com/titoBouzout/Tag
html代码对齐
-
JsFormat
https://github.com/jdc0589/JsFormat
解压js代码
color picker
https://github.com/weslly/ColorPicker
弹出调色盘,生成颜色代码
better completion
https://github.com/Pleasurazy/Sublime-Better-Completion
自动补全js, jquery, bootscrapt, html代码
AutoPEP8
https://github.com/wistful/SublimeAutoPEP8
python代码自动规范
SideBarEnhancements
https://github.com/titoBouzout/SideBarEnhancements
侧边文件栏拓展
SublimeLinter
https://github.com/SublimeLinter/SublimeLinter3
代码查错
配套插件:
-
SublimeLinter-jshint
-
SublimeLinter-pep8(不用SublimeLinter-pylint的原因是它太慢了,检查时会卡顿以下)
1F frank 10 years, 2 months ago 回复
同sublime写python和前台~
2F binss MOD 10 years, 1 month ago 回复
回复 1楼的 frank:哈哈