You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration/custom-themes.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,15 @@ previous:
11
11
title: Project Title Bar Settings
12
12
next:
13
13
url: '/docs/configuration/language-additions'
14
-
title: Recommended plugins
14
+
title: Language Additions
15
15
---
16
16
17
17
Create your own custom themes.
18
18
{:class='title'}
19
19
20
20
{% include carbonads.html %}
21
21
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).
Copy file name to clipboardExpand all lines: docs/configuration/language-additions.md
+42-60Lines changed: 42 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,52 +10,55 @@ previous:
10
10
url: '/docs/configuration/custom-themes'
11
11
title: Custom Themes
12
12
next:
13
-
url: '/docs/configuration/custom-themes'
14
-
title: Custom Themes
13
+
url: '/docs/configuration/islands-settings'
14
+
title: Islands Settings
15
15
16
16
---
17
17
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.
22
19
{:class='title'}
23
20
24
21
{% include carbonads.html %}
25
22
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.
27
29
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" %}
30
31
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`.
32
33
33
-
## Additions
34
+
{% include figure.html content="/screens/additions/jsAdditions.png" caption="JavaScript Additions Settings" %}
34
35
35
-
At the moment the only supported languages are:
36
+
{% include figure.html content="/screens/additions/phpAdditions.png" caption="PHP Additions Settings" %}
36
37
38
+
### Supported Languages
39
+
40
+
Language Additions are currently available for several popular languages:
41
+
42
+
-**Java**
43
+
-**Kotlin**
37
44
-**JavaScript**
38
45
-**TypeScript**
39
-
-**Java**
40
46
-**PHP**
41
-
-**Kotlin**
42
47
-**Python**
43
48
-**Ruby**
44
49
-**Go**
45
50
-**Rust**
46
51
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'}
51
54
52
-
### JavaScript/TypeScript
55
+
### JavaScript / TypeScript
53
56
54
-
The following keywords are customizable:
57
+
The following elements can be customized:
55
58
56
59
-`this`, `super`
57
60
-`if`, `else`, `for`, `while`, `do`
58
-
-`constructor`,
61
+
-`constructor`
59
62
-`return`, `yield`
60
63
-`new`, `throw`
61
64
-`async`, `await`
@@ -82,18 +85,18 @@ The following keywords are customizable:
@@ -104,27 +107,27 @@ The following keywords are customizable:
104
107
-`switch`, `case`, `default`
105
108
-`synchronized`, `volatile`, `transient`
106
109
-`this`, `super`
107
-
-`throw`, `throws`,
110
+
-`throw`, `throws`
108
111
-`try`, `catch`, `finally`
109
112
-`var`
110
113
111
114
### PHP
112
115
113
-
The following keywords are customizable:
116
+
The following elements can be customized:
114
117
115
118
-`echo`
116
119
-`exit`, `die`
117
120
-`function`
118
121
-`null`
119
-
-`private`, `public` and`protected`
122
+
-`private`, `public`,`protected`
120
123
-`self`
121
124
-`static`, `final`
122
125
-`true`, `false`
123
126
-`use`, `namespace`
124
127
125
128
### Kotlin
126
129
127
-
The following keywords are customizable
130
+
The following keywords can be customized:
128
131
129
132
-`private`, `public`, `protected`, `internal`
130
133
-`sealed`, `override`, `open`
@@ -138,9 +141,9 @@ The following keywords are customizable
138
141
139
142
### Python
140
143
141
-
The following keywords are customizable:
144
+
The following elements can be customized:
142
145
143
-
-`True`, `False` and`None`
146
+
-`True`, `False`,`None`
144
147
-`as`
145
148
-`async`, `await`
146
149
-`class`
@@ -149,7 +152,7 @@ The following keywords are customizable:
149
152
-`import`, `from`
150
153
-`print`
151
154
-`raise`
152
-
-`return` and`yield`
155
+
-`return`,`yield`
153
156
-`try`, `except`, `finally`
154
157
-`with`
155
158
@@ -187,8 +190,6 @@ The following keywords are customizable:
187
190
188
191
### Go
189
192
190
-
Available since 7.9.0
191
-
192
193
**Functions**:
193
194
194
195
-`main`
@@ -219,22 +220,9 @@ Available since 7.9.0
219
220
220
221
----
221
222
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
-
235
223
### Rust
236
224
237
-
The following keywords are customizable:
225
+
The following keywords and elements are customizable:
238
226
239
227
-`as`
240
228
-`async`, `await`
@@ -267,24 +255,18 @@ The following keywords are customizable:
267
255
268
256
----
269
257
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
-
276
258
### Advanced Toggles
277
259
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.
279
261
280
-
{% include figure.html content="/screens/additionsToggles.png" caption="Additions Toggles" %}
262
+
{% include figure.html content="/screens/additions/advancedToggles.png" caption="Advanced Toggles" %}
281
263
282
264
---
283
265
284
266
## FAQ
285
267
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.
287
271
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.
0 commit comments