There is an “Open workspace” button in the left column of the agents UI. If you try to go to the menu “on this pc” it says “already added” on most of them and they are greyed out and cant be selected.
If I go further down to the “select a folder”, you can select a folder that is the same as those “on this pc” and start working.
Where in the world are these repos “already added”? Certainly not anywhere I can find them to be selected.
Steps to Reproduce
Click open workspace, go to “on this pc” - most of the folders are greyed out with a tooltip stating “already added” and they cant be selected.
Expected Behavior
I have no idea what is supposed to happen in that menu to be perfectly honest.
“Already added” in Open Workspace > On this PC means that folder is already in your Agents Window workspace list, so the menu greys it out to make new folders stand out. The catch is that the sidebar only shows a row for a workspace that has no chats yet when it’s grouped by Repository. With any other grouping (Workspace, Updated, Status, Environment or Source), those workspaces stay in the list but get no row, which is why you can’t find them anywhere.
To bring them back:
Click the Customize Sidebar button (the filter icon) in the sidebar.
Open Grouping and pick Repository.
Look for your folders as rows in the sidebar. You can start a new agent from any of them.
Using Select a folder on the same folder is also fine: it selects the existing workspace for a new agent rather than adding a duplicate.
If Repository grouping doesn’t show them, could you reply with which grouping you had selected, and whether you have a .code-workspace file open in the Agents Window? Folders that belong to a multi-folder workspace are also marked as already added.
Then it shows them all in an ugly list where most of them have “no agents yet”.
The workspace view really is the only view that actually works as it shows what you are currently working on, the others I have no idea what they want to achieve to be perfectly honest.
I can also scroll to the bottom of the “On this PC” list, past all the unselectable folders where the ones I actually want to work in are present but they wont allow me to click them (apparently as your answer said to make some of them stand out), to the last item named “Open folder”, and from there I can select whatever folder I want and it will show up in the workspaces view ready for work.
An added tidbit is that all the repositories that “has no chats yet” actually had multiple chats, they were just archived.
Sorry if this is somewhat rambling, but I’m tired and it annoys me to no end that there is a quickly reachable menu to select the thing I just want to start an agent window for, and it doesn’t allow me to select them in order to make “other repositories stand out more”.
In summary: WHY EVEN PLACE SOMETHING THERE IF ITS NOT INTERACTABLE??
Thanks Erik, no need to apologize. That’s useful feedback, and you’re right that it’s a frustrating dead end.
The detail about archived chats helps a lot. It explains why those workspaces show “no agents yet”: archived chats don’t count, so a workspace whose chats are all archived looks empty and loses its row in the Workspace view, while the picker still treats it as already added.
I’ve passed this on to the team, including your point that the On this PC list should let you pick the folders you actually want instead of greying them out. Until that changes, the Open folder option at the bottom of the list, which you already found, is the best way to get a folder back into the Workspace view.