Utilize workspace names via to uniquely identify workspaces.
Store and restore tab history for each workspace.
Maintain tab history when switching between workspaces, similar to VS Code behavior.
Ensure compatibility by handling cases where the Workspaces plugin is disabled.
To be honest, I heavily used GPT o1-preview to make this code. I tested it though with logs and everything seems to be working as it should. The history is maintained after switching workspaces.
To be honest, I heavily used GPT o1-preview to make this code. I tested it though with logs and everything seems to be working as it should. The history is maintained after switching workspaces.