CodeEditApp/CodeEdit

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

Open

#1656 opened on Mar 31, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Swift (22,856 stars) (1,165 forks)batch import
UIenhancementfeature requestgood first issuetabs

Description

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

Contributor guide