Vinzent03 / tab-switcher

Tab Switcher - Obsidian Plugin
GNU General Public License v3.0
123 stars 6 forks source link

FR: Save the Tab History When Switching to a Different Workspace #33

Closed malekinho8 closed 2 days ago

malekinho8 commented 2 days ago

The plugin is great, but one thing I wish it had was the ability to save the history of tabs switched when I switch between workspaces. If I am in workspace X, I might have the following tab history:

image

If I switch to workspace Y and then back to X, I would like the history to be maintained, however what I get is the following upon switching back:

image

What I notice is that the history other than the tab that was last opened before switching from workspace X is lost, and the tabs below the last opened tab in the workspace are replaced by the tabs open from the left most point of the tab-bar going to the right.

Would this be possible? It is a similar feature to what is available in VS Code where when you switch between 2 workspaces, it maintains the history of being able to switch to the last opened file using CTRL + TAB, whereas currently this plugin does not seem to retain/cache the tab history anywhere.

malekinho8 commented 2 days ago

See forked branch here: https://github.com/malekinho8/tab-switcher/tree/feature-request-0033-workspace-tab-history