Conversation Techniques
-
Use Git to save code in staged commits frequently. Although Cursor has strong code generation capabilities, generating a large amount of code and then using Accept All can easily cause the entire project to fail. It is recommended to commit code in stages so that you can roll back if issues arise.
-
A single Cursor window should open an entire project. The default context directory for Cursor is this directory, and if the scope of this directory is too large or too small, it can hinder code generation.
-
Cursor sometimes only provides the modified parts of the code, ignoring the rest, which can damage existing code after using Accept All. You can specify in the global rules that complete code should be generated, or you can emphasize this during the conversation.