[Feature] 运行配置“执行前”下补齐 IDEA 的三个复选框:显示此页面、激活工具窗口、使工具窗口获得焦点
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- desktop
Research direction
Start with rust/crates/execution/src/configuration.rs and the implemented before-launch design note at .agents/notes/implemented/feature/2026-11-18-run-configuration-before-launch-steps.md; then trace the desktop run configuration editor and launch flow. The issue calls for core model and protocol changes, UI controls, localization, and launch behavior. Done means all three options save and load correctly, affect startup as described, and have the requested tests, screenshot, and feature matrix updates.
Written by the indexing model from the issue text.
Description
Problem to solve / 要解决的问题
运行/调试配置窗口的“执行前”已经按 IntelliJ IDEA 还原成带框列表(#2169),但 IDEA 列表下面还有三个复选框,Lithe 还没有:
- 显示此页面(Show this page):勾选后,每次启动这个配置前先打开它的编辑页,确认后才运行。
- 激活工具窗口(Activate tool window):启动时是否打开并切到 Run(调试时是 Debug)工具窗口。IDEA 默认勾选。
- 使工具窗口获得焦点(Focus tool window):启动时是否把键盘焦点交给该工具窗口。IDEA 默认不勾选。
现在桌面端每次启动运行都会打开 Run 窗口,焦点留在编辑器,用户不能按配置改变这一行为;也没有“启动前先确认配置”的入口。Core 的运行配置模型(rust/crates/execution/src/configuration.rs)里也没有这三个字段,项目文件里写不出来。
Proposed solution / 建议方案
- Core:在运行配置模型里加三个可选字段(名称待定,例如
showSettingsBeforeLaunch、activateToolWindow、focusToolWindow),缺省值与 IDEA 一致:不显示、激活、不聚焦。读写走现有的运行配置编辑接口,项目文件里只写和缺省值不同的字段;契约 README 写明字段含义和缺省值,并在协议更新记录登记。 - 桌面端:在“执行前”列表下面加三个复选框,单行紧凑排列;启动时按字段决定是否先打开编辑页、是否打开 Run/Debug 窗口、是否把焦点交给它。文案走
shared/i18n。 - 验证:无头测试覆盖三个字段对启动行为的影响,以及勾选后保存再读回;截图更新
docs/assets/before-launch/;功能矩阵run-before-launch-steps补对应行。
Target platform / 目标平台
Cross-platform / 跨平台
Area / 模块
Run / 运行
Priority / 优先级
P2 / 后续考虑:目前不着急,可安排到后续版本
Alternatives considered / 已考虑的替代方案
- 只在桌面端偏好里加全局开关:IDEA 是按配置设置的,全局开关不能让“服务器类配置激活 Run 窗口、脚本类配置不打扰”同时成立,不采用。
- 把三个选项做成插件声明:这是所有运行配置共有的宿主行为,与具体工具无关,应放在 Core 通用模型里,不交给插件。
Additional context / 补充信息
- 用户在评审 #2169 时确认“这次只还原列表”,三个复选框单独做。
- “执行前”的设计与范围见 Agent Note
.agents/notes/implemented/feature/2026-11-18-run-configuration-before-launch-steps.md。
Checklist / 提交前检查
- I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复建议。
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 151
- Avg merge
- 3h 48m
- Merged PRs (30d)
- 571
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 1lck/Lithe-IDEA
-
review: medium
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
1lck/Lithe-IDEA#2432 ·
Maintainers usually reply within 1 day
-
review: medium
Difficulty 1/5 Under an hour Newbie friendliness 82/100
1lck/Lithe-IDEA#2431 ·
Maintainers usually reply within 1 day
-
refactor review: high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
1lck/Lithe-IDEA#2376 ·
Maintainers usually reply within 1 day
-
area:ui enhancement P2 platform:cross-platform refactor review: high
Difficulty 1/5 Under an hour Newbie friendliness 84/100
1lck/Lithe-IDEA#2365 ·
Maintainers usually reply within 1 day
-
review: medium
Difficulty 3/5 1-2 days Newbie friendliness 57/100
1lck/Lithe-IDEA#2434 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
rel: fix
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Deltares/fews-web-oc#2400 ·
Maintainers usually reply within 1 day
-
Command bar: Tab-to-search on claude.ai falls back to Google site: search instead of opening a prompt on ClaudePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ardia-browser/ardia#4426 ·
Maintainers usually reply within 1 day
-
Bug report: isValidISODateDashOnly accepts text before or after the date-timePossibly taken @bardrop claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
pnp/cli-microsoft365#7713 ·
Maintainers usually reply within 1 day
-
Diagram: Journey Type: Bug / Error
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
mermaid-js/mermaid-v13#1293 ·
Maintainers usually reply within 1 day