3 ms·
Can Cursor actually update the files? Because I've seen many examples and complaints, most recently from my developer, that it says it's changing the files, but
by archon810 2y ago
Can Cursor actually update the files? Because I've seen many examples and complaints, most recently from my developer, that it says it's changing the files, but nothing actually changes, and when pressed, says it can't actually change files.
I've found numerous threads about this issue on their forums too.
- TowerTall 2y agoIt can. It can modify the active document. In the chat sidebar dialog there are two submit buttons. The one labelled "chat" cannot edit the active file and when you chat using that submit button it doesn't understand your code base. The submit button labelled "Codebase chat" on the other hand can update the active document and has knowledge about your project. In the codebase chat dialog it will print the suggested changes and then you must press the apply button next to the suggested change. then it will apply the changes to the file in a git compare kind of way with red and green colors. Finally you must accept each of the red/green changes and the file will be updated on disk.
- TowerTall 2y agoAn alternative is aider that can edit multiple files at once. It performs a git commit after each changes which drove me nuts and didn't fit into my workflow. With cursor you decide when to commit to git which i like better.
- d3vr 2y agoYou can actually disable that default behavior through the config file .aider.conf.yml [1]: auto-commits: false Or if you prefer in .env [2]: AIDER_AUTO_COMMITS=false [1]: https://aider.chat/docs/config/aider_conf.html https://aider.chat/docs/config/aider_conf.html [2]: https://aider.chat/docs/config/dotenv.html https://aider.chat/docs/config/dotenv.html