Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phpstorm line numbers column width

The numbers column is very wide, and this is bothers me. I want to open more workspaces. Therefore I want it to be narrow. How do I do this?

Screenshot

like image 229
Kvlknctk Avatar asked Jan 31 '16 13:01

Kvlknctk


3 Answers

I use PHPStorm Version 2017.1.4. In this version there is an option to hide gutter icons, which reduces the line number column width. Even if there are no gutter icons visible, the space is still allocated. If you don't need these icons, you can choose to hide them in the settings and the column width will be reduced.

Navigate in settings to: Editor > General > Gutter Icons
Uncheck: "Show Gutter Icons"

Before Image: https://i.stack.imgur.com/QGRjH.jpg After Image: https://i.stack.imgur.com/e4u4F.jpg

like image 106
Platever Avatar answered Nov 10 '22 10:11

Platever


It seems that is not possible because the place is used by others functionality of PHPStorm. Others questions on StakOverflow deal with disable this other functionality on this place but is not possible too.

We have nothing action on this place of PHPStorm. Use or no functionality.

You can try to open an issue on jetBrains website...

like image 5
darkomen Avatar answered Nov 10 '22 10:11

darkomen


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 1
Popeye Avatar answered Nov 10 '22 08:11

Popeye