I had an old version of eclipse - probably 2018-12 - and all was good. Then I upgraded it because it was showing errors for some new syntax.
Now, javascript syntax highlighting and other associated things like automatic indent, brackets assistance etc are working with .js files, but when I write any javascript inside a php or html file using script tags, the code is simply black text.
I read the other questions about this issue, but they are all about it not working at all. It works for me, but only in .js files.
I did try uninstalling wild web developer and installing JSDT from 2020-03, but it was no help. Then I upgraded the JSDT to latest version - still not working. Finally I uninstalled eclipse completely and reinstalled the eclipse for PHP package. It has wild web developer by default. Still the same behaviour.
How can I solve this?
