Answer the question
In order to leave comments, you need to log in
Sublime Text 2. How to format HTML/CSS/JS?
Now I use:
Answer the question
In order to leave comments, you need to log in
csstidy + needs to be finished by adding a keyboard shortcut to user key bindings
{ "keys": ["ctrl+t"], "command": "css_tidy" }
Hmmm, what's wrong with that? The CSS format is selected and that's it, the syntax is highlighted, the indents are made, what else is needed? Or am I not understanding something?
csscomb.ru can be used to format styles, and accordingly it has a plugin for sublim.
zenCoding for writing csscomb code
to put rules in a specific order
I format CSS with TopStyle . It even allows you to configure a number of parameters by which the style will be formatted.
I don't format jQuery with JSMin plugin for Notepad++
PHP, so I can't help.
Found a wonderful Html-css-js-prettify plugin ( https://github.com/victorporof/Sublime-HTMLPrettify ).
In Sublime Text 3, I use the Tag plugin to format HTML. Try it! There is also my video 10 plugins for Sublime Text 3 , there at 12:40 "I'm talking about it.
there is a csslisible plugin just for this - github.com/thierrylemoulec/Sublime-Csslisible
but it is somehow broken now.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question