2.0 Why remove /add-active-tabs

2.0 Why remove /add-active-tabs

Hope to restore this function

Yes, this has caused us a lot of trouble and inconvenience. If you’re experiencing the same issues, please speak up so we can get the official team’s attention.

Agreed. this caused a lot of problem, they say “Agent can now self-gather context without needing to manually attach it in the prompt input” but sometime agent always miss some context and out of context

@Qiang
@hushpeak

I don’t know why Cursor removed this feature, that is frustrating. I did find a sort of workaround, if you want to give it a try.

  1. type ‘/’ and click “Create Command”
  2. call the command something like ‘add-active-tab’
    image
  3. type ‘add active tab to context’ and save
    image
  4. now you should see the custom command after typing ‘/’
  5. Results

Note:
In an empty chat, you can type a request asking what the context is. It usually is the current active tab and the line number your cursor is at, all open files, and recently modified parts of code. So in theory, if you make a request it will assume you mean the current tab, unless its not a fresh chat then it would put weight on previous chats context. But I think one could say “in the active tab…” in plain language and it would add it to the context.

1 Like

stop this
I want native features, not added ones,

Okay. I mean the tab is already in the context without you doing anything. The model already knows what tab is active and if you don’t mention a specific file in your prompt it assume you mean the current active tab. But manually dragging the current tab or making a custom command is not a big deal in my opinion. But yea I get your pain, because it is very annoying to get used to a feature and then suddenly its changed. Cursor should not be removing functionality because it annoys people’s workflows. If you don’t care about new changes, you can uninstall and install an older version if you’d like, otherwise, things are going to keep changing to what the Cursor team thinks is better.

Yes, thanks for sharing. Adding just the active tab isn’t a big deal. But often, I need to add several related files to the context at once. Previously, I could use “Add all open files” to do that.

Yes, my meaning is also that, it’s most needed.,Add all open files

Yea, I don’t think there is a good replacement for adding all active tabs besides shift selecting all the open tabs and dragging them into the chat. It’s not a big deal, unless you do that for majority of your requests. Cursor should have just kept these backwards compatible commands, at least until people got used to the new “simpler” context system they are trying to roll out.

I signed up just to reply to this thread. This is an absurd. Why did they do that? I genuinally want to quit Cursor just because of this.

1 Like