# "Apply in" suggests wrong file

**URL:** <https://forum.cursor.com/t/apply-in-suggests-wrong-file/48896>\
**Category:** Bug Reports\
**Created:** [February 7, 2025, 9:59pm UTC](https://forum.cursor.com/t/apply-in-suggests-wrong-file/48896 "2025-02-07T21:59:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dehyde](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/dehyde/32/21101_2.png) [@dehyde](https://forum.cursor.com/u/dehyde)\
**Post date:** [February 7, 2025, 9:59pm UTC](https://forum.cursor.com/t/apply-in-suggests-wrong-file/48896/1 "2025-02-07T21:59:53Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/3X/5/f/5f2d2af258dc5e4844d90e5959f0707d4f553c0d.png)

In the chat - using sonnet or o3, asking it to resolve an issue in the codebase.  
Provides multiple code snippets but I can’t see the “Apply all” button anymore.  
Then in each code snippet, in shows the button “Apply in…” only for the active file, not in the file it says that needs changing.

I CAN’T USE CURSOR TO RESOLVE COMPLEX/MULTI-FILE ISSUES.

---

<div class="post-metadata">

**Author:** ![danperks](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/danperks/32/19087_2.png) [@danperks](https://forum.cursor.com/u/danperks)\
**Post date:** [February 16, 2025, 1:31pm UTC](https://forum.cursor.com/t/apply-in-suggests-wrong-file/48896/2 "2025-02-16T13:31:27Z")

</div>

Looks like you’ve found a UI quirk with the apply buttons. You can get around this by enabling “Auto-Apply to Files Outside Context” in Settings \> Features \> Chat & Composer - this should let you apply changes to any file, not just the active one

If you’re still having trouble after enabling that setting, drop a message with some screenshots and I can take a closer look
