Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/releases/v4.4.0.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 1 addition & 1 deletion io.github.lithe-idea.java-support/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Loading