I can't enable syntax highlighting and script formating in my Developer Instance

harinalamalapu
Giga Expert

Script window is not displayed in my developer instance unless I "Click to disable Syntax highlighting and script formatting".   But when I disabled Syntax highlighting, the script displays as plain text without syntax highlighting. Attached a screenshot, can you please give some hints to fix it?

Script Error.png

When I disable it, the script field appears like below without syntax highlighting feature.

find_real_file.png

1 ACCEPTED SOLUTION

Hari,



I was able to log in, I impersonated the System Administrator user, and viewed the RiskUtils script include. I was able to view it, in Chrome, with the Sytnax Highlighting turned off as well as with it turned on.



I did not observe any JavaScript errors.



This might be unique to your browser. Which browser are you using (Chrome, IE, Firefox, Safari, etc)? What is the version number? And on which platform (Windows, OSX, Linux, etc)?



Also, when *you* reproduce the issue with syntax-highlighting turned on, do you have any Javascript errors in your console?


View solution in original post

12 REPLIES 12

Hari,



What is your dev instance's URL? May I have permission to hop in and see if I can reproduce the issue?


Sure Cory, go ahead and try to reproduce the issue. Here is the url (dev13049): ServiceNow https://dev13049.service-now.com/nav_to.do



Please do let me know if you happen to turn off any of scrips while fixing the issue.


Hari,



I was able to log in, I impersonated the System Administrator user, and viewed the RiskUtils script include. I was able to view it, in Chrome, with the Sytnax Highlighting turned off as well as with it turned on.



I did not observe any JavaScript errors.



This might be unique to your browser. Which browser are you using (Chrome, IE, Firefox, Safari, etc)? What is the version number? And on which platform (Windows, OSX, Linux, etc)?



Also, when *you* reproduce the issue with syntax-highlighting turned on, do you have any Javascript errors in your console?


Hi Cory,



This is strange. I am now not seeing this issue occurring anymore, not sure how it resolved. Thanks a bunch for taking time for logging into my instance and looking at it.


Hari,



Good to know. Perhaps I do have strange and mystical powers!



Please open a new question with the Community if the issue repeats.



Thanks


Cory