VS Code Extensions
G

GDShader LSP Client

by 5cump1

GDShader Language Server support for VS Code

Downloads

1

Rating

— (0)

Version

1.0.0

Last updated

Aug 06, 2026

A Visual Studio Code extension that provides rich Language Server Protocol (LSP) support for Godot Engine's GDShader (.gdshader) files.

This extension integrates the gdshader-lsp (v2.5.2) binary directly into VS Code, giving you features like autocompletion, diagnostics, hover information, and syntax analysis for GDShader scripts.


Features

  • Automatic Binary Management: Comes pre-bundled with compiled language server binaries for Linux, macOS, and Windows. It automatically detects your operating system and CPU architecture at runtime.
  • LSP Integration: Connects your .gdshader files to gdshader-lsp using standard JSON-RPC over stdio.
  • Custom Executable Support: Allows you to override the bundled binary and specify a custom file path to your own local build of gdshader-lsp.

Supported Platforms

The extension includes bundled binaries for the following targets:

  • Linux: x64
  • macOS: x64 and arm64 (Apple Silicon)
  • Windows: x64

Extension Settings

This extension contributes the following setting to your VS Code configuration:

Setting Type Default Description
gdshaderLsp.path string "gdshader_lsp" (uses bundled binary) Absolute path to a custom gdshader-lsp executable. Leave empty or set to "gdshader_lsp" to use the bundled version.

Example Configuration (settings.json)

If you want to use a custom binary instead of the bundled one, add this to your VS Code settings.json:

{
  "gdshaderLsp.path": "/usr/local/bin/gdshader-lsp"
}

Troubleshooting

If the language server fails to start, open the GDShader LSP output channel (View → Output, then select GDShader LSP from the dropdown). It logs:

  • Which binary was resolved (bundled vs. custom) and its full path.
  • Any error that occurs while launching or running the server.
  • The server's exit code if it terminates unexpectedly.

Common issues:

  • "No bundled gdshader_lsp binary found" — your OS/architecture isn't supported by the bundled binaries. Set gdshaderLsp.path to a custom build.
  • "Configured binary does not exist" — the path in gdshaderLsp.path points to a missing file. Verify the path and that the file has execute permissions.
  • Server exits immediately — check the output channel for the exit code and any server-side error messages.

Related extensions