Repository navigation
[FEATURE REQUEST] 文件:右键“文件”标签,在选定的文件夹里新建会话 - #57
Merged
Raiden-MeixElysia merged 2 commits intoNov 2, 2026
Merged
Conversation
… in a chosen folder With Files menu on, a right press on the Files tab opens a row between the tabs and the tree, Choose folder for a new session…, which pushes the tree down. It opens the system's folder chooser and starts the shown session's shell there, right after it and shown; a cancel starts nothing, and a folder that does not read, or a failed start, shows in a dialog, New session here's failure too. The tabs stay Ely's SegmentedControl through its new on_context, so the pin moves to c2752ee. The review log splits by range, as reviews-t01-t49.md did. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… them; the acceptance row named T148, the number main gave this pull request Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
我想在任意一个已有的文件夹里开新会话,又不想为此去改“起始位置”设置,所以加了这个入口:
顶部的 Git/文件 切换仍然用 Ely 的
SegmentedControl,通过它新增的on_context知道右键点在哪一段,这样外观、滑块动画、键盘操作和读屏都和原来一样。这个接口在 ELY-Open-Source/Ely-GPUI-Components#10(elyterminal-0.1.1),main 上的版本是 ELY-Open-Source/Ely-GPUI-Components#11。合并之前,pin 指向上面这个 Ely PR 的提交c2752ee;如果合并后提交号变了,我再跟着更新。Windows 11,MSVC,Rust 1.95.0:
cargo fmt --check、cargo clippy --locked --all-targets -- -D warnings通过;cargo test --locked408 项通过(已合并最新的 main);cargo build --release --locked通过。新增测试:
workspace::folder::tests::cancellation_and_invalid_selections_never_name_a_folder和a_folder_keeps_its_path_and_a_missing_one_fails。手动:我在 Windows 上用 release 版试了右键“文件”标签、展开的操作栏和文件夹选择器,没有发现问题。
macOS 和 Linux:没有测。
标题以
[FEATURE REQUEST]、[BUG REPORT]或[Other]开头本地测试和构建通过(Windows)
行为变化已更新文档:PRD、中英文功能说明、AGENTS.md 和验收表(TASKS.md 里的 T148 留给作者合并时勾选)
🤖 Generated with Claude Code