Repository navigation
fix(build): keep implicitValue beside a user override - #121
Merged
Merged
Conversation
The host's Override checkbox needs the tool's value while the user overrides it too, as what unchecking returns to; without it a reopened dialog could not remove the override. Only a declared default replaces it. Refs 1lck/Lithe-IDEA#2152 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1lck
marked this pull request as ready for review
November 19, 2026 12:34
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.
关联 Issue / Linked issue
PR 类型 / Type
改动说明
#120 只在选项未设置时返回
implicitValue。接入桌面端“覆盖”复选框时发现了问题:用户覆盖并保存后,重新打开对话框,Core 不再返回工具的值,复选框也就不再显示,覆盖撤不掉。IDEA 的PathOverrider在已覆盖时仍然保留复选框和默认值,取消勾选就回到默认值。build.resolveOptions对没有声明default的text、file、directory选项,用户覆盖时也返回implicitValue,表示撤销覆盖后会回到的值。声明了default时仍不返回。build.resolveOptions的说明同步更新;插件协议更新记录在 2026-11-19 新增一行。验证
model_reports_the_implicit_value_of_unset_path_options改为断言用户值旁边仍有implicitValue。cargo test -p lithe-core中构建系统相关测试通过,cargo fmt --check和verify-docs.mjs通过。TestPathOptionShowsTheToolValueUntilOverridden验证。🤖 Generated with Claude Code