Powerful sublime text3 plugins
Sublime Text3 Plugins
jshint for sublime installation
- brew install nodejs
- npm install -g jshint
- open sublime & package control install jshint
- that’s ok
install SublimeOnSaveBuild
- open sublime & package control install SublimeOnSaveBuild
- that will build jshint once save
expand region
- open sublime & package control install Expand_region
- change the default-keymap
{ “keys”: [“super+w”], “command”: “expand_region”}
jshint gutter
- open sublime & package control install jshint gutter
- ctrl+shit+j to lint code!
PackageResourceViewer
- install PackageResourceViewer by package control
- ctrl+shift+p to use ‘open resource’
- find tm.theme, then add something end
1 | <dict> |
BracketHighter
- must have packageresourceviewer at first
- clear the annotation of color, and then save
Trailing Spaces
- install Trailing Spaces by package control
- configure keymap
1 | { |
- configure trailing_spaces.sublime-settings
1 | ## color: invaild, comment, error |
Centurion theme
- install theme Centurion first,
- open Preferences->Settings - User,
- insert
{"theme": "Centurion.sublime-theme"}
, - every time, subl3 use .sublime-theme as suffix.
install SyncedSideBar (keep sync between sidebar and opening file)
- install SyncedSideBar,
- open Preference->Key Bindings - User,
- configure keymap
1 | { |