Closed barnes14 closed 4 years ago
If I understand correctly: the extension should parse the glsl code for function definitions and color them with a distinct user defined color. Is that the behavior that you want?
No, I’m talking about two user lists, each of which has its own color highlight. I also tried adding the source code to my function names and words, but that didn't work. I added new glsl names in glslFunctions.txt and glslKeywords.txt.
Changing glslFunctions.txt and glslKeywords.txt: You would have to recompile and install this changed version of the extension, but I can add a second user list with a distinct user defined color.
Ok.
Does it now work as expected?
yea)
Hi Some time ago, you added by my request custom colors for user key words. It's nice feature. You can add a similar thing for custom functions (so that the user's functions and his words have different colors.) For example, 'texture2DRect' is a user function, but 'location' is a word. But they are marked in one color, this is not a strong problem, but if you add several blocks of custom colors this would be great