From 1d8b48d0a2efa3b44a110950ecad149c49b5cba9 Mon Sep 17 00:00:00 2001 From: lick <2188718831@qq.com> Date: Mon, 30 Nov 2026 23:51:28 -0800 Subject: [PATCH] release: prepare v4.4.0 --- docs/releases/v4.4.0.md | 21 +++++++++++++++++++ io.github.lithe-idea.java-support/plugin.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 docs/releases/v4.4.0.md diff --git a/docs/releases/v4.4.0.md b/docs/releases/v4.4.0.md new file mode 100644 index 0000000..142c5a5 --- /dev/null +++ b/docs/releases/v4.4.0.md @@ -0,0 +1,21 @@ +# Java Support 4.4.0 + +## 中文 + +- **支持直接运行和调试当前文件及单个测试**:打开 Java 源文件时,可直接从编辑器行号栏或当前文件动作运行/调试 `main` 入口、单个 JUnit 测试类或单个测试方法;运行前会校验声明并自动保存改动,也支持在同一处重复运行。 +- **支持扫描 Windows 所有固定磁盘上的 JDK**:除 `C:\Program Files` 外,现在会自动扫描计算机上所有本地固定盘符(如 `D:\`、`E:\`)中常见的 `Program Files` JDK 安装目录(Oracle/OpenJDK、Eclipse Adoptium、Microsoft、Zulu、Amazon Corretto、BellSoft),并随目录新增或移除自动刷新候选列表。 + +### 兼容性 + +请使用支持 `toolDefinitions: 1`、`toolchainProviders: 0`、`sourceSettings: 1`、`managedRuntimes: 1` 和 `ui: 0` 的 Lithe 桌面端(推荐 Lithe 桌面端 0.8.17 及以上版本,最新稳定版 0.8.22 已完整支持);较早的宿主无法加载要求 `toolchainProviders: 0` 的版本,可继续保留先前已安装的插件版本。 + +--- + +## English + +- **Run and debug the current Java file or individual tests**: Run or debug `main` entry points, JUnit test classes, or single test methods directly from editor actions and gutter markers while editing a Java file, with declaration checks, automatic save-before-run, and rerun support. +- **Discover JDKs across all fixed Windows drives**: Automatically scan common JDK vendor folders under `Program Files` across every local fixed drive on Windows (for example `D:\` and `E:\`, covering Java, Eclipse Adoptium, Microsoft, Zulu, Amazon Corretto, and BellSoft) in addition to `C:\`, and refresh candidates when directories are added or removed. + +### Compatibility + +Use a Lithe desktop host that supports `toolDefinitions: 1`, `toolchainProviders: 0`, `sourceSettings: 1`, `managedRuntimes: 1`, and `ui: 0` (Lithe Desktop 0.8.17 or later recommended; latest stable 0.8.22 supports all required capabilities). Earlier hosts that do not support `toolchainProviders: 0` will keep their existing compatible plugin version. diff --git a/io.github.lithe-idea.java-support/plugin.json b/io.github.lithe-idea.java-support/plugin.json index 157776e..aafe0aa 100644 --- a/io.github.lithe-idea.java-support/plugin.json +++ b/io.github.lithe-idea.java-support/plugin.json @@ -2,7 +2,7 @@ "schemaVersion": 0, "id": "io.github.lithe-idea.java-support", "displayName": "Java Support", - "version": "4.3.1", + "version": "4.4.0", "pluginAPIVersion": 0, "requires": {"backend": 0, "debugAdapters": 0, "languages": 0, "languageServers": 0, "pluginFunctions": 0, "settings": 0, "projectGenerators": 0, "toolDefinitions": 1, "toolchainProviders": 0, "sourceSettings": 1, "managedRuntimes": 1, "ui": 0}, "managedRuntimes": {