Diffs from Claude being misinterpreted

This generally freaks me out and can cause mistakes if my attention lapses:

I needed to change the component call in case 0. Claude searched for Case 1, gave me the update for Case 0, told me it wanted to update the render method but all it did was reorganize the order of the lines.

Granted, Claude is basically Rainman… brilliant at what he does but dramatically scope limited in the application of his genius.

But this seems like something Cursor should be able to deal with on the IDE end.

You shouldn’t rely entirely on AI assistants. In particular, Claude is still not perfect. But I agree, such problems should be handled by AI at the IDE level, without requiring constant developer intervention.

When I’m making a global change to a back button across multiple components that is essentially the same each time it’s a lot faster to let AI suggest the change, even if it means squashing typescript issues afterward. AI does fine when treated like a junior programmer.

As we seem to agree, it would be nice if Cursor could avoid issues that make the junior look like a bad hire :slight_smile:

Also, why would I be using Cursor if I didn’t want to work with an AI assistant? I’m confused by how this comment ended up on a Cursor community forum since that’s kind of the entire point of the product. If I didn’t want a deeply AI-integrated experience I’d open Sublime or JetBrains.

What version of Cursor are you using?

Version: 0.40.4
VSCode Version: 1.91.1
Commit: 63dae81aea2c3fc079420fe72578a8eef26ba870
Date: 2024-09-05T02:52:05.660Z
Electron: 29.4.0
ElectronBuildId: undefined
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.6.0

And this is a really similar case, again. I asked the AI to autopilot a types update after I changed a core component and while I knew where it MEANT to send me, this was a really bizarre way of presenting location > change - especially since Cursor doesn’t (as far as I know) have an option to “show proposed changes as a diff”