Skip to content
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

Add support for Godot shaders #70

Closed
TritiatedWater opened this issue Jun 20, 2018 · 3 comments
Closed

Add support for Godot shaders #70

TritiatedWater opened this issue Jun 20, 2018 · 3 comments

Comments

@TritiatedWater
Copy link

It would be nice if this plugin could support godot shader.
Godot shader is supposed to be similar to glsl which in turn is similar to C.
I can just set VS Code to associate .shader as a glsl shader, but the code assist won't work.

@Calinou Calinou changed the title [Request] Support godot shader Add support for Godot shaders Dec 11, 2019
@AlfishSoftware
Copy link

You may be interested in the grammar I coded:
https://github.com/AlfishSoftware/godot-files-vscode/blob/develop/lang.gdshader/gdshader.tmLanguage.json
I also added the language variables as snippets, with descriptions from Godot 3 docs:
https://github.com/AlfishSoftware/godot-files-vscode/blob/develop/lang.gdshader/gdshader.code-snippets
Not ideal, but works as a starting point.

@atirut-w
Copy link

There's also a new PR for gdshader syntax highlighting: #360

@Calinou
Copy link
Member

Calinou commented Jul 20, 2022

Implemented by #360.

Note that autocompletion is currently outside the scope of the Godot editor LSP.

@Calinou Calinou closed this as completed Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants