Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/strum355/mcshader-lsp
A language server and Visual Studio Code extension for Minecraft GLSL Shaders
https://github.com/strum355/mcshader-lsp
glsl language-server-protocol minecraft minecraft-glsl-shaders opengl rust-language-server visual-studio-code
Last synced: about 2 months ago
JSON representation
A language server and Visual Studio Code extension for Minecraft GLSL Shaders
- Host: GitHub
- URL: https://github.com/strum355/mcshader-lsp
- Owner: Strum355
- License: mit
- Created: 2018-05-12T14:27:37.000Z (over 6 years ago)
- Default Branch: rust-rewrite
- Last Pushed: 2023-03-11T21:29:37.000Z (almost 2 years ago)
- Last Synced: 2024-10-19T07:48:28.714Z (2 months ago)
- Topics: glsl, language-server-protocol, minecraft, minecraft-glsl-shaders, opengl, rust-language-server, visual-studio-code
- Language: Rust
- Homepage:
- Size: 4.28 MB
- Stars: 80
- Watchers: 7
- Forks: 6
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Minecraft GLSL Shaders Language Server
## mcshader-lsp[![Marketplace Version](https://img.shields.io/visual-studio-marketplace/v/strum355.vscode-mc-shader.svg)](https://marketplace.visualstudio.com/items?itemName=strum355.vscode-mc-shader) [![Installs](https://img.shields.io/visual-studio-marketplace/i/strum355.vscode-mc-shader.svg)](https://marketplace.visualstudio.com/items?itemName=strum355.vscode-mc-shader)
[![license](https://img.shields.io/github/license/Strum355/vscode-mc-shader.svg)](https://github.com/Strum355/mcshader-lsp)
[![Issues](https://img.shields.io/github/issues-raw/Strum355/mcshader-lsp.svg)](https://github.com/Strum355/mcshader-lsp/issues)
[![Build Status](https://img.shields.io/drone/build/Strum355/mcshader-lsp)](https://cloud.drone.io/Strum355/mcshader-lsp)mcshader-lsp is a [Language Server](https://langserver.org/) and collection of editor extensions for developing Minecraft GLSL Shaders for [Optifine](http://optifine.net). It currently provides linting and syntax highlighting.
Currently supported editors:
- [Visual Studio Code](https://code.visualstudio.com/) with `vscode-mc-shader`
## 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](https://github.com/Strum355/mcshader-lsp/blob/master/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` stuffGot a feature request? Chuck it into an Issue!
## Known Issues
Check the issues on Github [here](https://github.com/Strum355/mcshader-lsp/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Abug).
## Release Notes
Check [CHANGELOG.md](https://github.com/Strum355/mcshader-lsp/blob/master/CHANGELOG.md).
## License
This code is released under the [MIT License](https://github.com/Strum355/mcshader-lsp/blob/master/LICENSE). Copyright (c) 2021 Noah Santschi-Cooney