issues
search
echopi
/
blog
write someting
0
stars
0
forks
source link
Sublime Text
#2
Open
echopi
opened
8 years ago
echopi
commented
8 years ago
less2css on subl3
install Package Control
install Less2Css
npm install less -gd
npm install -g less-plugin-clean-css (optional)
npm install -g less-plugin-autoprefix (optional)
参考
echopi
commented
8 years ago
eslint plugin on subl3
npm install eslint -g --registry=
https://registry.npm.taobao.org
npm install babel-eslint -g --registry=
https://registry.npm.taobao.org
install SublimeLinter via Package Control
intall SublimeLinter-contrib-eslint via Package Control
config .eslintrc under root of the project
echopi
commented
8 years ago
hot keys
只选择同一个变量:Cmd-d (Win: Ctrl-d),再按一次,再按一次
自动选取所有同名同类 token: Cmd-Ctrl-g (Win: Cmd-Ctrl-g)
Cmd-k, Cmd-d (Win: Ctrl-k, Ctrl-d) 跳过选区
只选择同一个变量:Cmd-d (Win: Ctrl-d),再按一次,再按一次
自动选取所有同名同类 token: Cmd-Ctrl-g (Win: Cmd-Ctrl-g)
Cmd-k, Cmd-d (Win: Ctrl-k, Ctrl-d) 跳过选区
大写转小写:Cmd+k+l (Win:Ctrl+k+l)
小写转大写:Cmd+k+u (Win:Ctrl+k+u)
echopi
commented
7 years ago
how to insert sequences
install pakage: insert nums
select what you want to be replaced
cmd+alt+n: type 1:2, which 1 is the start number, 2 is the step
less2css on subl3
参考