Ask coding questions

← Back to all posts
JS Syntax Highlighting?
0xmmalik (11)

Why is javascript syntax highlighting broken? There's no highlighting. I am in a PHP file and using <script> tags.

Answered by Coder100 (18207) [earned 5 cycles]
View Answer
Coder100 (18207)

Hi! This is something with the monaco editor. I doubt anyone can do anything about it, but if you are concerned, ping @theangryepicbannana about it. He works on the syntax highlighting.

Report here as well


it appears TAEB has rewritten the whole syntax highlighting file, and forgot to add js.

0xmmalik (11)

@Coder100 - Thanks for this conformation. I've reported it in the Feedback Section mentioned by @PattanAhmed and @NoelB33 in their comments.

PattanAhmed (1406)

@ManavMalik Hi,
Glad you got helped.
Please mark my answer if this helps or just upvote my comments. :)

PattanAhmed (1406)

@ManavMalik Hi,
if you thought that you are sure that something opposite is happening,
Then report it in Bugs Section or Feedback Section

Hope this helps.
Please mark my answer if this helps.

NoelB33 (351)

I think it’s because it’s a php file. Maybe bring this up on

0xmmalik (11)

@NoelB33 - Ok, but in the past, even PHP files have had syntax highlighting for JS when they were in <script> tags.