Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How I got IntelliJ IDEA code Center Aligned?

The code stays in center like Distraction Free Mode any idea where this setting can be found can't seem to find it again?

enter image description here


2 Answers

There is a fix for this now:

IntelliJ IDEA now offers a setting under Settings > Advanced Settings > Left margin in distraction free mode. Set it to 0 to achieve the desired result.

See: https://youtrack.jetbrains.com/issue/IDEA-134555/Distraction-free-mode-the-left-margin-is-too-wide#focus=Comments-27-6085156.0-0

like image 129
Hreinn Juliusson Avatar answered Sep 15 '25 08:09

Hreinn Juliusson


Solved

The issue was that Distraction Free Mode was enabled and then at the same time I enabled the option in Settings > Appearance > Appearance & Behavior toggled Show tool window bars which actually made them visible in Distraction Free Mode but disabled them in Normal mode.

What I learned from this?

So there are two modes and they can be both managed separately.


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!