Agent code refactor brakes the codebase

Describe the Bug

Code refactoring happens only line-based and not globally in the codebase. After first change the code locally the whole codebase brakes. Why doesn’t it use native find-replace tool?

Steps to Reproduce

It is not easy to reproduce as agent actions are stochastic, but when it thinks that it found a problem and changes the code it does it locally, not globally.

Expected Behavior

The agent should have access to find-replace tool and if it sees that the code is not used anywhere else, it changes it. If the code is used in other symbols - it warns about it and asks a permission the same way as now for running CLI commands.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.3.7 (user setup)
VSCode Version: 1.99.3
Commit: 5d56108ff2401c28f239aa2a527ef424ce7719a0
Date: 2025-07-31T04:16:31.276Z
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.19045

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.