Repository navigation
feat(settings): 声明工具链分组与受众(toolDefinitions 1)并补齐设置搜索关键词 - #38
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR 类型
改动功能点明细
io.github.lithe-idea.java-support/plugin.json:requires.toolDefinitions从0升至1。toolDefinitions中的项目JDK(java)声明"category": "runtime"、"audience": "user";为语言服务器运行时JDK for JDT LS(jdtls-runtime)声明"category": "runtime"、"audience": "plugin",使宿主工具链设置页将其收入“插件运行环境”折叠区。settingRegions声明:language(page.languageID = "java"):补充英文搜索关键词JDK、JRE、JDT、JDT LS、JVM、heap、classpath、Eclipse、WTP、Servlet、Tomcat、Jetty、WEB-INF。compiler(page.compilerID = "java"):补充英文搜索关键词javac、bytecode、target、source level、JDT compiler、compliance。io.github.lithe-idea.java-support/l10n/zh-Hans.json:$schema声明。settingRegions.language.keywords(语言服务器、堆内存、类路径、项目结构、模块、依赖、工程模型、Servlet 容器)与settingRegions.compiler.keywords(Java 编译器、字节码、编译级别、目标版本)。backend/tests/repository_pins.rs:the_language_service_jdk_is_separate_from_the_project_jdk增加toolDefinitions: 1及category/audience断言。manifest_and_zh_hans_declare_setting_regions测试,校验settingRegions页归属及中英文关键词非空。docs/feature-matrix.md:申请能力、权限与日志说明
requires.toolDefinitions从0升至1(用于工具链category/audience分组);未申请新权限。Lithe-IDEA/Lithe-core-rust提交9dea6aa6eaaf830c3568b647aa7daae5018b9727校验;所有功能矩阵(docs/feature-matrix.md)、中文翻译(io.github.lithe-idea.java-support/l10n/zh-Hans.json)和测试(backend/tests/repository_pins.rs)均在本插件仓库内维护,对 Lithe 宿主零侵入、零依赖。本机已运行的验证(macOS arm64)
cargo fmt --all --check:通过cargo clippy --workspace --all-targets --locked -- -D warnings:通过cargo test --workspace --locked:通过(lithe_java_backend148、lithe_java_domain282、repository_pins10、session通过)uv run --with jsonschema --with referencing bash scripts/verify-sdk-lock.sh --download:通过(Verified manifest and 1 translations against Core 9dea6aa6eaaf830c3568b647aa7daae5018b9727)node --test --test-timeout=60000 scripts/package/*.test.mjs:11/11 通过node --test --test-timeout=15000 scripts/compiler/process.test.mjs:2/2 通过LITHE_JAVAC/LITHE_JAR):scripts/build-package.sh --arch arm64+scripts/archive-package.sh --package "$pkg" --arch arm64通过(dist/Lithe-Java-Support-4.2.0-darwin-arm64.zip)toolchains.settingsView、plugins.settings.catalog)与 Viva 无头中文暗色渲染验证通过