izhangzhihao / intellij-rainbow-brackets

🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet
https://plugins.jetbrains.com/plugin/10080-rainbow-brackets
GNU General Public License v3.0
4.44k stars 213 forks source link

Rainbow variables don't work in Rider #2778

Open tbeest opened 4 days ago

tbeest commented 4 days ago

Have you checked the issues and discussions to ensure there are no duplicates?

Yes

Your programming languages

C#

Free or paid?

Paid

Expected Behavior

I would expect variables to be rainbowified when the setting is turned on.

Current Behavior

However that doesn't appear to work.

I have turned off all downloaded plug-ins, save for Rainbow Brackets.
I have tried re-enabling the setting, as well as turning on/off the color generator options. I am using the default dark theme for Rider. image image

Code snippet for reproduce

public class MyClass
{
    public void MyMethod()
    {
        string myString = "";
        int myInt = 0;
        bool myBool = false;

        Console.WriteLine(myString + myInt + myBool);
    }
}

Your Environment

JetBrains Rider 2024.2.4 Build #RD-242.21829.210, built on September 6, 2024 Licensed to [...] Subscription is active until [...] Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.awt.windows.WToolkit Windows 11.0 .NET Core v8.0.4 x64 (Server GC) GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 4054M Cores: 16 Registry: ide.balloon.shadow.size=15 ide.lookup.shrink=true ide.experimental.ui=true i18n.locale= terminal.new.ui=true Non-Bundled Plugins: izhangzhihao.rainbow.brackets (2024.2.6-241)

izhangzhihao commented 4 days ago

Pls don't check "I will enable semantic highlights myself"

tbeest commented 4 days ago

I have that option disabled.

Settings screenshots ![image](https://github.com/user-attachments/assets/54c55f40-0a90-439a-92f6-a2799157f7dc) ![image](https://github.com/user-attachments/assets/4bdffded-633e-41ec-8349-5f2193c0cd6a) ![image](https://github.com/user-attachments/assets/21319cd5-61c7-4106-9d8a-803e488142a4) ![image](https://github.com/user-attachments/assets/d8b64dd8-9363-4566-85dc-2ca606522678) ![image](https://github.com/user-attachments/assets/568d9b41-d4ef-4c27-928a-778d15a38677) ![image](https://github.com/user-attachments/assets/2f4fb7f2-0829-4024-80c5-e2d5c6b74a0f)
izhangzhihao commented 3 days ago

please search "semantic highlights" and check it checked

image
izhangzhihao commented 3 days ago
image image
tbeest commented 3 days ago

image

izhangzhihao commented 3 days ago

please check:

image

Are you using JetBrains Client / Code With Me / IntelliJ Remote Development?