дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 01:01:17 +02:00
feat(run): share Java preparation and add incremental build policies (#2156)
Run and Debug now share one Java preparation path: save documents, build with the configured policy, resolve the module classpath and JDK, and stop on a failed build. Incremental Make is the default; Rebuild, NoBuild and Build-no-error-check are persisted on the run configuration, and the form offers only what a build tool supports. Delegated Gradle goes through the same path, Debug reports save failures, Maven snapshots honour Rebuild, and scoped diagnostics are retained so incremental Maven cannot erase compilation errors. Co-authored-by: misswell <[email protected]>
Цей коміт міститься в:
1 джерело
43bcd66b2b
коміт
9f9a2d8cf0
41 files changed
+868
-136
No files matched your search
@@ -15,7 +15,7 @@ import {
|
||||
prepareJavaLaunch,
|
||||
type JavaPreparation,
|
||||
} from "@/platform/javaLaunch";
|
||||
import { notifications } from "@/workbench/contributions";
|
||||
import { maybeEditorService, notifications } from "@/workbench/contributions";
|
||||
|
||||
export const JAVA_ADAPTER = "java-debug";
|
||||
export const KOTLIN_ADAPTER = "kotlin-debug-adapter";
|
||||
@@ -119,6 +119,9 @@ export async function javaLaunchConfig(
|
||||
preparation ?? {
|
||||
request: nextRequestId(),
|
||||
signal: new AbortController().signal,
|
||||
saveAll: async () => {
|
||||
await maybeEditorService()?.saveAll();
|
||||
},
|
||||
},
|
||||
);
|
||||
if (info.errorCount > 0 && !preparation?.report)
|
||||
|
||||
Reference in new issue
Заблокувати користувача