mcshader-lsp is a Language Server and collection of editor extensions for developing Minecraft GLSL Shaders for Optifine. It currently provides linting and syntax highlighting.
Currently supported editors:
- Visual Studio Code with
vscode-mc-shader
- Linting
- Syntax highlighting
- Support for
#includedirectives - Displaying
#includeflattened file - Generating Graphviz DOT
#includedependency graph
- That you've only one shader folder open. Multiple workspaces aren't currently supported.
- The root folder of the workspace is the parent folder of
shadersfolder.
Please see CONTRIBUTING.md.
- Multi-workspaces (currently only one is supported and using multiple is very undefined behaviour)
- Warnings for unused uniforms/varyings
- Lint for all #define value combinations
- Compute shader support
- Some cool
DRAWBUFFERSstuff
Got a feature request? Chuck it into an Issue!
Check the issues on Github here.
Check CHANGELOG.md.
This code is released under the MIT License. Copyright (c) 2021 Noah Santschi-Cooney
