# Code that is not a comment is shown gray

**URL:** <https://forum.cursor.com/t/code-that-is-not-a-comment-is-shown-gray/32329>\
**Category:** Bug Reports\
**Created:** [December 4, 2024, 10:55am UTC](https://forum.cursor.com/t/code-that-is-not-a-comment-is-shown-gray/32329 "2024-12-04T10:55:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbalunovic](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mbalunovic/32/14506_2.png) [@mbalunovic](https://forum.cursor.com/u/mbalunovic)\
**Post date:** [December 4, 2024, 10:55am UTC](https://forum.cursor.com/t/code-that-is-not-a-comment-is-shown-gray/32329/1 "2024-12-04T10:55:05Z")

</div>

I’ve seen this several times already - basically some part of the code that is actually not a comment is shown as gray like it’s commented out, but it’s actually not. It’s also not an AI suggestion that you get using the tab complete, but actual code.

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

---

<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:** [December 5, 2024, 4:24pm UTC](https://forum.cursor.com/t/code-that-is-not-a-comment-is-shown-gray/32329/2 "2024-12-05T16:24:42Z")

</div>

Hey,

Can you edit the grey text, or is it similar to an AI suggestion where it’s not intractable?  
Bit of a weird rendering issue either way!
