In Sublime 2, I know how to reindent the whole document and how to assign a key to this function, but I want to reindent as is do in WebStorm where spaces are added before and after a (=) or after and before a (:). Watch the image for the examples. How could I do that in Sublime or what package do this?
相关问题
- Where are Automatic Type Acquisition typescript de
- Using WebStorm with Parse.com
- Make WebStorm to understand which vue components a
- Compiler error-Possible IDE error“undefined refere
- How to run code in Sublime text 2 python
相关文章
- 使用Webstorm打开刚下载的jquery为什么会有报错
- 这个python项目用什么ide打开好?
- Debugging with Eclipse CDT and GDB: can't find
- Import errors with Pycharm
- How do I navigate through a method call hierarchy
- Pet slept on keyboard, weird colors in IDE [duplic
- Netbeans: How to disable this single annoying warn
- Missing dependencies causing Keyring error when op
Use:
HTML-CSS-JS Prettify
You can adjust the following settings @:
Note:
It does not handle commas within quotes.
I also tested CoolFormat, which does not handle them either.
You should check out Will Bond's
Alignment
plugin, it should do most of what you want, and is pretty configurable as well. There seems to be an issue with the documentation and circular links between packagecontrol.io and wbond.net, but here is the documentation stored in the Wayback Machine.