Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

将 "Add Java" 的行为更改为选择一个目录后, 在目录中递归搜索并添加所有 Java #3494

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

ri-fumo
Copy link

@ri-fumo ri-fumo commented Dec 13, 2024

#3492
如果选择的是某个 Java Home 或 bin 目录, 则认为选择了单个 Java

目录搜索递归层数限制为3层
由于增加按钮会导致过于拥挤, 所以直接更改了 "Add Java" 的行为

另外, i18n 中俄语 西班牙语 日语的翻译可能有误, 需要校正

@burningtnt
Copy link
Member

新的代码请尽量使用 java.nio.Path 替换 java.io.File。

@Glavo
Copy link
Member

Glavo commented Dec 28, 2024

我不是特别喜欢递归搜索,感觉改成支持多选就可以了

@burningtnt
Copy link
Member

递归搜索可以让玩家一次添加多个 Java / 不需要准确选中 java 可执行文件

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants