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.
Asked
Active
Viewed 1.2k times
25
-
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
5 Answers
27
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
shooma
- 375
- 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
24
I solved this by using Material Theme. Settings -> Appearance & Behavior -> Material Theme -> Project View -> Custom Sidebar Height.
Oddrigue
- 480
- 5
- 17
Макс Ветер
- 349
- 2
- 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
13
I think it's possible only for editor. You can change it using this settings panel:
Igor Konoplyanko
- 8,866
- 6
- 55
- 94
-
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
1
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
David
- 4,621
- 6
- 35
- 60