Skip to content

Javascript and PHP in HTML lose syntax highlighting #562

@niv-d

Description

@niv-d
  • code-server version: From the docker one liner
  • OS Version: Docker file on windows 10

Description

When writeing js in .html files or html in .php files, the "foreign language" looses syntax highlighting. This doesn't happen in the desktop version:
(left coder, right normal vscode)
Clipboard Image

Steps to Reproduce

  1. Create an html file
  2. Create a script tag
  3. Write javascript
  4. Have trouble writing javascript because there is no syntax highlighting or intellisense

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions