Crates.io | shader_language_server |
lib.rs | shader_language_server |
version | |
source | src |
created_at | 2024-10-02 17:01:46.258515 |
updated_at | 2025-01-02 18:49:15.596095 |
description | Language server for HLSL / GLSL / WGSL shaders using LSP protocol. |
homepage | |
repository | https://github.com/antaalt/shader-sense/tree/main/shader-language-server |
max_upload_size | |
id | 1394378 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This application is a language server for shaders (HLSL, GLSL, WGSL) that is mainly meant to be used as a server for vscode extension shader-validator. It is following the LSP protocol to communicate with the extension so it could be used with any editor supporting it. It can be built to desktop or WASI. WASI will let the extension run even in web version of vscode, but it suffer from limitations. See below for more informations.
This language server support a few options :
The server support HLSL, GLSL, WGSL diagnostics, but symbol requests are not implemented for WGSL yet.
Diagnostics are generated following language specifics API:
Symbols are retrieved using queries based on tree-sitter API.