“View: Close All Editors” command also closes agent window. I expect it to only close the editors for files I’ve opened. This is how it has always worked in the past. The regression started in Cursor version 3.
Steps to Reproduce
Open files in a project.
Open an agent chat.
Run “View: Close All Editors”
files and agent closes.
Expected Behavior
“View: Close All Editors” should only close editors (files) that i’ve opened. It shouldn’t affect the agent panel.
Hi there,
Thanks for reporting this. In Cursor 3, the agent panel is implemented as an editor tab group, which means commands like “Close All Editors” now include it. This is a change from the previous architecture where chat wasn’t part of the editor system.
I understand the expectation that “Close All Editors” should only affect file tabs, and that’s fair feedback. I’ll share this with the team so they can evaluate whether the agent panel should be excluded from mass-close commands.
In the meantime, you can close file tabs individually or right-click a tab and use “Close All” within a specific editor group to avoid closing the agent.
I’ve noticed this today as well. What I ended up doing is pinning individual agent chat windows. This way, they should stay when I want to clean just the code editors with said shortcut. Posting it as a workaround here in case it helps someone else .