glsl-lsp

June 17, 2025 · View on GitHub

This project has been archived.

There will be no more feature updates nor bug fixes. If someone would like to continue developing this project, feel free to fork this repositoty!


This repository contains a heavily work-in-progress project aiming to provide a language extension for the OpenGL Shading Language.

This project is targeting GLSL 450 & 460 initially, but there are plans to support older versions in the future, including but not limited to 110, 300 es, 330 and 410.

An extension for Visual Studio Code is available on the marketplace.

⚠ Current state of functionality: Basic semantic highlighting and syntax diagnostics reporting. Advanced support for macro expansion and conditional compilation.

Structure

FolderContents
/glastA library for parsing GLSL, specifically created for this project
/clientThe client extension for Visual Studio Code
/serverThe Language Server Protocol implementation
/docsProject documentation
/buildBuild & release scripts

Build Instructions

For instructions on how to build the project for debugging or release purposes, see /build/Instructions.md.

Contribution

Contributions are always welcome, be it code, tests, documentation or bug reports, feature requests, etc. For help, please file an issue.

License

See each individual project for its license.