I would like Cursor / Claude LLM to look into the files in my application and make suggestions for improvements. But it seems like I can only do this if I open all the files. I have a few hundred files so this is impractical. Any suggestions on what I can do to avoid seeing this message:
Would you like to start by sharing any particular file you’d like me to review?
“whereas in agent mode, the Composer can lookup the context itself, so you don’t have to give it context manually.”
I think this might be the key to my problem. Can someone else confirm and explain the difference of how it works in normal and agent mode?
You might try using Context search.
- Make sure your codebase is indexed in Cursor Settings
- Add
@codebase
context in your prompt in Chat
I’m not sure Cursor can really do what you’re trying to accomplish though. If your files are long, I doubt all hundreds of them will fit into the context window. You can enable Optional Long Context in settings to combat this (will use more fast requests).
You can also @ entire directories in the chat window instead of each individual file.
1 Like