How to have the formatter wrap code with IntelliJ?

后端 未结 7 1235
梦谈多话
梦谈多话 2020-12-22 17:31

I\'m not able to format my code in IntelliJ.

I can see the margin line (by default at 120 columns) but it seems that the activation from the menu:

相关标签:
7条回答
  • 2020-12-22 18:35

    In the latest Intellij ver 2020, we have an option called soft-wrap these files. Settings --> Editor --> General --> soft-wrap these files. Check this option and add the type of files u need wrap.

    0 讨论(0)
提交回复
热议问题