дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
feat(run): choose the JRE and the module of an Application configuration (#1172)
Application / Spring Boot configurations found their module only from the main class, so the same class in two modules failed with "Cannot determine the module for main class", and the JVM was always the module's. The form now has JRE (the module's JDK or an installed JDK) and Use classpath of module (found by main class, or a project module, stored as RunConfig.module). Run configuration selects can load their options when shown. Fixes #1153
Цей коміт міститься в:
1 джерело
b31938db00
коміт
65ca0390de
6 files changed
+98
-8
No files matched your search
@@ -1107,7 +1107,9 @@ export interface RunConfigTypeField {
|
||||
/** Visible lines of a `textarea` (default 4). */
|
||||
rows?: number;
|
||||
placeholder?: string;
|
||||
options?: ReadonlyArray<{ value: string; label: string }>;
|
||||
options?: ReadonlyArray<{ value: string; label: string; detail?: string }>;
|
||||
/** A `select`'s further options, read when the form shows it (installed JDKs, build modules). */
|
||||
loadOptions?(): Promise<ReadonlyArray<{ value: string; label: string; detail?: string }>>;
|
||||
/** Values offered while typing (e.g. the scripts of detected configurations). */
|
||||
suggestions?(configs: readonly RunConfig[], params: Readonly<Record<string, string>>): string[];
|
||||
required?: boolean;
|
||||
|
||||
Reference in new issue
Заблокувати користувача