Eugene
Eugene

Reputation: 60224

How to change line space in Project window?

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.

Upvotes: 30

Views: 18447

Answers (7)

Vlad
Vlad

Reputation: 51

LaF Default solution does not work after restart IntelliJ IDEA 2024.1.1

I solved this by

  1. Help -> Edit Custom Properties...

  2. Add height value - 20 or whatever you need

    ide.override.Tree.rowHeight=20

  3. Restart IDEA

Upvotes: 5

superern
superern

Reputation: 158

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.

  1. Enable "Internal Mode"
  2. Open "Find Action" (Ctrl-Shift-A), find "LaF Defaults" and press Enter
  3. Find "Tree.rowHeight" property and change it

Here are the next new steps

  1. Go to Settings > Appearance

  2. Change Font Size to anything (e.g: 13)

  3. Apply ( you should be able to see the difference, you can try rowHeight 40 to see big difference )

  4. -optional- Change it back to your Font Size (you may not need this step if you are satisfied with your current font size)

Upvotes: 1

David
David

Reputation: 4895

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

Upvotes: 1

prashant.kr.mod
prashant.kr.mod

Reputation: 1722

version: IntelliJ IDEA Community Edition 2020.3.2

File-> Settings-> Editor-> Font-> Line spacing

enter image description here

Upvotes: 2

shooma
shooma

Reputation: 495

Found solution in IDEA ticket (thanks for support help!):

  1. Enable "Internal Mode"

  2. Open "Find Action" (Ctrl-Shift-A), find "LaF Defaults" and press Enter

  3. Find "Tree.rowHeight" property and change it

Value 20 is perfect for me

Upvotes: 34

Макс Ветер
Макс Ветер

Reputation: 389

I solved this by using Material Theme. Settings -> Appearance & Behavior -> Material Theme -> Project View -> Custom Sidebar Height.

enter image description here

Upvotes: 28

Igor Konoplyanko
Igor Konoplyanko

Reputation: 9374

I think it's possible only for editor. You can change it using this settings panel: enter image description here

Upvotes: 14

Related Questions