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.
Please sign in to leave a comment.
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?
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.
If you like to keep the generated
img
tag on the same line withdiv
, please try addingdiv
to the list of the tags in Don't break if inline content option.