# How do I get syntax highlighting to be same as VSCode's?

**URL:** <https://forum.cursor.com/t/how-do-i-get-syntax-highlighting-to-be-same-as-vscodes/4557>\
**Category:** Help\
**Created:** [April 26, 2024, 5:18am UTC](https://forum.cursor.com/t/how-do-i-get-syntax-highlighting-to-be-same-as-vscodes/4557 "2024-04-26T05:18:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasvn](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@thomasvn](https://forum.cursor.com/u/thomasvn)\
**Post date:** [April 26, 2024, 5:18am UTC](https://forum.cursor.com/t/how-do-i-get-syntax-highlighting-to-be-same-as-vscodes/4557/1 "2024-04-26T05:18:48Z")

</div>

On MacOS, I’ve checked that all the `.tmLanguage.json` files (which I think control syntax highlighting) look to be the same between VSCode and Cursor. Specifically, I checked this location:

```auto
/Applications/Cursor.app/Contents/Resources/app/extensions

```

Is there something I’m missing?

---

<div class="post-metadata">

**Author:** ![thomasvn](https://avatars.discourse-cdn.com/v4/letter/t/f19dbf/32.png) [@thomasvn](https://forum.cursor.com/u/thomasvn)\
**Post date:** [June 8, 2024, 12:36am UTC](https://forum.cursor.com/t/how-do-i-get-syntax-highlighting-to-be-same-as-vscodes/4557/2 "2024-06-08T00:36:43Z")

</div>

Nevermind. It was an issue with my Color Theme. Switching to theme “Dark Modern” has this working as expected.

---

<div class="post-metadata">

**Author:** ![anuragaofl](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@anuragaofl](https://forum.cursor.com/u/anuragaofl)\
**Post date:** [December 10, 2024, 8:07pm UTC](https://forum.cursor.com/t/how-do-i-get-syntax-highlighting-to-be-same-as-vscodes/4557/3 "2024-12-10T20:07:26Z")

</div>

Noting here in case anyone else runs into this: the issue appears to be isolated to the default “Anysphere Dark” color theme. All the other color themes show syntax highlighting correctly.

---

<div class="post-metadata">

**Author:** ![0xez](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/0xez/32/20635_2.png) [@0xez](https://forum.cursor.com/u/0xez)\
**Post date:** [January 17, 2025, 9:42am UTC](https://forum.cursor.com/t/how-do-i-get-syntax-highlighting-to-be-same-as-vscodes/4557/4 "2025-01-17T09:42:36Z")

</div>

Solved my problem, thank you!

---

<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:24am UTC](https://forum.cursor.com/t/how-do-i-get-syntax-highlighting-to-be-same-as-vscodes/4557/5 "2026-06-18T10:24:41Z")

</div>

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


