Skip to content

Syntax Highlighting not working with Nativefier #340

@kasplat

Description

@kasplat
  • code-server version: v1.32.0-282
  • OS Version: Mac, server hosted on Ubuntu 18.04.1 LTS

Description

Synatx highlighting for all files does not work with Nativefier (which hosts a browser in an electron app). I've had occasional issues using it in the web browser where the syntax highlighting stops working, so this could be related.

Screenshot of console in a working browser window
image

Screenshot of console in the nativefier app
image

Steps to Reproduce

  1. Install Nativefier npm install nativefier -g
  2. Open vs code server with nativefier nativefier --ignore-certificate https://xx.xx.xx.xx:port The files do not have syntax highlighting

This was tested with all relevant looking flags (--insecure, --enable-es3-apis, --ignore-certificate, --flash), but none of them got syntax highlighting to work.

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