Skip to content

About

WGSL/WESL language support for Zed

Topics

Resources

Stars

28 stars

Watchers

2 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

WGSL/WESL Zed Extension

This extension provides language support for WGSL, WESL and a best effor support for Bevy (naga_oil) extensions for the Zed editor. It uses wgsl-analyzer for the language server and tree-sitter-wesl for the tree-sitter grammar.

As wgsl-analyzer does not currently recognize all WESL syntax, errors from wgsl-analyzer are to be expected when working with WESL, related issues: #2, wgsl-analyzer/wgsl-analyzer#632.

The syntax highlighting is heavily inspired by wgsl-analyzer vscode extension.

There already is a Zed extension for WGSL, wgsl-zed, but it uses glasgow for the LSP and tree-sitter-wgsl which is outdated and doesn't support WESL. Additionally, it lacks quality syntax highlighting and doesn't automatically download the lsp server if it's missing on your system.

About

WGSL/WESL language support for Zed

Topics

Resources

Stars

28 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages