Hirse / brackets-beautify

Brackets Extension to beautify JavaScript, HTML, and CSS files.
MIT License
34 stars 3 forks source link

Request: Option to preserve HTML attribute line breaks #21

Open kvnapavl opened 8 years ago

kvnapavl commented 8 years ago
screen shot 2016-06-16 at 9 43 19 am
kvnapavl commented 8 years ago

Something like:

if num_html_attr > 2 { stack HTML attr }

Hirse commented 8 years ago

Please have a look at the wrap_attributes option in the settings.

kvnapavl commented 8 years ago

OK. I must have the .jsbeautifyrc file installed in the wrong location. It is still not working for me when I run the script from the Brackets edit menu.

kvnapavl commented 8 years ago

Am I supposed to set a default.qsbeautifyrc file to "wrap_attributes": "force"? I am still having trouble with this...