Why does reformat code keep doing it to my HTML? How to disable new lines, code wrap?

 

It is breaking down by attribute and placing one character per line every html tag! How to disable this? I searched the whole preferences menu! I can not stand it anymore. 

 

 

Why is it doing it? Who invented this defaults? I would like it to be one line always no matter how long it is.

0
3 comments

What Hard wrap at: value do you have specified in Settings | Editor | Code Style | HTML | Other? Could you please  share a screenshot of this page?

0

 

Here is my page, I have managed to disable this. But I still can not find how to stop PhpStorm from adding new lines when I expand abbreviation (emmet) for `a` or `img`. Where is that settings? I don't want it add any new lines at all.

 

0

If you like to keep the generated img tag on the same line with div, please try adding div to the list of the tags in Don't break if inline content option.

0

Please sign in to leave a comment.