# What is the result of "Apply to entire file"

**URL:** <https://forum.cursor.com/t/what-is-the-result-of-apply-to-entire-file/17285>\
**Category:** Help\
**Created:** [September 18, 2024, 4:26am UTC](https://forum.cursor.com/t/what-is-the-result-of-apply-to-entire-file/17285 "2024-09-18T04:26:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sangwf](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sangwf/32/5206_2.png) [@sangwf](https://forum.cursor.com/u/sangwf)\
**Post date:** [September 18, 2024, 4:26am UTC](https://forum.cursor.com/t/what-is-the-result-of-apply-to-entire-file/17285/1 "2024-09-18T04:26:54Z")

</div>

![image](https://us1.discourse-cdn.com/cursor1/original/2X/3/38a8912806a8baa7731745676918b697f8318fe8.png)  
When I click “Apply to entire file”, I found all the AI Chat Code blocks changed to “Generating” state. I don’t know whether just the current block will update to my code file, or all the code blocks.

thanks.

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [September 18, 2024, 4:31am UTC](https://forum.cursor.com/t/what-is-the-result-of-apply-to-entire-file/17285/2 "2024-09-18T04:31:02Z")

</div>

Hey @sangwf

It will change only the lines of code that need modification and skip the others.

---

<div class="post-metadata">

**Author:** ![sangwf](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sangwf/32/5206_2.png) [@sangwf](https://forum.cursor.com/u/sangwf)\
**Post date:** [September 18, 2024, 4:36am UTC](https://forum.cursor.com/t/what-is-the-result-of-apply-to-entire-file/17285/3 "2024-09-18T04:36:51Z")

</div>

Thanks.

When AI give a reply about suggestions. It may include several code changing blocks. If I click one of them with “Apply to entire file”. Do all the blocks will update to my code file, or just the clicked one?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [September 18, 2024, 4:39am UTC](https://forum.cursor.com/t/what-is-the-result-of-apply-to-entire-file/17285/4 "2024-09-18T04:39:18Z")

</div>

Only the one you clicked.

---

<div class="post-metadata">

**Author:** ![sangwf](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sangwf/32/5206_2.png) [@sangwf](https://forum.cursor.com/u/sangwf)\
**Post date:** [September 18, 2024, 4:39am UTC](https://forum.cursor.com/t/what-is-the-result-of-apply-to-entire-file/17285/5 "2024-09-18T04:39:45Z")

</div>

OK, thanks you very much.

---

<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 18, 2026, 10:16am UTC](https://forum.cursor.com/t/what-is-the-result-of-apply-to-entire-file/17285/6 "2026-06-18T10:16:17Z")

</div>

Closed on June 18, 2026, 10:16am UTC


