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/language-additions.md
+31-31Lines changed: 31 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,29 +15,29 @@ next:
15
15
16
16
---
17
17
18
-
Augments syntax highlighting capabilities.
18
+
Enhance your code's clarity with granular syntax highlighting.
19
19
{:class='title'}
20
20
21
21
{% include carbonads.html %}
22
22
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 pluginlicense or a standalone [Material Theme Language Additions](https://plugins.jetbrains.com/plugin/19309-material-theme-ui-language-additions) license.
24
24
{:class='card-panel warn'}
25
25
26
-
## Language Additions
26
+
## Overview
27
27
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.
29
29
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" %}
31
31
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`.
33
33
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" %}
35
35
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" %}
37
37
38
-
### Languages
38
+
### Supported Languages
39
39
40
-
Language Additions are available for the most popular languages, such as:
40
+
Language Additions are currently available for several popular languages:
41
41
42
42
-**Java**
43
43
-**Kotlin**
@@ -49,16 +49,16 @@ Language Additions are available for the most popular languages, such as:
49
49
-**Go**
50
50
-**Rust**
51
51
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.
53
53
{:class='card-panel info'}
54
54
55
-
### JavaScript/TypeScript
55
+
### JavaScript / TypeScript
56
56
57
-
The following keywords are customizable:
57
+
The following elements can be customized:
58
58
59
59
-`this`, `super`
60
60
-`if`, `else`, `for`, `while`, `do`
61
-
-`constructor`,
61
+
-`constructor`
62
62
-`return`, `yield`
63
63
-`new`, `throw`
64
64
-`async`, `await`
@@ -85,18 +85,18 @@ The following keywords are customizable:
@@ -107,27 +107,27 @@ The following keywords are customizable:
107
107
-`switch`, `case`, `default`
108
108
-`synchronized`, `volatile`, `transient`
109
109
-`this`, `super`
110
-
-`throw`, `throws`,
110
+
-`throw`, `throws`
111
111
-`try`, `catch`, `finally`
112
112
-`var`
113
113
114
114
### PHP
115
115
116
-
The following keywords are customizable:
116
+
The following elements can be customized:
117
117
118
118
-`echo`
119
119
-`exit`, `die`
120
120
-`function`
121
121
-`null`
122
-
-`private`, `public` and`protected`
122
+
-`private`, `public`,`protected`
123
123
-`self`
124
124
-`static`, `final`
125
125
-`true`, `false`
126
126
-`use`, `namespace`
127
127
128
128
### Kotlin
129
129
130
-
The following keywords are customizable
130
+
The following keywords can be customized:
131
131
132
132
-`private`, `public`, `protected`, `internal`
133
133
-`sealed`, `override`, `open`
@@ -141,9 +141,9 @@ The following keywords are customizable
141
141
142
142
### Python
143
143
144
-
The following keywords are customizable:
144
+
The following elements can be customized:
145
145
146
-
-`True`, `False` and`None`
146
+
-`True`, `False`,`None`
147
147
-`as`
148
148
-`async`, `await`
149
149
-`class`
@@ -152,7 +152,7 @@ The following keywords are customizable:
152
152
-`import`, `from`
153
153
-`print`
154
154
-`raise`
155
-
-`return` and`yield`
155
+
-`return`,`yield`
156
156
-`try`, `except`, `finally`
157
157
-`with`
158
158
@@ -222,7 +222,7 @@ The following keywords are customizable:
222
222
223
223
### Rust
224
224
225
-
The following keywords are customizable:
225
+
The following keywords and elements are customizable:
226
226
227
227
-`as`
228
228
-`async`, `await`
@@ -257,16 +257,16 @@ The following keywords are customizable:
257
257
258
258
### Advanced Toggles
259
259
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.
261
261
262
262
{% include figure.html content="/screens/additions/advancedToggles.png" caption="Advanced Toggles" %}
263
263
264
264
---
265
265
266
266
## FAQ
267
267
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.
269
271
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