gdscript-ide
The public API of gdscript-analyzer — a fast, embeddable GDScript (Godot 4.x) static-analysis library. Roslyn for Godot.
This is the crate you depend on. It exposes an AnalysisHost that owns the
project's files (push edits through &mut) and a cheap, cloneable Analysis
snapshot that answers queries — diagnostics, type-aware hover, completion,
go-to-definition, find-references, rename, document & workspace symbols, signature
help, folding ranges, inlay hints, code actions — as plain data (POD) addressed
by UTF-8 byte offsets. It is engine-neutral and protocol-neutral: no LSP, no
JSON-RPC, and no running Godot editor.
See docs.rs/gdscript-ide for the exact API.
Not using Rust? The same engine ships as
@gdscript-analyzer/core
(native Node) and
@gdscript-analyzer/wasm
(browser) — try it in the
playground.
Part of the gdscript-analyzer workspace — see the repo README for the full crate map. Licensed MIT OR Apache-2.0.