mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
Plugins had to run mvn dependency:tree / gradlew dependencies themselves or parse build files. A new build interface in wit/workspace.wit, build.dependencies(project, module), returns the graph the Dependency Analyzer has as a flat list of dependency-node records (group, artifact, version, scope, status, requested version, parent), each module a root, behind the low-risk build.read capability in trusted projects. Nothing is resolved by the call: Maven returns the trees cached by the last Reload (declared dependencies before one); Gradle dependency reports, which only lived in the frontend, are now saved per project and configuration in the build cache and dropped on a build-file change. Capped at 100,000 nodes per call. SDK: Project::build_dependencies with a mock; checked-in components rebuilt. Closes #3715 Co-authored-by: bertyhell <1710840+bertyhell@users.noreply.github.com>
Hover test fixture
Over a name the PHP document declares as function <name>(, shows
**<name>** · declared on line <n> for the name's range; nothing elsewhere.
Used by cargo test -p ide-host --test plugin_hover to exercise the optional
hover-provider export. It is not a marketplace plugin.