AI assistant does not apply automatic file changes (Cursor, macOS)
The AI assistant in Cursor cannot automatically apply changes to project files. Every time the assistant suggests a fix (for example, for background.js), the changes do not appear in the editor, and I have to make them manually. There are no obvious errors related to AI or the file system in the DevTools console (Help → Toggle Developer Tools → Console) — only standard messages from workbench.desktop.main.js, which I believe are unrelated. What I have tried: Restarted Cursor. Checked write permissions for the working directory. Made sure files are not open in other editors. Tried working with a project located in OneDrive (~/Library/CloudStorage/OneDrive-Personal/vs_project/jobResearch). Checked for logs in ~/Library/Logs/Cursor/ and ~/Library/Application Support/Cursor/logs/ — these directories do not exist. Expected behavior: Changes suggested by the AI assistant should be automatically applied to project files without manual editing. Actual behavior: Changes are not applied, I have to edit files manually. Additional info: macOS: Darwin 23.5.0 Project is located in OneDrive Cursor version: (please specify your version if you know it) Example of code that is not applied automatically:
Apply to background.j... chrome.runtime.onMessage.addListener((message, sender, sendResponse) => { // Just logging messages if needed console.log("Received message in background:", message); });
Only these messages appear in the DevTools console: B @ workbench.desktop.main.js:46 fire @ workbench.desktop.main.js:46 ...
Question: How can I solve this problem? Are there any restrictions on automatically applying changes to files located in cloud folders (OneDrive)? Where can I find more detailed logs for diagnostics?
Same
same
please fix this!
bump, same here.
use a ubuntu wsl and opend cursor directly on the project dir to minimize the context size. i tried without custom system/agent prompt and with simple tasks.
same
I was facing the same problem. Sometimes, the Cursor AI code editor applies suggested changes only in its internal cache instead of saving those changes to the files on the hard drive. That’s why they don’t appear in your Git commit changes or in other IDEs.
### Solution: After the Cursor AI agent finishes generating its response, go to the "File" menu and click "Save All". This will immediately write all changes to the actual files on disk, and you’ll then see the updates reflected in your IDEs and Git commits as well.