Repository navigation
fix(settings): 将 Python 解释器覆盖移至语言与框架 - #11
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.
关联 Issue / Linked issue
PR 类型 / Type
改动说明 / What changes
安装并启用 Python Support 1.0.0 后,「设置 → 构建、执行、部署 → 构建工具」会出现只包含解释器覆盖路径的 Python 页。解释器设置应能和 Pyrefly 设置一起从「语言与框架 → Python」找到。
pythonExecutable.page改为{ "languageID": "python" }。已保存的覆盖值继续通过pythonExecutable读取,供构建、运行和 pytest 使用。类型专属:fix
buildSystemID: python。仓库初始提交a6f3c4e已包含这项声明,宿主按通用契约创建构建工具页。scripts/package/archives.test.mjs的新增检查在修复前读到buildSystemID: python而失败,修复后六种平台清单均通过。范围检查 / Scope checks
docs/feature-matrix.md。验证 / Verification
node --test --test-timeout=60000 scripts/package/*.test.mjsnode scripts/package.mjs --platform darwin-arm6457e55d6ebuildSystem:python和language:python。新包仅生成language:python,该页含「Python 解释器」分组。新旧包均正确回读同一份已保存的全局解释器覆盖。TestContributedPagesGoUnderBuildOrLanguages、TestVisualPluginSettingsPage、TestVisualLanguagesPagegit diff --check、宿主测试稳定性、i18n 及发行目录只读检查通过。原生设置窗口未在 Windows 或 Linux 运行。对应发行包与命令测试由插件 CI 执行。
提交前确认 / Final checks
main的237f81b创建独立分支,目标为main。