Sublime recently updated itself now when i view my HTML pages all the java-script displays with no syntax color highlighting.
I have to switch to java-script to edit code then back to html, making life a nightmare!
Can anyone assist?
Sublime recently updated itself now when i view my HTML pages all the java-script displays with no syntax color highlighting.
I have to switch to java-script to edit code then back to html, making life a nightmare!
Can anyone assist?
I would prefer to rollback to my old version - just dont have a clue how to do this. This update and the changes it has made are making it difficult to use sublime. Since most of my files have HTML and JS in one document its made a mess of the UI.
I assume you mean a screen shot - this shows the file viewed as HTML the javascript is colored in white - in the previous version the JS highlighted correcting in the HTML view.
Screenshot is nice, but the actual file would be preferred for easier reproduction. You can minify the file as much as you want or need to as long as the issue still occurs.
You can paste it in a comment wrapped like so:
```js
code
```
```
or host it on http://pastebin.com/ for example.
I think you have a typo in your script tag -> <script type="text/javscript">
. It is missing an “a”. I think that might make a difference in getting the highlighting. Interesting that that used to work even so, but doesn’t any more.
Yes it does! Template file in my project every doc has the typo!
Thank you so much! Fixed a headache…
Clearly new version has improved java-script/syntax coding