A language server and Visual Studio Code extension for Minecraft GLSL Shaders
Find a file
2018-06-15 22:59:59 +01:00
.vscode Got tasks and launch setup all gucci, and the error squiggle goes to the end ofthe line now 👌 2018-06-12 23:49:52 +01:00
client Fixed tslint missing 2018-06-13 20:59:28 +01:00
server Proper errors if glslangValidator isnt found, woop 2018-06-15 22:59:59 +01:00
.drone.yml Hard links instead of soft links perhaps? 2018-06-02 22:47:44 +01:00
.gitignore Shows error if glslangValidator not found. Also made script to download it 2018-06-15 18:40:01 +01:00
CHANGELOG.md omg debugging n all the shit that SHOULDVE worked are now FIXED 2018-06-12 22:46:41 +01:00
CONTRIBUTING.md Removed placeholder validation function 2018-06-04 21:39:59 +01:00
LICENSE Initial commit 2018-05-12 15:27:37 +01:00
package-lock.json Fixed tslint missing 2018-06-13 20:59:28 +01:00
package.json Fixed tslint missing 2018-06-13 20:59:28 +01:00
README.md Added new requirement to readme 2018-05-31 23:32:54 +01:00
setup.py Shows error if glslangValidator not found. Also made script to download it 2018-06-15 18:40:01 +01: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

vscode-mc-shader

CI Issues license Maintainability

This is an extension for Visual Studio Code for developing Minecraft GLSL Shaders for Optifine. It currently provides linting and syntax highlighting (by stef-levesque/vscode-shader dependency).

Features

  • Linting (unpolished)
  • Syntax highlighting (by extension dependency)

Planned

  • Support for #includes
  • Warnings for unused uniforms/varyings
  • Some cool DRAWBUFFERS stuff
  • Auto-complete prompts

Got a feature request? Chuck it into an Issue!

Requirements

  • Visual Studio Code (v1.17.0 or higher - untested)
  • The Shader languages support for VS Code extension. This should automatically install when you install this extension
  • That the shader you're editing is in the shaderpacks folder in .minecraft.
  • The OpenGL / OpenGL ES Reference Compiler (for convenience, put it in your PATH, this is the assumed location if not specified). If, for some reason, you're using MacOS, there are no pre-compiled binaries of this.
  • [Windows] An up to date version of Windows with Developer mode enabled for symlink support. (May not always work, I've gotten inconsistent results)
  • [MacOS] Not MacOS. Not that you're making MC Shaders on/for MacOS anyways...right?

Extension Settings

Option Name Data Type Description Default Value
mcglsl.glslangValidatorPath string The path to the glslangValidator executable. In your PATH.
mcglsl.lintOnType bool Whether or not to lint while typing. Can decrease performance. false
mcglsl.minecraftPath string The path to your Minecraft installation. None

Contributing

Please see CONTRIBUTING.md.

Known Issues

I'll fill this in once this actually gets released.

Release Notes

None yet.