# Uncommented code staying grey

**URL:** <https://forum.cursor.com/t/uncommented-code-staying-grey/29255>\
**Category:** Bug Reports\
**Created:** [November 22, 2024, 6:42pm UTC](https://forum.cursor.com/t/uncommented-code-staying-grey/29255 "2024-11-22T18:42:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![grantrosse](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/grantrosse/32/11625_2.png) [@grantrosse](https://forum.cursor.com/u/grantrosse)\
**Post date:** [November 22, 2024, 6:42pm UTC](https://forum.cursor.com/t/uncommented-code-staying-grey/29255/1 "2024-11-22T18:42:30Z")

</div>

If I uncomment code the project doesn’t update and the code stays grey:

 ![image](https://us1.discourse-cdn.com/cursor1/original/2X/e/e8542d380f7bc26054a45dfe91a695ecd1c411ec.png)

---

<div class="post-metadata">

**Author:** ![ericzakariasson](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ericzakariasson/32/11130_2.png) [@ericzakariasson](https://forum.cursor.com/u/ericzakariasson)\
**Post date:** [November 22, 2024, 10:37pm UTC](https://forum.cursor.com/t/uncommented-code-staying-grey/29255/2 "2024-11-22T22:37:29Z")

</div>

looks like a bug! if you restart, is it sill persisted?

---

<div class="post-metadata">

**Author:** ![truell20](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/truell20/32/28583_2.png) [@truell20](https://forum.cursor.com/u/truell20)\
**Post date:** [November 23, 2024, 2:06am UTC](https://forum.cursor.com/t/uncommented-code-staying-grey/29255/3 "2024-11-23T02:06:30Z")

</div>

Hey! This can sometimes happen if the language server extension is running a bit slow.

---

<div class="post-metadata">

**Author:** ![grantrosse](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/grantrosse/32/11625_2.png) [@grantrosse](https://forum.cursor.com/u/grantrosse)\
**Post date:** [November 23, 2024, 3:48am UTC](https://forum.cursor.com/t/uncommented-code-staying-grey/29255/4 "2024-11-23T03:48:30Z")

</div>

it resolves if I close and reopen the project.

---

<div class="post-metadata">

**Author:** ![grantrosse](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/grantrosse/32/11625_2.png) [@grantrosse](https://forum.cursor.com/u/grantrosse)\
**Post date:** [January 31, 2025, 12:19am UTC](https://forum.cursor.com/t/uncommented-code-staying-grey/29255/5 "2025-01-31T00:19:41Z")

</div>

bumping this- it’s still an issue. On large projects I where I am commenting/un-commenting out code as I iterate I am always left with “active” code that is still greyed out or commented out code that is still highlighted. Can be confusing.

---

<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 3, 2025, 2:18am UTC](https://forum.cursor.com/t/uncommented-code-staying-grey/29255/6 "2025-02-03T02:18:40Z")

</div>

Hey, can you send a screenshot of this?

As Michael mentioned, this is usually down to the performance of the language server, not Cursor itself!
