# Doesn't modify files or insert code

**URL:** <https://forum.cursor.com/t/doesnt-modify-files-or-insert-code/94175>\
**Category:** Bug Reports\
**Created:** [May 20, 2025, 10:12pm UTC](https://forum.cursor.com/t/doesnt-modify-files-or-insert-code/94175 "2025-05-20T22:12:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![strobecsmain](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/strobecsmain/32/56656_2.png) [@strobecsmain](https://forum.cursor.com/u/strobecsmain)\
**Post date:** [May 20, 2025, 10:12pm UTC](https://forum.cursor.com/t/doesnt-modify-files-or-insert-code/94175/1 "2025-05-20T22:12:56Z")

</div>

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:

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

```

---

<div class="post-metadata">

**Author:** ![jdubb75](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@jdubb75](https://forum.cursor.com/u/jdubb75)\
**Post date:** [May 20, 2025, 10:48pm UTC](https://forum.cursor.com/t/doesnt-modify-files-or-insert-code/94175/2 "2025-05-20T22:48:59Z")

</div>

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 🙂

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [June 19, 2025, 10:49pm UTC](https://forum.cursor.com/t/doesnt-modify-files-or-insert-code/94175/3 "2025-06-19T22:49:32Z")

</div>

Closed on June 19, 2025, 10:49pm UTC

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