question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: Code highlighting working abnormally in 4.5.0

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chrome, Samsung Internet
  • Local OS: Arch Linux, Android
  • Remote OS: Arch Linux
  • Remote Architecture: amd64
  • code-server --version: 4.5.0

Steps to Reproduce

  1. open code-server
  2. open a code file

Expected

Code highlighting should work.

Actual

It’s not working as expected

Logs

No response

Screenshot/Video

In VS Code: image

In code-server: image

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

  • Color theme for VS code and code-server is the same in the screenshot.
  • Restarting and a clean reinstall didn’t fix the problem.
  • Downgraded to 4.4.0 and everything works fine now.

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
consideRatiocommented, Jul 18, 2022

Wieee thanks @RisaKirisu and @jsjoeio!!!

1reaction
jsjoeiocommented, Jul 18, 2022

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

code-server (VSCode) not working correctly #137 - GitHub
The colour themes no longer apply in the IDE and running code directly on VSCode is ... [Bug]: Code highlighting working abnormally in...
Read more >
Visual Studio Code syntax highlighting is not working for ...
I think this was caused by the extension called JavaScript and TypeScript Nightly. This was causing the syntax highlighting for .js and .ts ......
Read more >
History of Previous Changes - Apache JMeter
Changes sections are chronologically ordered from top (most recent) to bottom (least recent). Version 5.4.3. Summary. This version is a fix release against ......
Read more >
IAR Embedded Workbench IDE - Corrected problems
When a bracket is entered or the caret is placed after a bracket in the text editor the matching bracket is highlighted. Ver:...
Read more >
Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug :1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance to users ... Bug:159678 - "app-crypt/scramble-4.5.0 (new ebuild)" status:RESOLVED ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found