class带中划线的命名,双击选择只能选取一个单词,不是很方便,修改一下默认设置中的:
1 2 | // Characters that are considered to separate words "word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?", |
修改为
1 2 | // Characters that are considered to separate words "word_separators": "./\\()\"':,.;<>~!@#$%^&*|+=[]{}`~?", |
这样双击选择的时候就可以都选中了带中划线-的样式命名了。
最后建议在用户设置中增加:
1 2 | // Characters that are considered to separate words "word_separators": "./\\()\"':,.;<>~!@#$%^&*|+=[]{}`~?", |
而不是修改默认配置。
同样适用sublime text2