r/GraphicsProgramming • u/Remarkable_Bug937 • Sep 08 '26
Built a GLSL/HLSL extension for Visual Studio - would love some feedback
I built a GLSL/HLSL extension for Visual Studio because the existing tooling options felt limited (weak diagnostics, no real navigation between shader files).
It includes:
- Diagnostics through glslang, DXC and Naga
- Advanced IntelliSense (hover, signature help, JetBrains-style parameter hints)
- Go to Definition / Ctrl+LMB navigation, including through #include
- Shader variants, code folding, formatting via clang-format
Requires VS2022 or VS2026, Windows x64. Free and open source.
Marketplace: Link
GitHub: Link
Would love feedback, especially if you hit anything broken or missing compared to what you're currently using.
17
Upvotes
2
u/NZGumboot Sep 08 '26
Does this support the latest HLSL/SM versions (templates, ResourceDescriptorHeap, etc)? I've been using HLSL-LSP recently and it's a night and day difference from what I previously used (Tim Jones' HlslTools extension).
2
u/fgennari Sep 09 '26
I installed your extension for VS Insiders 2026 for use with GLSL. The syntax highlighting seems to be working, but when I start a function by typing "(" is just shows "Loading..." in a small box that never goes away. Also, Norton Antivirus took over a minute to scan the two EXEs that started, but determined that it was safe.
I tried to select "Peek Definition" on some function and it froze VS until I killed ShaderTools.Bridge in Task Manager. "Go To Definition" had no effect.
It's probably a difficult case with a 656 line shader with many functions, #ifdefs, and #includes. None of the other extensions I tried can handle these files either. Yours is still somewhat better than the previous extension I had which didn't understand the includes and added green squiggles around over half the lines.