Skip to content

Command for going to previously-used tab #1819

Description

@amacfie-tc

Check for existing issues

  • Completed

Describe the feature

There are commands for "Open previous file tab" and "Open next file tab" which go back and forward in the list of tabs in the fixed order in which they're displayed. It would be useful to have a command that goes back to the tab opened before the current one. This is called "View: Open Previous Editor" in VS Code (workbench.action.openPreviousEditorFromHistory"). This way there would be an easy way to "jump back" after jumping to a different file (via "Go to definition" for example).

Running the command twice would go back two steps in history, etc. I guess there should be a command to go forward in history too. More details: https://www.geeksforgeeks.org/system-design/design-custom-browser-history-based-on-given-operations/

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions