-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax Highlighting not working #4345
Comments
Are you using an extension for syntax highlighting in this language? I am not a maintainer, but AFAIK the most recent update broke some extensions for some people. |
As I said above, on Firefox or when I'm connecting over the ip adress, then it's working, but in Chrome not... |
The syntax highlighting is done through wasm which looks like is being blocked here. I tried on the same version of Chrome and code-server but was not able to reproduce the issue (I tried Windows and Linux) so I am not sure what the issue is. 🤔 |
I'm getting a similar error. It works over IP (in Chrome) but then other features break too. It also works perfectly in firefox. (entirely unrelated to the issue, but the bar at the side displays white instead of the proper background) |
Also has a same issue. It worked perfectly in Mobile chrome, but now there is no syntax highlighting in my browser. Connecting over IP don't help, but syntax Highlighting works in Mobile Firefox |
I am getting this error in MS edge 100.0.1185.50 But when I switch the profile guest mode it works fine must be a setting I changed somewhere in edge
|
Hooray! Glad to hear it. I'm going to close this for now. |
I had same problem, but I fixed this issue with changing nginx config files. |
@ij5 I don't encourage to remove CSP when using nginx reverse proxy. I added CSP header in nginx configs according to WASM CSP issue. It works on both Chrome v110.* and Edge v110.*
|
Discussed in #4344
Originally posted by Greeenman999 October 12, 2021
Web Browser: Google Chrome 94.0.4606.81 (Official Build) (arm64)
Local OS: Mac Os Big Sur 11.3.2
Remote OS: Debian 10
Remote Architecture: amd
code-server --version: 3.12.0 b37ff28
I upgraded code-server and then there was no syntax highlighting anymore.
When I'm accessing directly over the ip adress and port, then its working.
On Firefox it's also working, but on Chrome it doesnt work.
Sometimes this error occures:
The complete code is not highlighted and gray:
Anyone else having this issue?
The text was updated successfully, but these errors were encountered: