Search and Replace Tool Regression
The search and replace functionality for Anthropic models has stopped working properly in Cursor 0.51.0. This feature worked correctly in version 0.50.7 but appears to have regressed in the latest release.
System Information
Version: 0.51.0 (user setup)
VSCode Version: 1.96.2
Commit: adaabf32700c570904618df5bd7166988f3d0790
Date: 2025-05-29T21:35:42.471Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
Request IDs
- f514989f-024e-4732-ab8f-d5d2fff0322f
- 52ca8067-5c11-4958-be3a-376954d3028a
Steps to Reproduce
- Open a large JavaScript file (8K+ lines of code)
- Request Anthropic model to perform search and replace operations
- Model attempts to apply changes but fails with “No changes made” message
Developer Console Errors
The developer console shows multiple error patterns related to:
- Git repository detection failures
- Composer timeout issues
- Background composer remote connection problems
- Tool execution errors for
edit_file
operations - Search and replace diff tracking failures
Key error patterns include:
[composer] Timeout waiting for composer to load and show
[composer] Error in submitPromptDryRun: Error: [composer] populateConversationWithContext called without state!
[ToolV2Service] Error executing tool 7 (editFileParams): Tool call errored or timed out
[composer] error in handleSlashEditResponseSingleDiffPure ConnectError: [invalid_argument] Error
Troubleshooting Attempted
I have tried multiple solutions without success:
- Restarting Cursor completely
- Enabling the “Disable HTTP/2” option in settings
- Restarting the PC
- Testing with the same file that worked perfectly in version 0.50.7
Expected vs. Actual Behavior
Expected: Search and replace operations should complete successfully on large files as they did in 0.50.7 Actual: Operations fail with “No changes made” message despite valid modification requests
Impact
This regression significantly impacts productivity for users relying on Anthropic models for code editing and refactoring tasks, especially when working with large files.
Additional Issue: User Rules Content Wiped
In this same release (0.51.0), all previously configured User Rules have been wiped/reset. While the User Rules setting is still accessible in the interface, all the custom rules I had previously configured are gone, as if I never added any rules. In previous versions, User Rules content was properly preserved across updates.
I hope these issues can be addressed promptly to improve both the technical functionality and community support experience. Thank you for your attention to these matters.