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.47k stars 214 forks source link

OPTION to not rainbowify if within a string or template string. (Enhancement) #830

Closed j-a-s-o-n-g closed 3 years ago

j-a-s-o-n-g commented 3 years ago

This is Javascript:

image

Note: Javascript's template strings i.e. grave symbol allows use of variables within strings via ${variable}.

Since these are squiggly brackets, they get rainbowified by default.

While it's working correctly, I wish an option for the brackets to not be rainbowified if within javascript's template strings. I have other IDE/theming coloring which makes spotting these variables easier.

izhangzhihao commented 3 years ago

Maybe add a new option to disable rainbowify all template brackets.

izhangzhihao commented 3 years ago

I guess that will make you happy, please support us if you like this plugin.

image

j-a-s-o-n-g commented 3 years ago

Thanks I can't wait until this is added to the stable release!

PS: Typo in that line, needs to be "Do NOT rainbowify" instead of "Do NOT rainboify".

izhangzhihao commented 3 years ago

Right, will fix it~