我正在使用PhpStorm,并且正在根据自己的喜好配置自动重新格式化设置。
但是我遇到了一个问题。重新格式化时,它会自动在</p>
之前创建一个换行符,这很好。现在的问题是,它没有在<p>
之后添加换行符,我喜欢这种情况。
这里是一个例子:
重构之前:
<p>A lot of text is placed here and when there is a lot of text.
It will go to the next line</p>
重构后:
<p>A lot of text is placed here and when there is a lot of text.
It will go to the next line
</p>
重构后我想要的东西
<p>
A lot of text is placed here and when there is a lot of text.
It will go to the next line
</p>
问题:在PhpStorm中使用自动重构时,需要更改哪些设置才能获得所需的结果?