When I open more than 6 chat tabs, one of the currently opened tabs disappears. When I close Cursor and open the project again I have got only 3 opened tabs.
I can recover those closed tabs from history, but it is still a big annoyance since I don’t always remember which tabs i had opened and what is the name of the tab I worked on (+ the history searches only by tab names).
I tried to find if there is a setting for this, but I was unable even with AI.
Steps to Reproduce
Open 6 chat tabs, try to open 7th. One of the currently opened tabs disappears without any warning.
Try to close Cursor with those tabs and open the project again. Only 3 tabs will be opened.
Expected Behavior
I would like to be able to open unlimited number of tabs that would stay during Cursor restarts.
If that is not possible (e.g. for performance reasons), I would like to be questioned WHICH tab I want to close and also I would like to be able to see it more clearly in the history.
Hey @Vilem_Duha! I think I have good news for you on all fronts.
The default max for open tabs is 5, but you can change it! Head to Cursor Settings > Agents > Max Tab Count and set it to 5, 10, unlimited, or a custom value.
As for tabs being lost on restart – on older versions, only the 3 most recently focused chat tabs are restored when you reopen Cursor. If you upgrade to Cursor 3.0 and turn on "Open chat as editor tabs (under Cursor Settings > General > Layout), that limit goes away, and all your open tabs should persist across restarts!
@Colin Thank you very much. This solves all my troubles.
PS: If I were a new user I would still be very confused why are my tabs dissapearing. I would consider better UI to let the user choose which tab to close or at least give him some notification about what happened.
@Colin Few things changed after switching to “Open chat as editor tabs”:
I see the agent status by the chat icon, which is excellent
But I can’t rename the chat
I have to use /worktree command (it is ± OK), but I don’t see the worktree path anywhere (the bottom icon dissapeared), which makes it really hard for me to keep track of which tab is which task and in which worktree is the code
Are there any measures how can I get better overview over the chat tabs? Ideally I would like to see the topic, branch and worktree path (ideally with copy link) for each of those tabs somehow easily.
Or are there any plans for this?
You can still rename chats from the Agents sidebar as before. That said, adding rename functionality directly on the editor tab could be useful—I’ll pass that along!
Worktree visibility is pretty rough right now. It’s something we’re actively working on improving!
For additional feedback, I’d recommend creating new threads in Feedback or Feature Requests, instead of continuing this bug report thread.