Skip to content

Commit 3b6b802

Browse files
committed
Update "Trees Settings" documentation: refine hierarchy, update terminology, and add new visuals for customization options.
1 parent 64339d9 commit 3b6b802

22 files changed

Lines changed: 38 additions & 54 deletions

docs/configuration/trees-settings.md

Lines changed: 38 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Trees Settings can be grouped into the following categories:
3434

3535
{% include figure.html content="/screens/settingsv3/treeSettings.png" caption="Trees Settings" %}
3636

37+
----
38+
3739
## Spacing Settings
3840

3941
These options control various elements regarding the spacing in tree views.
@@ -55,89 +57,71 @@ This setting allows you to adjust the vertical spacing between items in tree vie
5557
{% include figure.html content="/screens/trees/largeLineHeight.png" caption="Large Line Height" %}
5658

5759
----
58-
### Custom font
59-
60-
This feature is only available for premium users.
61-
{:class='card-panel warn'}
62-
63-
Since version 6.10.0 you have the ability to customize the _Project View_'s **font family** and **size**.
64-
65-
<div class="masonry">
6660

67-
{% include figure.html content="/screens/customTreeFont.png" caption="Tree Font Settings" %}
61+
### Custom font
6862

69-
{% include figure.html content="/screens/treeFont.png" caption="Custom Tree Font" %}
63+
Here you can customize the font family and font size of tree views without impacting the rest of the IDE.
7064

71-
It also affects other trees as well, such as the _Find Usages_, _Settings_… (but not all).
65+
{% include figure.html content="/screens/trees/customFont1.png" caption="Custom Font and Font Size" %}
7266

73-
</div>
67+
{% include figure.html content="/screens/trees/customFont2.png" caption="Custom Font and Font Size" %}
7468

75-
**Note**: Although changing the font affects most trees right away, the _Project View_ still needs a restart for the changes to be visible.
76-
{:class='card-panel warn'}
7769

7870
----
79-
### Indicator style and thickness
71+
### Indicators
8072

81-
This feature is only available for premium users.
82-
{:class='card-panel warn'}
73+
Here you can choose between different styles for the tree view indicators.
8374

84-
This setting allows you to customize the _Selected Tree Item Indicator_ (the left accentued border) for more flavors.
75+
{% include figure.html content="/screens/trees/indicators.png" caption="Indicators" %}
8576

86-
These are the available styles:
77+
You can choose from the following styles:
8778

88-
| Style | Screenshot |
89-
|:-------|:---------------------------------------------------|
90-
| Border | <img src="/img/screens/borderIndicator.png"> |
91-
| Sharp | <img src="/img/screens/selectedTreeIndicator.png"> |
92-
| Dot | <img src="/img/screens/dotTreeIndicator.png"> |
93-
| None | (no indicator) |
79+
| Style | Screenshot |
80+
|:-----------------|:--------------------------------------------------|
81+
| Border (default) | <img src="/img/screens/indicators/border.png"> |
82+
| Sharp Border | <img src="/img/screens/indicators/sharp.png"> |
83+
| Dot | <img src="/img/screens/indicators/dot.png"> |
84+
| Boxed | <img src="/img/screens/indicators/boxes.png"> |
85+
| Right Border | <img src="/img/screens/indicators/right.png"> |
86+
| Underline | <img src="/img/screens/indicators/underline.png"> |
87+
| None | (no indicator) |
9488

9589
You can also customize the thickness of the said indicator with a value between `1` and `5`.
9690

9791
Additionally, you can choose to:
9892
- **Use gradient**: Set the indicator color as a gradient of the accent color and a second color.
9993
- **Use complementary color**: Use the complementary color of the Accent Color, or use your own.
10094

101-
Moreover, you can switch styles from the [Actions Panel](/docs/configuration/quick-actions-panel).
95+
{% include figure.html content="/screens/trees/gradient.png" caption="Gradient Indicator" %}
10296

103-
----
104-
### Arrows style
97+
{% include figure.html content="/screens/trees/thickGradientBox.png" caption="Thick Boxed Indicator with Gradient" %}
10598

106-
This setting is controlled by the [Atom Material Icons](https://plugins.jetbrains.com/plugin/10044-atom-material-icons) plugin.
99+
Moreover, you can switch styles from the [Actions Panel](/docs/configuration/quick-actions-panel).
107100

108101
----
109-
### Colored open directories
110-
111-
This feature is only available for premium users.
112-
{:class='card-panel warn'}
113-
114-
This setting allows you to colorize directories with opened files with the Accent color.
115-
This could be useful to immediately differentiate between files and directories, with the default being off.
116-
117-
{% include figure.html content="/screens/boldDirectories.png" caption="Colored open directories" %}
118102

119-
Please note that this is different from the [Styled Directories](#styled-directories) feature, which is a _Color Scheme_ feature.
103+
### Arrows style
120104

121-
----
122-
### Styled directories
105+
Here you get the option to select between a list of different arrow styles.
123106

124-
This feature is only available for premium users.
125-
{:class='card-panel warn'}
107+
{% include figure.html content="/screens/trees/arrows.png" caption="Arrows Styles" %}
126108

127-
This setting allows you to set a custom style for directories in the _Project View_.
128-
This could be useful to immediately differentiate between files and directories, with the default being off.
109+
You can choose from the following styles:
129110

130-
The options for configuring the style of directories can be found inside the
131-
[Custom File Colors Settings](/docs/configuration/file-status-colors#directories).
111+
| Style | Screenshot |
112+
|:-------------------|:----------------------------------------------|
113+
| Material (default) | <img src="/img/screens/arrows/default.png"> |
114+
| Triangle | <img src="/img/screens/arrows/triangle.png"> |
115+
| Arrows | <img src="/img/screens/arrows/arrows.png"> |
116+
| Plus-Minus | <img src="/img/screens/arrows/plusMinus.png"> |
117+
| Circle | <img src="/img/screens/arrows/circle.png"> |
132118

133-
Please note that since it's a _Color Scheme_ feature, the style must be configured per color scheme rather than app-wide.
134-
This is great though for applying different styles according to the color scheme.
119+
**Note**: If you have the [Atom Material Icons](https://plugins.jetbrains.com/plugin/10044-atom-material-icons) plugin installed, this setting will be disabled as it is controlled by that plugin.
135120
{:class='card-panel warn'}
136121

137-
This feature is available from versions **2.9** and up.
138-
139122
----
140-
### Notes
123+
### Colored open directories
124+
125+
This setting applies the accent color to the directories of open files in the _Project View_.
141126

142-
- Tree views' settings work for all tree views, even views such as "Project Structure" or "Remote Host".
143-
- _Font size_ also replaces the font of the settings tree.
127+
{% include figure.html content="/screens/trees/coloredOpen.png" caption="Colored open directories" %}

img/screens/arrows/arrows.png

12.5 KB
Loading

img/screens/arrows/circle.png

14 KB
Loading

img/screens/arrows/material.png

12.1 KB
Loading

img/screens/arrows/none.png

12 KB
Loading

img/screens/arrows/plusMinus.png

12.4 KB
Loading

img/screens/arrows/triangle.png

12.6 KB
Loading

img/screens/indicators/border.png

2.76 KB
Loading

img/screens/indicators/boxed.png

-4.01 KB
Loading

img/screens/indicators/dot.png

3.06 KB
Loading

0 commit comments

Comments
 (0)