-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highlighting breaks on "binding_array" declaration #67
Comments
It looks like the plugin does not currently understand |
According to the wgsl spec |
Thanks for checking this, so The reason it is a reserved keyword in webgpu spec is actually because wgpu project asked for that, so that it is clear it's not supported in web flavour of wgsl. See this PR: gpuweb/gpuweb#2794 One question I guess is does this plugin aim to support wgsl files written for wgpu? For context, I did a quick and dirty search on GitHub on projects that contain .wgsl files, and seems that most of them are written for wgpu, so at least currently it seems to be a major use case for wgsl language. edit: FWIW, seems that wgsl-plugin for vscode does support it: wgsl-analyzer/wgsl-analyzer#24 |
I use the plugin for wgpu stuff also. I can add it in without too much hassle. |
I have just submitted a new release to the Jetbrains store with support for |
The updated plugin should be available in the Jetbrains store now. let me know if this fixes your issue. |
Updated the plugin and everything works now, thank you so much! |
I'm facing some problems with
binding_array
declarations.With this code:
I get the following error:
WGSLTokenType.EQUAL or WGSLTokenType.SEMICOLON expected, got '<'
on the first open angled bracket, and highlighting for the rest of the file is broken.The text was updated successfully, but these errors were encountered: