Language server support for GLSL (OpenGL Shading Language) in Visual Studio Code.
- Completion
- User-defined variables/functions.
- Built-in types (e.g.,
vecN
,matNxM
,texture2D
, etc.) - Built-in functions (e.g.,
length
,imageLoad
,packUnorm4x8
) - Includes all extensions
- Fields
- Inline hover documentation for all builtin and extension functions/variables
- Goto Definition
- Support for
#include
- Formatter
Automatically downloads and installs the latest
glsl_analyzer
(Linux, Windows and macOS).
If your platform is not supported, or you want to build from source, follow the instructions
here. Then, set the glsl-analyzer.path
setting to
the location of your executable.