A language server and Visual Studio Code extension for Minecraft GLSL Shaders
Find a file
Noah Santschi-Cooney a75528c8d3
Update README.md
2018-05-28 11:30:47 +01:00
.vscode Basic functions that do niente so far 2018-05-12 17:04:29 +01:00
src Fixed tslint issues 2018-05-28 00:55:17 +01:00
test Using a lot more single line arrow functions, made linting on typing an option (untested), finding includes and extracing the paths, added more regex filters and other regex 2018-05-22 00:59:33 +01:00
.drone.yml Filtering of error messages is GUDer now. Links are now deleted when extension is 'disposed' 2018-05-19 19:10:07 +01:00
.gitignore Basic functions that do niente so far 2018-05-12 17:04:29 +01:00
.vscodeignore Basic functions that do niente so far 2018-05-12 17:04:29 +01:00
CHANGELOG.md Error now highlights entire line. 2018-05-19 19:30:04 +01:00
CONTRIBUTING.md Error now highlights entire line. 2018-05-19 19:30:04 +01:00
LICENSE Initial commit 2018-05-12 15:27:37 +01:00
package-lock.json Added error for when symlink fails. Now to fix it on windows.. 2018-05-14 22:59:24 +01:00
package.json Moved config to own file and made it a class. Added lintOnType config option to package.json and readme. 2018-05-28 00:49:55 +01:00
README.md Update README.md 2018-05-28 11:30:47 +01:00
tsconfig.json Some simple tests. Had to make some methods public but AH WELL 2018-05-18 00:19:54 +01:00
tslint.json Fixed tslint issues 2018-05-28 00:55:17 +01:00

vscode-mc-shader

badge badge badge license

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

Contributing

Please see CONTRIBUTING.md.

Known Issues

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

Release Notes

None yet.