Distraction Free Mode
In the distraction-free mode, the editor occupies the entire IntelliJ IDEA frame, without any editor tabs and tool-window buttons. The code is center-aligned.
- To switch to the distraction-free mode, choose View | Enter Distraction-Free Mode on the main menu.
- To exit the distraction-free mode, choose View | Exit Distraction-Free Mode.
效果图如下:
但是你可能会发现你进入 Distraction free mode
效果是这样的:
左边有一块区域不能,怎么都去不掉。
解决办法:
Setting > Editor > Code Style > 修改 Hard wrap at
里面值最1000(范围是0~1000)