Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>WGSL Language SupportNew to Visual Studio Code? Get it now.
WGSL Language Support

WGSL Language Support

Noah Labrecque

|
4,380 installs
| (2) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

WGSL-Analyzer

A VSCode extension providing validation syntax highlighting and formatting of WGSL (Web GPU Shading Language) files

If you encounter any issues, please report them on github

Features

  • ✅ Syntax highlighting of WGSL files
  • ✅ Code formatting
  • ✅ Syntax validation
  • ✅ Correctness validation
  • ✅ Document outline
  • ✅ Context aware auto-completion
    • ✅ Local Variables
    • ✅ Global Constants
    • ✅ Functions
    • ✅ Keywords
    • ✅ Builtin Functions
    • ✅ Property Access

Planned Features

  • 🚧 Info on hover
  • 🚧 Improved diagnostic messages
  • 🚧 Goto definition

About

This extension is written in rust and uses Naga compiled to wasm to generate diagnostics. This means that the extension should work on any platform, and does not require any external binaries.

Developing

Install pre-requisites

# Install wasm-pack from source
cargo install wasm-pack

# Install NPM deps 
npm i
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft