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
#include
directives - Displaying
#include
flattened file - Generating Graphviz DOT
#include
dependency 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
shaders
folder.
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
DRAWBUFFERS
stuff
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