{"repo":"Dead-Shrimp-Studio/gdshader-lsp-cpp","free":true,"listed":false,"github":"https://github.com/Dead-Shrimp-Studio/gdshader-lsp-cpp","clone":"git clone https://github.com/Dead-Shrimp-Studio/gdshader-lsp-cpp.git","description":"A cpp native implementation of a GDShader Language Server (the shading language inside godot) using the excellent lsp-framework library.","language":"C++","stars":52,"topics":["cpp20","gdshader","godot","lsp-server","godot-engine","godot4","godotengine"],"license":null,"category":"game-templates","readme_excerpt":"GDShader LSP A high-performance, standalone Language Server Protocol (LSP) implementation for the Godot Shading Language ( .gdshader ), developed in C++20. GDShader LSP provides enterprise-grade code intelligence, strict semantic analysis, and real-time diagnostics for Godot shaders. It is designed to be editor-agnostic, integrating seamlessly into VSCode, Neovim, Emacs, or directly into the Godot Engine via GDExtension. For information on changes per version, see CHANGELOG.md . Key Features Advanced Static Analysis & Type Checking Unlike basic syntax highlighters, GDShader LSP performs full semantic analysis of your shader code: Strict Type Validation: comprehensive checking for vector swizzling, matrix operations, and implicit type conversions. Scope & Shadowing: Accurate detection of variable shadowing, scope leakage, and uninitialized variables. Control Flow Analysis: Detection of unreachable code, missing return statements, and invalid discard usage in specific processor stages. Constructor Validation: Overload resolution for functions and type constructors (e.g., vec3 , mat4 ). Modular Preprocessor Support Full support for complex project structures using an AST-aware preprocessor: #include Resolution: Resolves dependencies via a Virtual File System, supporting both relative paths and Godot res:// paths. Cross-File Symbol Linking: Functions, structs, and constants defined in included files are fully resolved, typed, and available for autocompletion. Macro Support: Handl","default_branch":null,"files":null,"tree":[],"storefront":"/r/Dead-Shrimp-Studio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Dead-Shrimp-Studio/gdshader-lsp-cpp/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}