How to change line width in IntelliJ (from 120 character)

后端 未结 6 1532
粉色の甜心
粉色の甜心 2021-01-29 20:27

I was wondering how I can change the line length in IntelliJ.

Since I use a pretty high resolution, I get that line that shows 120 characters straight through the middl

6条回答
  •  太阳男子
    2021-01-29 20:56

    Be aware that need to change both location:

    File > Settings... > Editor > Code Style > "Hard Wrap at"
    
    and
    
    File > Settings... > Editor > Code Style > (your language) > Wrapping and Braces > Hard wrap at
    

提交回复
热议问题