@@ -16,26 +16,35 @@ External editor support for `.gdshader` files.
1616
1717Godot's shader language is powerful, but editing ` .gdshader ` files outside the
1818Godot editor is painful. This project aims to bring proper language tooling
19- (autocomplete, hover, references, etc.) to editors like Neovim and VSCode.
19+ (autocomplete, hover, references, etc.) to editors like Neovim and VSCode. It
20+ aims to be memory-efficient and editor-agnostic.
2021
2122## 🌱 Prior Work
2223
23- [ @GodOfAvacyn ] ( https://github.com/GodOfAvacyn ) is the wonderful author of the
24- [ treesitter plugin] ( https://github.com/GodOfAvacyn/tree-sitter-gdshader ) and
25- [ language server] ( https://github.com/GodOfAvacyn/gdshader-lsp ) for the Godot
26- shader language. Their treesitter plugin is great! As of writing, their
27- language server has many false positive diagnostics, and the project became
28- inactive while they were
29- [ working on a full rewrite] ( https://github.com/GodOfAvacyn/gdshader-lsp/issues/3#issuecomment-2176364609 ) .
30- I decided to start this new project to fill the gap for myself.
24+ 1 . [ @GodOfAvacyn ] ( https://github.com/GodOfAvacyn ) is the author of the
25+ [ treesitter plugin] ( https://github.com/GodOfAvacyn/tree-sitter-gdshader ) and
26+ [ language server] ( https://github.com/GodOfAvacyn/gdshader-lsp ) for the Godot
27+ shader language. Their treesitter plugin is great! As of writing, their
28+ language server has many false positive diagnostics, and the project became
29+ inactive while they were [ working on a full
30+ rewrite] ( https://github.com/GodOfAvacyn/gdshader-lsp/issues/3#issuecomment-2176364609 ) .
31+
32+ 2 . [ @AlfishSoftware ] ( https://github.com/AlfishSoftware ) is the author of the
33+ [ Godot Files VSCode
34+ Extension] ( https://github.com/AlfishSoftware/godot-files-vscode ) , which
35+ includes some support for ` .gdshader ` files. However, it is VSCode-only. If
36+ you are a VSCode user, I recommend checking it out!
37+
38+ 3 . There is an [ official Godot VSCode
39+ plugin] ( https://github.com/godotengine/godot-vscode-plugin ) , but it has
40+ minimal shader support and is VSCode-only.
3141
3242## 📦 Install
3343
3444### Neovim
3545
36- 1 . Install by downloading the
37- [ latest release] ( https://github.com/armsnyder/gdshader-language-server/releases/latest )
38- or building from source:
46+ 1 . Download the [ latest release] ( https://github.com/armsnyder/gdshader-language-server/releases/latest )
47+ or build from source:
3948
4049 ``` shell
4150 wget https://github.com/armsnyder/gdshader-language-server/releases/latest/download/gdshader-language-server_$( uname -s) _$( uname -m) .tar.gz
@@ -47,9 +56,9 @@ I decided to start this new project to fill the gap for myself.
4756 go install github.com/armsnyder/gdshader-language-server@latest
4857 ```
4958
50- 1 . Create a ` ~/.config/nvim/after/ftplugin/gdshader.lua ` file with the following
51- content, adjusting the path to the ` gdshader-language-server ` binary if
52- necessary:
59+ 1 . Create a ` ~/.config/nvim/after/ftplugin/gdshader.lua ` file with the
60+ following content, adjusting the path to the ` gdshader-language-server `
61+ binary if necessary:
5362
5463 ``` lua
5564 vim .lsp .start ({
@@ -61,7 +70,7 @@ I decided to start this new project to fill the gap for myself.
6170
6271### VSCode
6372
64- Coming soon? Contributions welcome!
73+ Work in progress
6574
6675## Roadmap
6776
@@ -80,6 +89,8 @@ Planned features:
8089- [ ] VSCode wrapper extension
8190- [ ] Make the code more maintainable by generating rules based on the official
8291 Godot documentation
92+ - [ ] [ Grammar] ( https://code.visualstudio.com/api/references/contribution-points#contributes.grammars )
93+ for the VSCode extension
8394
8495## 🤝 Contributing
8596
0 commit comments