Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Big line number columns in intellij

My line number column width in intellij idea is weird.

Its a lot big when tabs are closed:

enter image description here

If I expand any of tab, it looks like this:

enter image description here

Is this feature or bug? How do I fix it?

like image 782
Mahesha999 Avatar asked Oct 22 '25 22:10

Mahesha999


2 Answers

I got this error in Build #IU-241.14494.240, built on March 28, 2024.

And turning off editor.distraction.free.mode worked for me but it was temporary. So when I restarted the IDE I got the same thing again.

Here's how I solved it, go to:

Settings->Advanced Settings->Left margin in distraction free mode

and if this value is -1, change it to 0.

So far I haven't encountered any problems, but it will take some use to see if it affects anything else.

like image 143
Metehan Altuntas Avatar answered Oct 25 '25 22:10

Metehan Altuntas


Make sure "editor.distraction.free.mode" isn't enabled in Registry. Otherwise this is a bug: https://youtrack.jetbrains.com/issue/IDEA-148002

like image 44
Arseniy Nisnevich Avatar answered Oct 25 '25 21:10

Arseniy Nisnevich



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!