$ show JetBrains/godot-support
This repository is the JetBrains Godot Support plugin, a multi-language IDE extension for IntelliJ IDEA and Rider that provides comprehensive GDScript language intelligence, scene editing, debugging, and project integration for the Godot game engine. It consists of several modules: a Kotlin-based GDScript language plugin with custom lexer/parser, PSI, annotations, inspections, refactoring, formatting, code completion, and LSP client; a C# debugger worker that allows inspecting Godot scenes during debugging with optimized bulk-fetch strategies; a C++ native addon (GDExtension) for bidirectional communication between the IDE and Godot editor; a PHP toolchain to generate SDK metadata from Godot's official XML documentation; and .NET ReSharper components for C# Godot project support. The plugin uses JetBrains' PolySymbols framework for unified symbol resolution and has an extensive test suite covering parsing, type inference, inspections, and debugger integration. While deeply integrated with JetBrains platform APIs and generated code, the debugger worker's child-chunking algorithm and SDK fingerprinting utility are well-crafted, self-contained components that could be reused in other contexts. The codebase is actively maintained with regular commits, but relies on several internal/experimental APIs and snapshot dependencies, posing moderate technical drift risk.
The LLM identified 2 files worth highlighting for reuse:
Implements a generic, cancellable chunked fetching pattern for building large child lists incrementally. Uses a concurrent dictionary to cache fetched chunks and supports both hot (within 32 items) and cold paths. The algorithm is self-contained and can be extracted as a reusable utility for any scenario requiring progressive enumeration of a large collection with early termination.
A small, dependency-light utility that computes SHA‑256 digests of files to detect changes in Godot SDK metadata and GDExtension declarations. It handles cross-platform path issues and provides a straightforward API for fingerprint-based change detection, reusable in any project needing file integrity checks with configurable digest base.