PolyMeilex / vscode-wgsl

VsCode Syntax highlight for WGSL files
MIT License
79 stars 8 forks source link
vscode-extension webgpu wgpu

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