Skip to content

Commit 9b362f2

Browse files
committed
Refine "Language Additions" documentation with improved phrasing, enhanced structure, updated visuals, and clarity on customization options. Add "Islands Settings" to navigation.
1 parent 9edf520 commit 9b362f2

2 files changed

Lines changed: 32 additions & 31 deletions

File tree

_data/nav.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- title: Project Title Bar Settings
1818
- title: Custom Themes
1919
- title: Language Additions
20+
- title: Islands Settings
2021
- title: Other Tweaks Settings
2122
- title: Quick Actions Panel
2223
- title: Excluded Files Colors

docs/configuration/language-additions.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,29 @@ next:
1515

1616
---
1717

18-
Augments syntax highlighting capabilities.
18+
Enhance your code's clarity with granular syntax highlighting.
1919
{:class='title'}
2020

2121
{% include carbonads.html %}
2222

23-
This feature is only available for premium users. You can either buy a premium license for the plugin, or purchase the license for this feature only by going to this link: [Material Theme Language Additions](https://plugins.jetbrains.com/plugin/19309-material-theme-ui-language-additions).
23+
This is a **premium feature**. You can unlock it by purchasing a full plugin license or a standalone [Material Theme Language Additions](https://plugins.jetbrains.com/plugin/19309-material-theme-ui-language-additions) license.
2424
{:class='card-panel warn'}
2525

26-
## Language Additions
26+
## Overview
2727

28-
This feature enhances the IDE's syntax highlighting by allowing you to colorize keywords, functions, and primitives individually. This results in a more vibrant coding environment and helps you quickly distinguish between different types of code elements.
28+
Language Additions significantly improves the IDE's syntax highlighting by allowing you to individually colorize keywords, functions, and primitives. This creates a more readable and vibrant coding environment, helping you instantly distinguish between different code elements.
2929

30-
{% include figure.html content="/screens/settingsv3/langAdditions.png" caption="Language Additions" %}
30+
{% include figure.html content="/screens/settingsv3/langAdditions.png" caption="Language Additions Settings" %}
3131

32-
You can find these additions in specific _Color Scheme_ settings pages, denoted by the `<Language> Additions`.
32+
These additions are integrated directly into the **Color Scheme** settings pages for each supported language, titled `<Language> Additions`.
3333

34-
{% include figure.html content="/screens/additions/jsAdditions.png" caption="JavaScript Additions" %}
34+
{% include figure.html content="/screens/additions/jsAdditions.png" caption="JavaScript Additions Settings" %}
3535

36-
{% include figure.html content="/screens/additions/phpAdditions.png" caption="PHP Additions" %}
36+
{% include figure.html content="/screens/additions/phpAdditions.png" caption="PHP Additions Settings" %}
3737

38-
### Languages
38+
### Supported Languages
3939

40-
Language Additions are available for the most popular languages, such as:
40+
Language Additions are currently available for several popular languages:
4141

4242
- **Java**
4343
- **Kotlin**
@@ -49,16 +49,16 @@ Language Additions are available for the most popular languages, such as:
4949
- **Go**
5050
- **Rust**
5151

52-
**Note**: In the future, we might give the option for other plugin authors to add their own additions as well.
52+
**Note**: We plan to allow other plugin authors to contribute their own language additions in the future.
5353
{:class='card-panel info'}
5454

55-
### JavaScript/TypeScript
55+
### JavaScript / TypeScript
5656

57-
The following keywords are customizable:
57+
The following elements can be customized:
5858

5959
- `this`, `super`
6060
- `if`, `else`, `for`, `while`, `do`
61-
- `constructor`,
61+
- `constructor`
6262
- `return`, `yield`
6363
- `new`, `throw`
6464
- `async`, `await`
@@ -85,18 +85,18 @@ The following keywords are customizable:
8585

8686
### Java
8787

88-
The following keywords are customizable:
88+
The following elements can be customized:
8989

90-
- `abstract` `extends`, `implements`, `native`
90+
- `abstract`, `extends`, `implements`, `native`
9191
- `assert`
9292
- `byte`, `short`, `int`, `long`, `float`, `double`, `char`, `boolean`, `void`
9393
- `class`, `interface`
9494
- `enum`
95-
- `for`, `while`, `do`,
95+
- `for`, `while`, `do`
9696
- `if`, `else`
9797
- `package`, `import`
9898
- `instanceof`
99-
- `module`, `exports`, `requires`, `opens`, `provides`, `uses`, `with`, `transitive`, `uses`
99+
- `module`, `exports`, `requires`, `opens`, `provides`, `uses`, `with`, `transitive`
100100
- `new`
101101
- `true`, `false`
102102
- `null`
@@ -107,27 +107,27 @@ The following keywords are customizable:
107107
- `switch`, `case`, `default`
108108
- `synchronized`, `volatile`, `transient`
109109
- `this`, `super`
110-
- `throw`, `throws`,
110+
- `throw`, `throws`
111111
- `try`, `catch`, `finally`
112112
- `var`
113113

114114
### PHP
115115

116-
The following keywords are customizable:
116+
The following elements can be customized:
117117

118118
- `echo`
119119
- `exit`, `die`
120120
- `function`
121121
- `null`
122-
- `private`, `public` and `protected`
122+
- `private`, `public`, `protected`
123123
- `self`
124124
- `static`, `final`
125125
- `true`, `false`
126126
- `use`, `namespace`
127127

128128
### Kotlin
129129

130-
The following keywords are customizable
130+
The following keywords can be customized:
131131

132132
- `private`, `public`, `protected`, `internal`
133133
- `sealed`, `override`, `open`
@@ -141,9 +141,9 @@ The following keywords are customizable
141141

142142
### Python
143143

144-
The following keywords are customizable:
144+
The following elements can be customized:
145145

146-
- `True`, `False` and `None`
146+
- `True`, `False`, `None`
147147
- `as`
148148
- `async`, `await`
149149
- `class`
@@ -152,7 +152,7 @@ The following keywords are customizable:
152152
- `import`, `from`
153153
- `print`
154154
- `raise`
155-
- `return` and `yield`
155+
- `return`, `yield`
156156
- `try`, `except`, `finally`
157157
- `with`
158158

@@ -222,7 +222,7 @@ The following keywords are customizable:
222222

223223
### Rust
224224

225-
The following keywords are customizable:
225+
The following keywords and elements are customizable:
226226

227227
- `as`
228228
- `async`, `await`
@@ -257,16 +257,16 @@ The following keywords are customizable:
257257

258258
### Advanced Toggles
259259

260-
You can enable/disable the language additions for specific languages by using these toggles.
260+
Individual Language Additions can be enabled or disabled globally through the **Advanced Settings** page.
261261

262262
{% include figure.html content="/screens/additions/advancedToggles.png" caption="Advanced Toggles" %}
263263

264264
---
265265

266266
## FAQ
267267

268-
**Q**: The feature doesn't work! My var/this/debugger keywords are still the same color as the others! By the way, I'm using Darcula/IntelliJ/My custom scheme.
268+
**Q**: The feature doesn't seem to be working. My keywords like `var` or `this` are the same color as the default keyword color, even though I'm using a different color scheme.
269+
270+
**A**: Since these are *Additions*, most color schemes are not natively aware of these specific entries and will fall back to the default keyword color defined by that scheme.
269271

270-
**A**: Since these are *Additions*, of course, other schemes would be unaware of these new entries and would revert to the default keyword color.
271-
However, color scheme designers can provide their own color definitions for the new entries if they choose to *Export scheme* after having selected their
272-
colors, and it will work for people having the plugin installed.
272+
To fix this, you can manually customize the colors in the Language Additions settings page. If you're a theme designer, you can include these color definitions in your exported schemes so that users who have the plugin installed can see your custom highlighting.

0 commit comments

Comments
 (0)