mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 16:08:33 +00:00
Configuration navigation from YAML/properties still waited for a cold index the first time and repeated the lookup between the ⌘-hover probe and the click. - Trusted projects with a Maven/Gradle/Eclipse build file start Java shortly after opening. Once JDT reports ServiceReady, the app calls the new openidea.java.configuration.warmup command: a low-priority background job builds the configuration index one project at a time (open YAML/properties modules first), waits for workspace builds, has a 30 s budget per project, and only fills free cache room. - Index builds take a cancellable per-project lock instead of one global lock, so a background build never delays another project, and a warmed snapshot is dropped if the Java model changed meanwhile. - In YAML/properties the editor underlines the whole key (hyphens and dots included), hover and Go to Definition share one bounded request per key, and the declaration chooser names the whole key. Bundle java-usages 1.6.0 is rebuilt reproducibly with build.py against JDT LS 1.63.0-202610191322 (SHA-256 33cfa1bb…). The real-JDT harness checks that the first lookup reuses the warmed index. Co-authored-by: qjlqyf <[email protected]>
20 lines
891 B
XML
20 lines
891 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<plugin>
|
|
<extension point="org.eclipse.jdt.ls.core.delegateCommandHandler">
|
|
<delegateCommandHandler class="ai.openidea.usages.UsagesCommand">
|
|
<command id="openidea.java.usages"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.configuration.ConfigurationCommand">
|
|
<command id="openidea.java.configuration"/>
|
|
<command id="openidea.java.configuration.warmup"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.implementations.ImplementationsCommand">
|
|
<command id="openidea.java.implementations"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.hierarchy.HierarchyCommand">
|
|
<command id="openidea.java.hierarchy.members"/>
|
|
<command id="openidea.java.hierarchy.refactor"/>
|
|
</delegateCommandHandler>
|
|
</extension>
|
|
</plugin>
|