дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-20 08:35:42 +02:00
jdtls/m2e only import source folders declared in the POM. Generators such as protobuf/gRPC, jOOQ, Avro, OpenAPI and QueryDSL add theirs with addCompileSourceRoot while the build runs, so Problems stayed red after a successful Maven compile. After a Maven project update, and after Build, Rebuild and Compile File, the IDE now scans target/generated-sources and generated-test-sources and puts those folders on the jdtls classpath through openidea.java.generatedSources (java-usages bundle 1.16.0), marked so a later scan can drop them; annotation-processor output, which jdtls compiles itself, is left out. A Maven build never starts jdtls by itself. Co-authored-by: tomgor <[email protected]>
35 рядки
1.7 KiB
XML
35 рядки
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<plugin>
|
|
<extension point="org.eclipse.jdt.ls.core.delegateCommandHandler">
|
|
<delegateCommandHandler class="ai.openidea.usages.CoveredFilesCommand">
|
|
<command id="openidea.workspace.coveredFiles"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.usages.CoveredRootsCommand">
|
|
<command id="openidea.workspace.coveredRoots"/>
|
|
</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.archives.RefreshArchivesCommand">
|
|
<command id="openidea.java.refreshArchives"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.sources.GeneratedSourcesCommand">
|
|
<command id="openidea.java.generatedSources"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.implementations.ImplementationTargetsCommand">
|
|
<command id="openidea.java.implementationLocations"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.hierarchy.HierarchyCommand">
|
|
<command id="openidea.java.hierarchy.members"/>
|
|
<command id="openidea.java.hierarchy.refactor"/>
|
|
</delegateCommandHandler>
|
|
</extension>
|
|
</plugin>
|