# Missed syntax highlighting in Scripts

**URL:** <https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159>\
**Category:** Help Hub\
**Tags:** tests, scripts, desktop-agent, syntax\
**Created:** [May 17, 2024, 7:52am UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159 "2024-05-17T07:52:59Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ixus](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/ixus/32/28676_2.png) [@ixus](https://community.postman.com/u/ixus)\
**Post date:** [May 17, 2024, 7:52am UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/1 "2024-05-17T07:52:59Z")

</div>

Hello here, seems like issue from below topic returns again:

> [@Postman Requests Not Formatting Correctly](https://community.postman.com/t/postman-requests-not-formatting-correctly/51379):
>
> For some reason after an update this morning, all of my Postman tests are displaying without the formatting and beautification as expected. It makes it much harder to read and parse the tests. For a split second when I first start Postman, and when I first load a request I can see a flash of the correct coloring but then it goes away. Is there a setting I’m missing, or something new I need to do to get this back? What it Looks like What I Expect [2023-09-05\_11-06-38] …

Using the last version of **Postman v11.1.2** (Desktop, Win10) I have no highlighting for syntax in Scripts (several versions before such issue was not actual):

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/0/4052154b1b28704154ae2383938f2a25cfd20162.png)

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 17, 2024, 7:58am UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/2 "2024-05-17T07:58:48Z")

</div>

Hey @ixus 👋

Which OS is this on?

Is there a reason for using the very old tests syntax and response body parsing you have here.

Seems strange that you have that mixed with the newer `pm.environment.set()` syntax. 😅

---

<div class="post-metadata">

**Author:** ![ixus](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/ixus/32/28676_2.png) [@ixus](https://community.postman.com/u/ixus)\
**Post date:** [May 17, 2024, 8:00am UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/3 "2024-05-17T08:00:20Z")

</div>

Version and OS are mentioned in the first message.  
No need to review my code, thanks.  
To avoid further lyrics, another example:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/4/0/4052154b1b28704154ae2383938f2a25cfd20162.png)

---

<div class="post-metadata">

**Author:** ![mikael-cma](https://avatars.discourse-cdn.com/v4/letter/m/8c91f0/32.png) [@mikael-cma](https://community.postman.com/u/mikael-cma)\
**Post date:** [May 17, 2024, 9:08am UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/4 "2024-05-17T09:08:16Z")

</div>

Same problem here, with Postman **v10.24.16** (Desktop, Win11)

The issue emerged this morning unexpectedly, without any recent updates. However, yesterday, I performed some installations and uninstallations with version 11.0.6. By the end of the day, I had reverted to version 10, and the issue was not present at that time.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 17, 2024, 11:45am UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/5 "2024-05-17T11:45:41Z")

</div>

Hey Folks,

We’re currently taking a look at this issue and we will update the thread once we have more information. 🙏

We’re aware that multiple users of different OS’ will be impacted here.

---

<div class="post-metadata">

**Author:** ![anastasiyamluneva](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anastasiyamluneva](https://community.postman.com/u/anastasiyamluneva)\
**Post date:** [May 17, 2024, 3:13pm UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/6 "2024-05-17T15:13:11Z")

</div>

same problem with desktop app on macOS (14.3.1 (23D60))

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 17, 2024, 6:45pm UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/7 "2024-05-17T18:45:01Z")

</div>

Hey folks,

A fix for this issue has been released for version 11.x builds.

You would need to update to the latest V11 version and then do a “Clear cache and Reload” from the main window menu options, for the change to take effect.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/e/c/ec326f55d589727eece0f8a8e6230c9859280de2.png)

---

<div class="post-metadata">

**Author:** ![material-explorer-25](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@material-explorer-25](https://community.postman.com/u/material-explorer-25)\
**Post date:** [May 17, 2024, 7:29pm UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/8 "2024-05-17T19:29:05Z")

</div>

Hi!

I have  
Version 11.0.12  
UI version 11.0.12-ui-240509-0541  
Desktop platform version 11.0.12  
Architecture x64  
OS platform win32 10.0.22631

Do I have to uninstall Postman and reinstall it, and, then, click on “Clear Cache and Reload” ?

It doesn’t work if I only click on “Clear Cache and Reload”.

Thanks

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 17, 2024, 7:38pm UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/9 "2024-05-17T19:38:02Z")

</div>

You need to download/update to the latest version and then use the “Clear Cache and Reload” option.

---

<div class="post-metadata">

**Author:** ![material-explorer-25](https://avatars.discourse-cdn.com/v4/letter/m/ba9def/32.png) [@material-explorer-25](https://community.postman.com/u/material-explorer-25)\
**Post date:** [May 17, 2024, 7:46pm UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/10 "2024-05-17T19:46:06Z")

</div>

Hello Danny,

I have the latest version.  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/9/a/9a8cd854547e3dc12c51a6fddf901ce551547473.png)

I clicked on "Clear Cache and Reload” several times (for 40 minutes), and it didn’t seem to help the syntax highlighting problem. It finally worked 2 minutes ago.

Thank you!

---

<div class="post-metadata">

**Author:** ![ixus](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/ixus/32/28676_2.png) [@ixus](https://community.postman.com/u/ixus)\
**Post date:** [May 18, 2024, 6:21pm UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/11 "2024-05-18T18:21:06Z")

</div>

Works for me now in **Postman v11.1.3**  
Topic can be closed.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [May 21, 2024, 6:21pm UTC](https://community.postman.com/t/missed-syntax-highlighting-in-scripts/61159/12 "2024-05-21T18:21:52Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
