Skip to content

Commit a51c601

Browse files
committed
deploy: 9b362f2
1 parent 557a898 commit a51c601

6 files changed

Lines changed: 45 additions & 62 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/custom-themes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ previous:
1111
title: Project Title Bar Settings
1212
next:
1313
url: '/docs/configuration/language-additions'
14-
title: Recommended plugins
14+
title: Language Additions
1515
---
1616

1717
Create your own custom themes.
1818
{:class='title'}
1919

2020
{% include carbonads.html %}
2121

22-
This feature is exclusive to premium users. You can purchase a premium license for the plugin or a dedicated license for this feature via the following link: [Material Theme Custom Theme](https://plugins.jetbrains.com/plugin/19308-material-theme-ui-custom-theme/edit).
22+
This feature is exclusive to premium users. You can purchase a premium license for the plugin or a dedicated license for this feature via the following link: [Material Theme Custom Theme](https://plugins.jetbrains.com/plugin/19308-material-theme-ui-custom-theme).
2323
{:class='card-panel warn'}
2424

2525
## Introduction

docs/configuration/language-additions.md

Lines changed: 42 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -10,52 +10,55 @@ previous:
1010
url: '/docs/configuration/custom-themes'
1111
title: Custom Themes
1212
next:
13-
url: '/docs/configuration/custom-themes'
14-
title: Custom Themes
13+
url: '/docs/configuration/islands-settings'
14+
title: Islands Settings
1515

1616
---
1717

18-
This feature is only available for premium users.
19-
{:class='card-panel warn'}
20-
21-
Augment languages highlighting capabilities.
18+
Enhance your code's clarity with granular syntax highlighting.
2219
{:class='title'}
2320

2421
{% include carbonads.html %}
2522

26-
## Intro
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.
24+
{:class='card-panel warn'}
25+
26+
## Overview
27+
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.
2729

28-
This feature is much more oriented development than the others as it provides new features for the Color Schemes rather than the UI. Basically, it adds more
29-
customization to the Color Schemes by providing more syntax highlighting options than the original bundled ones, thus enhancing visual grepping.
30+
{% include figure.html content="/screens/settingsv3/langAdditions.png" caption="Language Additions Settings" %}
3031

31-
{% include figure.html content="/screens/jsExtensions.png" caption="JavaScript Additions" %}
32+
These additions are integrated directly into the **Color Scheme** settings pages for each supported language, titled `<Language> Additions`.
3233

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

35-
At the moment the only supported languages are:
36+
{% include figure.html content="/screens/additions/phpAdditions.png" caption="PHP Additions Settings" %}
3637

38+
### Supported Languages
39+
40+
Language Additions are currently available for several popular languages:
41+
42+
- **Java**
43+
- **Kotlin**
3744
- **JavaScript**
3845
- **TypeScript**
39-
- **Java**
4046
- **PHP**
41-
- **Kotlin**
4247
- **Python**
4348
- **Ruby**
4449
- **Go**
4550
- **Rust**
4651

47-
Planned languages:
48-
- **C#**
49-
- **Dart**
50-
- **Bash**
52+
**Note**: We plan to allow other plugin authors to contribute their own language additions in the future.
53+
{:class='card-panel info'}
5154

52-
### JavaScript/TypeScript
55+
### JavaScript / TypeScript
5356

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

5659
- `this`, `super`
5760
- `if`, `else`, `for`, `while`, `do`
58-
- `constructor`,
61+
- `constructor`
5962
- `return`, `yield`
6063
- `new`, `throw`
6164
- `async`, `await`
@@ -82,18 +85,18 @@ The following keywords are customizable:
8285

8386
### Java
8487

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

87-
- `abstract` `extends`, `implements`, `native`
90+
- `abstract`, `extends`, `implements`, `native`
8891
- `assert`
8992
- `byte`, `short`, `int`, `long`, `float`, `double`, `char`, `boolean`, `void`
9093
- `class`, `interface`
9194
- `enum`
92-
- `for`, `while`, `do`,
95+
- `for`, `while`, `do`
9396
- `if`, `else`
9497
- `package`, `import`
9598
- `instanceof`
96-
- `module`, `exports`, `requires`, `opens`, `provides`, `uses`, `with`, `transitive`, `uses`
99+
- `module`, `exports`, `requires`, `opens`, `provides`, `uses`, `with`, `transitive`
97100
- `new`
98101
- `true`, `false`
99102
- `null`
@@ -104,27 +107,27 @@ The following keywords are customizable:
104107
- `switch`, `case`, `default`
105108
- `synchronized`, `volatile`, `transient`
106109
- `this`, `super`
107-
- `throw`, `throws`,
110+
- `throw`, `throws`
108111
- `try`, `catch`, `finally`
109112
- `var`
110113

111114
### PHP
112115

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

115118
- `echo`
116119
- `exit`, `die`
117120
- `function`
118121
- `null`
119-
- `private`, `public` and `protected`
122+
- `private`, `public`, `protected`
120123
- `self`
121124
- `static`, `final`
122125
- `true`, `false`
123126
- `use`, `namespace`
124127

125128
### Kotlin
126129

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

129132
- `private`, `public`, `protected`, `internal`
130133
- `sealed`, `override`, `open`
@@ -138,9 +141,9 @@ The following keywords are customizable
138141

139142
### Python
140143

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

143-
- `True`, `False` and `None`
146+
- `True`, `False`, `None`
144147
- `as`
145148
- `async`, `await`
146149
- `class`
@@ -149,7 +152,7 @@ The following keywords are customizable:
149152
- `import`, `from`
150153
- `print`
151154
- `raise`
152-
- `return` and `yield`
155+
- `return`, `yield`
153156
- `try`, `except`, `finally`
154157
- `with`
155158

@@ -187,8 +190,6 @@ The following keywords are customizable:
187190

188191
### Go
189192

190-
Available since 7.9.0
191-
192193
**Functions**:
193194

194195
- `main`
@@ -219,22 +220,9 @@ Available since 7.9.0
219220

220221
----
221222

222-
#### Enforce highlighting (deprecated since 7.10.0)
223-
224-
Due to a limitation in JetBrains' syntax highlighting, some additions might not be highlighted as expected,
225-
as the language's highlighting will take precedence over the additions.
226-
To remedy that, a setting has been added in the Material Theme Settings, **Enforce Highlighting**,
227-
which would give the language additions higher precedence by making them appear as _Weak Warnings_.
228-
229-
{% include figure.html content="/screens/archive/enforceHighlighting.png" caption="Enforce Highlighting" %}
230-
231-
This, of course, has the side effect of adding a lot of "fake errors", therefore, it's disabled by default.
232-
233-
----
234-
235223
### Rust
236224

237-
The following keywords are customizable:
225+
The following keywords and elements are customizable:
238226

239227
- `as`
240228
- `async`, `await`
@@ -267,24 +255,18 @@ The following keywords are customizable:
267255

268256
----
269257

270-
## Disabling the feature
271-
272-
Just like other features, you can also disable language additions if you don't need them for performance reasons or simply if you don't like them.
273-
274-
You can find the setting under `Material Theme UI > Language Additions`.
275-
276258
### Advanced Toggles
277259

278-
Since version 9.0.0, you can now disable specific language additions, in case you don't want to use them all.
260+
Individual Language Additions can be enabled or disabled globally through the **Advanced Settings** page.
279261

280-
{% include figure.html content="/screens/additionsToggles.png" caption="Additions Toggles" %}
262+
{% include figure.html content="/screens/additions/advancedToggles.png" caption="Advanced Toggles" %}
281263

282264
---
283265

284266
## FAQ
285267

286-
**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.
287271

288-
**A**: Since these are *Additions*, of course, other schemes would be unaware of these new entries and would revert to the default keyword color.
289-
However, color scheme designers can provide their own color definitions for the new entries if they choose to *Export scheme* after having selected their
290-
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.
30.1 KB
Loading
310 KB
Loading
302 KB
Loading

0 commit comments

Comments
 (0)