Doesn't modify files or insert code

I’m using version 0.49.9.0, and today I noticed something strange: Claude writes code, sends it, but doesn’t insert it into the file. That is, the code appears in the chat, but it says “No changes made.”

I don’t know how to fix this. I reinstalled Cursor twice, but that didn’t solve the issue. I’m wondering whether this is a problem with my PC, some leftover files, or the Claude 3.7 model itself?

Also, if I ask it to check the files it supposedly created or modified, it suddenly tries to inject all the code via PowerShell — but there’s a problem: it inserts code like this:

<!DOCTYPE html>
<html><head><title>text</title><meta charset="utf-8"><link rel="stylesheet" type="text/css" href="css/style.css"></head>

Hello!

Try adding a rule to specify not to create code snippets in chat and to utilize the tools at its disposal.

Here’s what I’ve got:
DO NOT DRAFT OR PRODUCE CODE SNIPPETS IN OUR CHATS (I DO NOT NEED PRIOR APPROVAL OR TO REVIEW BEFORE CREATION AND THIS WASTES CONTEXT TOKENS), ONLY CREATE CODE USING THE TOOLS.

May not fully give you resolve, but hopefully it helps to some degree until this kink is managed.

Remember to use ctrl+shift+p and type in capture and send debugging data! That way cursor can receive as much detail as possible :slight_smile:

2 Likes