Please fix adding files to chat context!

My biggest frustration with cursor is how when you switch the active file in the IDE it would remove that file from the chat context. And now with the latest update it removes ALL files? This is so frustrating and makes the IDE much slower to use.

I love using AI when coding but increasingly the UX of cursor is getting in the way.

Thank you.

1 Like

My current version is 0.44.9

Adding files to a Chat context has always been very unpredictable, which is making it really frustrating to use. Here’s some suggestions on how to improve the UX.

In a New chat with no files selected, clicking on Add context should have the following options (in order):

  • Search (the way it is right now, but sorted by recently edited)
  • Add a section Open files (lists all of the files that are currently opened in the editor)
  • Add a new shortcut to Add all open files (this button could also be outside of the Add context menu)
  • Remove Available files section. I already know all of the files in my codebase are available so list is redundant.

Once I add files to context, absolutely never add or remove files when I click to an active file in the editor. Files in context should only be added or removed explicitly by clicking clearly labeled buttons (or specific keyboard shortcuts like CMD+L).

An alternative to removing the Available files section would be to show the list of all the files that have been changed compared to the master branch (i.e the files changed in the Pull Request). This would be great for having the model do code review.