feat(run): Add VM options to Java run configurations (#206)

Adds Application and Spring Boot run configuration types with main class, VM options, program arguments, classpath and active profiles. Maven passes them through spring-boot.run.jvmArguments / profiles / argLine; Gradle through an init script.

Fixes #187

Claude-Session: https://claude.ai/code/session_01Dq6jQQn8ZhRfkkyj3PRutA
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-10-29 11:39:20 +08:00
1 джерело ed7b0f88ef
коміт 8ebeaa2663
15 files changed
+690 -8

No files matched your search

+17
Переглянути файл
@@ -2828,6 +2828,23 @@
"Executable": "可执行文件",
"Path or command on PATH": "路径或 PATH 中的命令",
"Program arguments": "程序实参",
"VM options": "VM 选项",
"e.g. -Xmx1g -Dkey=value --add-opens java.base/java.lang=ALL-UNNAMED": "例如 -Xmx1g -Dkey=value --add-opens java.base/java.lang=ALL-UNNAMED",
"Main class": "主类",
"e.g. com.example.Application": "例如 com.example.Application",
"Active profiles": "活动配置文件",
"e.g. dev,local": "例如 dev,local",
"Comma separated; passed as --spring.profiles.active": "以逗号分隔;作为 --spring.profiles.active 传递",
"Comma separated; passed as -Dspring-boot.run.profiles": "以逗号分隔;作为 -Dspring-boot.run.profiles 传递",
"Comma separated; passed as -Dspring.profiles.active": "以逗号分隔;作为 -Dspring.profiles.active 传递",
"Classpath": "类路径",
"Runtime classpath of the module": "模块的运行时类路径",
"Test classpath of the module": "模块的测试类路径",
"Run a Java main class": "运行 Java 主类",
"Run a Spring Boot application": "运行 Spring Boot 应用程序",
"Spring Boot": "Spring Boot",
"Passed to the JVM that spring-boot:run or the tests start, not to Maven": "传给 spring-boot:run 或测试启动的 JVM,而不是 Maven 本身",
"Passed to the JVMs the tasks start (bootRun, run, test), not to Gradle": "传给任务启动的 JVM(bootRun、run、test),而不是 Gradle 本身",
"Run a package.json script": "运行 package.json 脚本",
"package.json directory": "package.json 目录",
"Tasks": "任务",