danielscherzer / GLSL

VSIX Project that provides GLSL language integration.
258 stars 28 forks source link

Example MSVC project #80

Closed jjYBdx4IL closed 3 years ago

jjYBdx4IL commented 3 years ago

Would be great if you could provide an example MSVC project where this extension is known to work. I have installed it and nothing happens to my .frag and .vert files when I open them in the editor, all augmented with red underlines, which suggests the syntax highlighting is not activated for those files.

danielscherzer commented 3 years ago

Thanks for your interest in the extension. You do not need to load a solution. You can also load a single file and the extension should work. For example: Screenshot (5) Do you have nsight installed? This extension is known to interfere with well known shader extensions. But you can redefine the used extensions in the option settings (see readme on github)

jjYBdx4IL commented 3 years ago

No nsight. Inside my solution it works with newly created .glsl files. However, it's not working for .frag or .vert files. Hmm... the solution explorer shows a structured overview of the .frag contents. Seems like it's considering it as C/C++ source or something and handling it itself.

jjYBdx4IL commented 3 years ago

I disable all the other extensions. Now it's working. Looks like "Syntax Highlighting Pack" was the culprit.

danielscherzer commented 3 years ago

Yes, I contacted the author a year ago, but I got no response. Sorry!

jjYBdx4IL commented 3 years ago

np. thx for your effort!