A language server and Visual Studio Code extension for Minecraft GLSL Shaders
Find a file
Noah Santschi-Cooney 85cbb6d81e
release 0.9.9
2023-02-12 16:32:38 +00:00
.github/workflows v0.9.7: the real 0.9.6 2022-04-24 00:05:13 +01:00
.vscode v0.9.0 2021-02-12 01:06:18 +00:00
client Update to latest rust nightly 2023-02-05 09:54:56 +08:00
server release 0.9.9 2023-02-12 16:32:38 +00:00
.gitattributes fix logo images because gitattributes treated them as text 2022-04-24 00:57:37 +01:00
.gitignore Include graph building 2020-02-15 19:29:20 +00:00
.rustfmt.toml add rustfmt configuration 2022-03-14 23:06:58 +00:00
.vscodeignore v0.9.1 2021-02-12 03:03:37 +00:00
CHANGELOG.md release 0.9.9 2023-02-12 16:32:38 +00:00
CONTRIBUTING.md Small cleanup of project files 2020-08-15 21:07:06 +01:00
LICENSE Small cleanup of project files 2020-08-15 21:07:06 +01:00
logo-min.png fix logo images because gitattributes treated them as text 2022-04-24 00:57:37 +01:00
logo-mini.png v0.9.6 2022-04-23 22:33:21 +01:00
logo.png fix logo images because gitattributes treated them as text 2022-04-24 00:57:37 +01:00
package-lock.json Fixed issue with modded worlds 2022-04-29 08:07:52 +02:00
package.json release 0.9.9 2023-02-12 16:32:38 +00:00
README.md Fixed icons 2023-02-05 10:53:28 +08:00
shaders.py Some basic completion provider. Need to go through all the options and tweak them 2018-06-04 20:25:57 +01:00
tsconfig.json Moved to vscode provided global file storage path to DL glslangValidator 2020-07-18 23:11:26 +01:00

Minecraft GLSL Shaders Language Server

mcshader-lsp

Marketplace Version Installs license Issues Build Status

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:

Features

  • Linting
  • Syntax highlighting
  • Support for #include directives
  • Displaying #include flattened file
  • Generating Graphviz DOT #include dependency graph

Requirements

  • 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.

Contributing

Please see CONTRIBUTING.md.

Planned

  • 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!

Known Issues

Check the issues on Github here.

Release Notes

Check CHANGELOG.md.

License

This code is released under the MIT License. Copyright (c) 2021 Noah Santschi-Cooney