Is it possible to change line space for Project window only in Intellij IDEA? I've seen "Overrride default fonts" in Settings which is "not recommended". Is there a recommended way to do that? Thanks.
-
There was not recommended settings only for specific fonts. What do you mean under 'line space' ? – Igor Konoplyanko Jul 23 '13 at 10:36
-
The space between lines. – Eugene Jul 23 '13 at 10:44
-
Project view is a tree with nodes, font line spacing doesn't control the gaps between the nodes. – CrazyCoder Jul 23 '13 at 12:14
-
@CrazyCoder, is that possible to reduce the space between nodes somehow? – Eugene Jul 24 '13 at 09:02
-
No, it's not possible. Why do you need it? I don't recall anyone ever requested it. – CrazyCoder Jul 24 '13 at 11:32
-
1@CrazeCoder, Just to save some space, to see more so to say :) – Eugene Jul 24 '13 at 14:15
-
Submit a request: http://youtrack.jetbrains.com/issues/IDEA . – CrazyCoder Jul 24 '13 at 23:50
-
I need this too!! Having no line spacing for the editor is silly, especially when you can change the font size – yazz.com Apr 26 '15 at 07:47
-
@CrazyCoder please have a look at my post – prashant.kr.mod Feb 08 '21 at 02:35
6 Answers
Found solution in IDEA ticket (thanks for support help!):
Enable "Internal Mode"
Open "Find Action" (Ctrl-Shift-A), find "LaF Defaults" and press Enter
Find "Tree.rowHeight" property and change it
Value 20 is perfect for me

- 435
- 6
- 8
-
-
-
1
-
1Макс Ветер answer is only for Paid feature for the theme, this way works great, thank you – Ke Vin Jun 24 '21 at 04:40
-
It works, however the value is not persisted and gets back to 28 in my case when the IDE is restarted. – cvigo Jul 05 '21 at 07:14
-
3
-
3This still works. You just need to go Settings > Appearance > Change font size (e.g: 13) > then apply. Change it back (e.g: 12) after you see the change in your project tree rowHeight. – superern Jul 27 '22 at 00:42
-
Is this scriptable? I have a plugin that undoes this on every version update, and I'm keeping the plugin. Don't know about IJ scripting. Would want to change the font size to something else and back again, too, as mentioned ☝️ so that the change takes effect. – WillHaslett Dec 05 '22 at 19:38
I solved this by using Material Theme. Settings -> Appearance & Behavior -> Material Theme -> Project View -> Custom Sidebar Height.

- 554
- 5
- 17

- 379
- 3
- 3
-
-
2This menu item seems to be (re)moved in some later version. I can't find it on 19.3.3. Do you happen to know where it has been moved? – Michiel Haisma Jan 31 '20 at 09:15
-
1@MichieI Haisma, still see it in the Project view, as of 2020/07/31. Maybe it was added back? – Michael Goldshteyn Jul 31 '20 at 13:53
-
Just perfect. Typing 10/12/14 also works in 2020.3 version. default min is 18. – Doogle Jan 30 '21 at 07:43
-
2Updated: The Material Theme is a paid subscription (1.5€/month) theme now. The Answer from @shooma works perfect! – Fabian Marz Apr 13 '21 at 09:15
I think it's possible only for editor. You can change it using this settings panel:

- 9,176
- 6
- 57
- 100
-
That 'Line Spacing' only increase it in code editor. Do you know how to achieve the same in project file list tab? – mc.dev Dec 16 '19 at 22:48
-
@mc.dev 15-yr user of Jetbrains ide's here saying : pretty sure there's no built-in way to do that. there's an answer below that changes plugin them that might do it. – WestCoastProjects Jan 25 '23 at 22:06
-
Btw now there are plenty of UI plugins, so maybe there is something out there – Igor Konoplyanko Jan 26 '23 at 09:01
You can create a Plugin Theme, and set Tree.rowHeight and List.rowHeight to X.
Juste wrote a tutorial about it: https://medium.com/@let92/set-line-height-in-project-view-of-jetbrains-ide-36c07de3254

- 4,785
- 7
- 39
- 63
LaF Default solution of @shooma is still working.
Here are the steps: First Three steps is still the same as @shooma's solution but need further steps to apply your changes.
- Enable "Internal Mode"
- Open "Find Action" (Ctrl-Shift-A), find "LaF Defaults" and press Enter
- Find "Tree.rowHeight" property and change it
Here are the next new steps
Go to Settings > Appearance
Change Font Size to anything (e.g: 13)
Apply ( you should be able to see the difference, you can try rowHeight 40 to see big difference )
-optional- Change it back to your Font Size (you may not need this step if you are satisfied with your current font size)

- 129
- 1
- 9