Reputation: 613
I have a problem with code formatting in Intellij Idea 12.1.6. My issue regards breaking lines like that:
<div class="underline">R</div>eject
The above line after applying code formatting is formated like that:
<div class="underline">R</div>
eject
I have looked through Idea's code style settings but have not found any relevant setting.
Have anyone has any idea which setting is responsible for such formatting?
Upvotes: 0
Views: 2901
Reputation: 18869
I tested that the following changes the behavior as per your requirements:
(The numbers in the following steps map to the numbers in the screenshot)
Don't break if inline content
add 'div' by clicking on (4) and then (5).After that attempting to format your code snippet does not push down extent
into the next line.
Upvotes: 3