# Apply code is not working

**URL:** <https://forum.cursor.com/t/apply-code-is-not-working/18275>\
**Category:** Bug Reports\
**Created:** [September 23, 2024, 12:55pm UTC](https://forum.cursor.com/t/apply-code-is-not-working/18275 "2024-09-23T12:55:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![floki](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/floki/32/5929_2.png) [@floki](https://forum.cursor.com/u/floki)\
**Post date:** [September 23, 2024, 12:55pm UTC](https://forum.cursor.com/t/apply-code-is-not-working/18275/1 "2024-09-23T12:55:20Z")

</div>

I created the code with Chat, so its a new code which I will need to add to the existing code. When I click on “Apply” it shows generating… but then shows me the confirmation message: Accept or Reject. But I dont see the new code added to my existing code. I tried to close and reopen the Cursor app (desktop). How can I fix it?

Using GPT o1-mini, windows.

Languages: HTML, CSS, JS, PHP.

---

<div class="post-metadata">

**Author:** ![Jatin](https://avatars.discourse-cdn.com/v4/letter/j/f04885/32.png) [@Jatin](https://forum.cursor.com/u/Jatin)\
**Post date:** [September 24, 2024, 6:08am UTC](https://forum.cursor.com/t/apply-code-is-not-working/18275/2 "2024-09-24T06:08:01Z")

</div>

apply after ctrl+L dosent work for me too. Its been a week now.

---

<div class="post-metadata">

**Author:** ![bagaspr](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@bagaspr](https://forum.cursor.com/u/bagaspr)\
**Post date:** [September 24, 2024, 8:06am UTC](https://forum.cursor.com/t/apply-code-is-not-working/18275/3 "2024-09-24T08:06:27Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/2X/d/db3de1d82c450c4a35d6e8bc4539e942829c02c6.png)  
same to me

not anything code changes, not having green area changes showing.

---

<div class="post-metadata">

**Author:** ![holgersindbaek](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/holgersindbaek/32/4298_2.png) [@holgersindbaek](https://forum.cursor.com/u/holgersindbaek)\
**Post date:** [September 24, 2024, 1:50pm UTC](https://forum.cursor.com/t/apply-code-is-not-working/18275/4 "2024-09-24T13:50:53Z")

</div>

Same for me!

---

<div class="post-metadata">

**Author:** ![holgersindbaek](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/holgersindbaek/32/4298_2.png) [@holgersindbaek](https://forum.cursor.com/u/holgersindbaek)\
**Post date:** [September 24, 2024, 2:50pm UTC](https://forum.cursor.com/t/apply-code-is-not-working/18275/5 "2024-09-24T14:50:34Z")

</div>

Downgraded to 0.40.4 and it worked again.

---

<div class="post-metadata">

**Author:** ![aliensoul](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/aliensoul/32/5601_2.png) [@aliensoul](https://forum.cursor.com/u/aliensoul)\
**Post date:** [September 24, 2024, 8:31pm UTC](https://forum.cursor.com/t/apply-code-is-not-working/18275/6 "2024-09-24T20:31:59Z")

</div>

in the latest version of composer the green dots that signify a change that was not yet saved or accepted, sometimes light up for no reason. the accept button many times doesn’t do anything and I’m unsure if I already applied that file or not, is it the same issue you guys see in chat? looks like composer is buggy in this regard as well. The ‘save’ should appear after ‘apply’ button, but the button doesn’t get removed in some cases …
