The workspace management between the Agent window and the main editor needs lots of improvements.
In the agent window, instead of creating a new workspace by selecting the directories, there should be an option to select the .workspace file to load existing workspaces.
In the agent window, I should be able to add another folder to the workspace that is created in the agent window. Every single time I add a new service, I have to create a new workspace with all the old services + the new one.
There should be an option to rename the workspace in the Agent window.
Agent window should also allow to open the workspace from the .workspace file instead of just selecting the directories.
When I open the Agent Window from the editor, it should automatically create a new workspace if not exist.
Hey, thanks for the detailed feedback on workspace management in the Agents Window, it all makes sense.
A couple things you can do today:
To reuse an existing multi-root workspace, first open its .code-workspace file in a regular Editor window, then switch to the Agents Window. It’ll show up there as a target. There’s a similar breakdown in this thread: Cursor Agent Window Cannot Open Workspace Files
To bundle multiple folders into one named workspace, use Set Up Workspace in the project picker inside the Agents Window.
Directly loading a .code-workspace from the Agents Window, adding a folder to an existing workspace without recreating it, and renaming a workspace aren’t supported yet. I can’t share an ETA right now, but the request is on our radar.
Let me know if the workaround doesn’t cover your case.