Intellij doesn't auto format correctly

I have imported our custom code style.
It says for instance Right margin 156.

However, when I try to auto format my code, I can still have over 300 line on the right margin, so something is not correct.

I have attached two images illustrating my problem.



Attachment(s):
codestyle.png
length.png
0
Avatar
Permanently deleted user

Never mind, I see that i need to check the box "Wrap if right margin" checkbox

0

请先登录再写评论。