CodeEditApp / CodeEditApp/CodeEdit

✨ ⇧⌘T keyboard shortcut to bring back closed editor tabs

未关闭
#1,656 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement feature request good first issue tabs UI
主要语言
Swift
星标
23k
派生
1.2k
PR 合并指标
30 天内没有已合并 PR

描述

### Description

The ⇧⌘T keyboard shortcut is a common shortcut to bring back closed tabs. A FileHistory service will be needed to keep track of the files that were opened in specific order. The user should be able to keep pressing ⇧⌘T to bring back as many tabs as the FileService saved.

The tab history should be per window, however if all tabs are closed in a window and that window is closed, this shortcut will bring back the last tab in a new window, like it was before.

### Alternatives Considered

_No response_

### Additional Context

_No response_

### Screenshots

_No response_

贡献指南

打开贡献指南

调研方向

首先梳理编辑器标签页和窗口的生命周期,然后设计 issue 中描述的按窗口划分的 FileHistory 服务方案。完成标准是:重复按下 ⇧⌘T 可以按顺序恢复已关闭的标签页,按窗口保留历史记录,并在原窗口已关闭时于新窗口中恢复最后一个标签页。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, swift
领域
desktop, devtools
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。