-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[Bug]: Code highlighting working abnormally in 4.5.0 #5343
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
Comments
I've also observed this issue from running I've installed code-server in a docker image defined here: https://github.com/pangeo-data/jupyter-earth/blob/master/hub.jupytearth.org-image/Dockerfile. It is based on ubuntu:22.04. |
@RisaKirisu when you visit your code server, are you using a path like I was curious if both you and me were users accessing code-server via a |
Yes. In my setup I access my code-server by 'https://mydomain.xxx/vsc/'. I don't know if this is the cause tho. |
@RisaKirisu I think so. I believe the syntax highlighting happens thanks to a node module which isn't being loaded because it is assuming the root path. 4.5.1 should fix this |
For the curious, this issue should be fixed via #5332 when a new release comes out. |
Wieee thanks @RisaKirisu and @jsjoeio!!! |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.5.0Steps to Reproduce
Expected
Code highlighting should work.
Actual
It's not working as expected
Logs
No response
Screenshot/Video
In VS Code:

In code-server:

Does this issue happen in VS Code or GitHub Codespaces?
Are you accessing code-server over HTTPS?
Notes
No response
The text was updated successfully, but these errors were encountered: