Java – IntelliJ – coding style issues

Sorry for the wide range of questions, but how do I set IntelliJ to wrap long method calls as follows:

The style of aligning methods with each other on new lines

This is what happens after building the project / reopening IntelliJ:

Solution

In my case, it works normally, even if one line exceeds the limit (after reformatting):

This is the default behavior (at least in idea 15.0.1) If I were you, I would reset the code style settings (save it before) and start applying your changes one by one until I find something

For reference only, my settings also apply to your situation:

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>