Have you checked the issues and discussions to ensure there are no duplicates?
Yes
Are you using JetBrains Client / Code With Me / IntelliJ Remote Development?
No
Your programming languages
Java/Kotlin
Free or paid?
Paid users
Expected Behavior
When I open a diff window, I want to see the diff window highlighting, even when the cursor is inside of a scope.
In this image the cursor is on line 2, outside of the scope.
Current Behavior
The scope highlighting overrides the diff highlighting.
In this image the cursor is on line 4, inside the scope.
Code snippet for reproduce
Any piece of code that has scopes. Example from the images:
package com.example
data class SomeOtherFile(
val id: String,
val description: String,
)
Your Environment
--- RainbowBrackets Settings ---
<RainbowSettings>
<option name="applyColorsOfRoundForAllBrackets" value="false" />
<option name="bigFilesLinesThreshold" value="5000" />
<option name="borderHighlightingStrength" value="0.28" />
<option name="colorGenHueOption" value="random" />
<option name="colorGenLuminosityOption" value="auto" />
<option name="customIndentGuides" value="false" />
<option name="cycleCountOnAllBrackets" value="false" />
<option name="disableRainbowIndentsInZenMode" value="true" />
<option name="disableReaderMode" value="false" />
<option name="doNOTRainbowifyBigFiles" value="true" />
<option name="doNOTRainbowifyBracketsWithoutContent" value="false" />
<option name="doNOTRainbowifyTemplateString" value="false" />
<option name="doNOTRainbowifyTheFirstLevel" value="false" />
<option name="enableRainbowAngleBrackets" value="true" />
<option name="enableRainbowRoundBrackets" value="true" />
<option name="enableRainbowSquareBrackets" value="true" />
<option name="enableRainbowSquigglyBrackets" value="true" />
<option name="enableRainbowVariables" value="true" />
<option name="enableRainbowVariablesBySemanticHighlighting" value="false" />
<option name="highlightCurrentBlockOptions" value="Highlight" />
<option name="indentGuideLineHighlightingStrength" value="0.43" />
<option name="indentGuidesOptions" value="All indent guide related" />
<option name="languageBlacklist">
<set>
<option value="hocon" />
<option value="mxml" />
<option value="Twig" />
</set>
</option>
<option name="numberOfColors" value="5" />
<option name="overrideMatchedBraceAttributes" value="true" />
<option name="pressAnyKeyToRemoveTheHighlightingEffects" value="false" />
<option name="rainbowEnabled" value="true" />
<option name="rainbowVariablesOptionShowed" value="false" />
<option name="rainbowifyHTMLInsideJS" value="true" />
<option name="rainbowifyKotlinFunctionLiteralBracesAndArrow" value="true" />
<option name="rainbowifyKotlinLabel" value="true" />
<option name="rainbowifyPythonKeywords" value="true" />
<option name="rainbowifyRubyKeywords" value="false" />
<option name="rainbowifyTagNameInXML" value="true" />
<option name="rainbowifyTagNameInYAML" value="true" />
<option name="restrainHighlightingBGColor" value="#808080" />
<option name="restrainHighlightingFGColor" value="#808080" />
<option name="restrainHighlightingKeepOriginalColor" value="false" />
<option name="restrainHighlightingStrength" value="0.45" />
<option name="scopeHighlightStrength" value="0.02" />
<option name="semanticHighlightingList">
<set>
<option value="C#" />
<option value="F#" />
<option value="Dart" />
<option value="FreeMarker" />
<option value="C++" />
</set>
</option>
<option name="showNotificationOnUpdate" value="true" />
<option name="showRainbowIndentGuides" value="true" />
<option name="suppressAdvancedIndentGuidesBanner" value="false" />
<option name="suppressBigFileCheck" value="false" />
<option name="suppressBlackListCheck" value="false" />
<option name="suppressDisabledCheck" value="false" />
<option name="suppressLicenseBanner" value="false" />
<option name="suppressRubyCheck" value="false" />
<option name="suppressXMLCheck" value="false" />
<option name="suppressYAMLCheck" value="false" />
<option name="useColorGenerator" value="false" />
<option name="useColorGeneratorForRainbowVariables" value="false" />
<option name="version" value="2025.3.7" />
</RainbowSettings>
--- Environment Info ---
License Status: valid
Plugin Version: 2025.3.7
IDE Version: 2025.3.1.1
IDE Build: IU-253.29346.240
OS: Windows 11 (10.0)
Max Memory: 2048M
Free Memory: 571M
Cores: 16
Non Bundled Plugins:
MavenRunHelper: 5.0.0-IJ2025.1
PythonCore: 253.29346.240
Pythonid: 253.29346.240
String Manipulation: 9.16.0
Subversion: 253.29346.379
com.andrey4623.rainbowcsv: 2.0.2
com.dsoftware.ghtoolbar: 2025.2.11
com.github.copilot: 1.6.1-243
com.haulmont.jpab: 253.29346.50
com.intellij.classic.ui: 253.28294.218
com.intellij.ml.llm: 253.29346.420
com.intellij.spring.debugger: 253.29346.45
com.intellij.spring.websocket: 253.28294.251
com.intellij.spring.ws: 253.28294.251
com.intellij.spring: 253.29346.331
com.jetbrains.jax.ws: 253.28294.251
com.jetbrains.restClient: 253.29346.270
cucumber-java: 253.28294.251
gherkin: 253.28294.218
izhangzhihao.rainbow.brackets: 2025.3.7
manjaro.mpb: 1.9
net.seesharpsoft.intellij.plugins.csv: 4.2.0
zielu.gittoolbox: 600.2.3+253
--- vmoptions ---
-Xmx2048m
-Dide.managed.by.toolbox=C:\Users\SD296958\AppData\Local\JetBrains\Toolbox\bin\jetbrains-toolbox.exe
-Dtoolbox.notification.portFile=C:\Users\SD296958\AppData\Local\JetBrains\Toolbox\cache\ports\5bf0a985-6423-482
Have you checked the issues and discussions to ensure there are no duplicates?
Yes
Are you using JetBrains Client / Code With Me / IntelliJ Remote Development?
No
Your programming languages
Java/Kotlin
Free or paid?
Paid users
Expected Behavior
When I open a diff window, I want to see the diff window highlighting, even when the cursor is inside of a scope.
In this image the cursor is on line 2, outside of the scope.
Current Behavior
The scope highlighting overrides the diff highlighting.
In this image the cursor is on line 4, inside the scope.
Code snippet for reproduce
Any piece of code that has scopes. Example from the images: package com.example data class SomeOtherFile( val id: String, val description: String, )Your Environment