Search code examples
intellij-ideaphpstormjetbrains-ide

Disable rainbow variables in PhpStorm


I accidentally enabled rainbow variables in PhpStorm and it looks absolutely horrible. It sounds kinda silly but I just cant find the settings to disable them.

enter image description here

I have looked up the extension and followed the steps to uninstall but I haven't found anything related to rainbow variables https://plugins.jetbrains.com/plugin/17748-rainbow-variable

enter image description here

I also uninstalled Rainbow Brackets and everything else relating to styling code or variables from the plugins page

enter image description here

And yes I restarted the IDE after those changes with no success. I'm currently on the version 2022.2.3 of PhpStorm.


Solution

  • If you have disabled that Rainbow Variables plugin and still seeing the functionality then it might be PhpStorm's Semantic Highlighting in action.

    Settings/Preferences | Editor | Color Scheme | Language Defaults | Semantic highlighting and make sure it is disabled there.

    enter image description here


    Please note that Rainbow Brackets plugin turns the above option ON automatically and prevents disabling it (on IDE restart). This should be fixed in latest plugin versions: