Skip to content

PolyMeilex/vscode-wgsl

Repository files navigation

WGSL Syntax Highlight For Visual Studio Code

img

Install

For rust users:

I also created cargo-wgsl crate that validates your shaders.

Just run cargo install cargo-wgsl to install it.

The extension will detect it in the path, and start a validation server for you.

Autocompletion (only for globals for now)

img

Real time validation using cargo-wgsl

gif

Cargo-wgsl can also be used as cli:

img