mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
syntax_highlighting_and_error_highlighting.md: semantic highlighting, reword
This commit is contained in:
parent
bf4e3fe9e5
commit
4e79a101a8
@ -45,9 +45,9 @@ For highlighting lexer errors, the standard `TextAttributesKey` for bad characte
|
||||
>
|
||||
{type="tip"}
|
||||
|
||||
### Semantic ("Rainbow") Highlighting
|
||||
### Semantic Highlighting
|
||||
|
||||
[Semantic highlighting](https://www.jetbrains.com/help/idea/configuring-colors-and-fonts.html#semantic-highlighting) provides an additional coloring layer to improve the visual distinction of several related items (e.g., method parameters).
|
||||
[Semantic highlighting](https://www.jetbrains.com/help/idea/configuring-colors-and-fonts.html#semantic-highlighting) provides an additional coloring layer to improve the visual distinction of several related items (e.g., method parameters, local variables).
|
||||
|
||||
Register [`RainbowVisitor`](upsource:///platform/analysis-impl/src/com/intellij/codeInsight/daemon/RainbowVisitor.java) in `com.intellij.highlightVisitor` extension point.
|
||||
[](#color-settings) must implement [`RainbowColorSettingsPage`](upsource:///platform/platform-api/src/com/intellij/openapi/options/colors/RainbowColorSettingsPage.java) in addition.
|
||||
|
Loading…
x
Reference in New Issue
Block a user