

The extension can colorize GLSL code in HTML scripts if the script's type is x-shader/x-vertex or x-shader/x-fragment. The formatting is customizable in the Settings. The extension can format the whole source code and it can format a region of the source code. Member variables and vector swizzles are also supported. The extension provides types, variables, functions, constructors, keywords, qualifiers, qualifier parameters, preprocessor directives and code snippets using IntelliSense, accoarding to the current scope and shader stage. The extension can display a signature helper for functions and constructors (except matrix constructors). The extension uses docs.gl to provide the offline documentation for builtin variables and builtin functions. It also grays out the unused functions, types and variables. The extension uses glslang, the Khronos Group's reference GLSL compiler to provide diagnostic informations (errors and warnings). The extension colorizes types, builtin types, variables, builtin variables, functions, keywords, qualifiers, operators, preprocessor directives and comments. It supports most of the well-known VS Code language features like syntax highlight, IntelliSense and more, see the details below.

It supports all the WebGL compatible GLSL extensions too. This extension adds language support for GLSL ES 100 (WebGL 1 and OpenGL ES 1.00) and GLSL ES 300 (WebGL 2 and OpenGL ES 3.00).
