Darkyenus / glsl4idea

A GLSL language plugin for IntelliJ IDEA
GNU Lesser General Public License v3.0
101 stars 30 forks source link

Syntax highlighting isn't using editor color scheme #158

Closed indianakernick closed 3 years ago

indianakernick commented 3 years ago

This plugin seems to be using a fixed set of colors instead of responding to the editor color scheme that's set. Changing the color scheme doesn't have any effect on the colors chosen by this plugin.

Screen Shot 2021-06-08 at 16 42 06

I would expect out and uniform to be pink and perhaps vec4 and void could be yellow (although int and void are pink as well in Java). It would be really nice if this plugin would use the editor color scheme.

Darkyenus commented 3 years ago

The plugin uses the standard IntelliJ color configuration mechanism. If you want the colors of particular elements in different languages to match, set the color in Language Defaults and inherit that color in GLSL, Java and other languages.

For example: image

If that does not work and you believe that it is due to a bug, please reopen the issue and send a screenshots of relevant settings for GLSL color, Language Defaults and Java/other language, for the same element.