A language server and Visual Studio Code extension for Minecraft GLSL Shaders
Find a file
2021-01-29 21:24:19 +00:00
.vscode Small cleanup of project files 2020-08-15 21:07:06 +01:00
client Added rollup to minify extension 2021-01-29 21:23:50 +00:00
server geometry shader support apparently? idfk 2021-01-25 23:20:27 +00:00
.drone.yml Fixed getting nodes root ancestors 2020-08-07 00:58:34 +01:00
.gitignore Include graph building 2020-02-15 19:29:20 +00:00
.vscodeignore Added rollup to minify extension 2021-01-29 21:23:50 +00:00
CHANGELOG.md v0.8.5 2018-08-25 23:55:19 +01: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.png Hopefully the last time i work the logo : ) 2018-07-04 01:27:43 +01:00
package-lock.json Improved client-server integration 2020-07-17 15:31:27 +01:00
package.json Added rollup to minify extension 2021-01-29 21:23:50 +00:00
README.md Updated readme for new 'direction' 2021-01-29 21:24:19 +00: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 (by extension dependency)
  • Support for #include directives

Installation (assumes installing from VSCode extension tab)

  • After reloading, open a shaderpack's folder.
  • You should be prompted to set your shaderpacks folder e.g. "mcglsl.shaderpacksPath": "C:/Users/Noah/AppData/Roaming/.minecraft/shaderpacks"
  • You should then be prompted saying glslangValidator isn't installed. Hit the download button and wait for a notification saying that it's been installed.
  • You should now be good to go!

Requirements

  • Visual Studio Code (v1.43.0 or higher - minimum requirement untested).
  • The Shader languages support for VS Code extension. This should automatically install when you install this extension.
  • That you've only one shader folder open. Multiple workspaces aren't currently supported.

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
  • 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) 2018 Noah Santschi-Cooney