https://docs.cursor.com/guides/advanced/large-codebases
Cursor developers shared tips and techniques for effectively working with large and complex codebases.
They highlighted key aspects that help in navigating unfamiliar code faster. Key recommendations include:
- Using Chat for Code Understanding: Via the chat mode, you can quickly get explanations on how certain parts of the code work. It is also recommended to enable the "Include Project Structure" feature for better understanding of the project structure.
- Writing Rules: Creating rules allows emphasizing important project information and ensures better understanding for the Cursor agent.
- Detailed Planning of Changes: For large tasks, it's worth spending time creating an accurate and well-structured plan of action steps.
- Choosing the Right Tool: Cursor offers various tools (Tab, Cmd K, Chat), each with its advantages for specific tasks – from quick fixes to large-scale changes across multiple files.
They emphasize the importance of breaking down large tasks into smaller parts, including relevant context, and frequently creating new chats to maintain focus.
#cursor