re-launching them opens the AGENTS window, one instance per workspace.
Expected behavior: the IDE view should re-open.
ALSO - opening a workspace directly launches the agents window and NOT the IDE.
AND when you click the “IDE” button it does not launch the workspace you had tried to open, it launches the workspace of whichever chat happens to be open in the agents window.
HOW are you meant to actually open the IDE to a specific workspace?
This is so non-intuitive I have to assume it is a bug?
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!
When the Agents Window was the last window you used, opening a folder or workspace from outside Cursor (double-clicking it, right-click “Open with Cursor”, or cursor <path> in a terminal) is routed into the Agents Window as a new agent instead of opening the IDE. And the IDE button in the Agents Window always opens the IDE for whichever agent/chat is currently selected, so if the workspace you just opened didn’t become the selected one, you get the previous workspace instead.
To open the IDE for a specific workspace directly, any of these work today:
In the Agents Window sidebar, right-click the workspace (project) and choose “Open in IDE”.
Select any chat in that workspace, then press Ctrl+Shift+N (Cmd+Shift+N on Mac) or use File > Open IDE.
To stop the Agents Window from taking over launches, open Cursor Settings > General > Window Restoration and set it to “Last Used Windows”. With that set, folder and workspace opens land in the IDE as long as the last window you were using was an IDE window (so close the Agents Window before quitting, or quit from an IDE window).
The part where relaunching opens several Agents Windows at once, one per workspace, is not expected and I’d like to dig into it. Could you share:
Your OS (Windows / macOS / Linux) and Cursor version (Cursor > About Cursor > Copy). If you’re not on the latest version, please update first and check whether it still happens.
How you normally open a workspace: double-clicking a .code-workspace file, right-click “Open with Cursor”, cursor . in a terminal, or File > Open Folder.
A quick test: set Window Restoration to “Last Used Windows” as above, open two workspaces in the IDE, close Cursor normally (File > Exit, or Cmd+Q on Mac) rather than force-closing it, and relaunch. Do you get two IDE windows back, or Agents Windows again? If Agents Windows, how many?