2.0 Why remove /add-active-tabs

@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