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.35k stars 202 forks source link

Rider: Rainbowify is not working for opened file when power save mode enabled and then disabled #2725

Closed fr4gles closed 3 weeks ago

fr4gles commented 3 weeks ago

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

Yes

Your programming languages

C#

Free or paid?

Paid users

Expected Behavior

When "power save mode" is disabled (automatically with plugin or manually), the currently openeded and focused file is rainbowify'ied correctly.

Current Behavior

On many occasions I want to save battery drain in Jetbrains software when not currently in use, therefore I enable "power save mode", automatically with plugin or manually. Unfortunately when "power save mode" is enabled, the currently focused file is not rainbowify'ied. I need to close file and re-open it.

Code snippet for reproduce

Repro steps:

  1. Open C# file
  2. Enable rider "power save mode"
  3. Disable rider "power save mode" after some time.

rider64_2024-04-16_10-03-07

Your Environment

fr4gles commented 3 weeks ago

Seems like a problem with Jetbrains "color identifiers" functionality. I've totally forgot that it is build-in into rider 🤦🏻‍♂️

Closing it.