Skip to content
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 degrades over time #3147

Closed
DerDunkel opened this issue Jun 9, 2023 · 2 comments · Fixed by eclipse-jdtls/eclipse.jdt.ls#2709
Closed

Syntax highlighting degrades over time #3147

DerDunkel opened this issue Jun 9, 2023 · 2 comments · Fixed by eclipse-jdtls/eclipse.jdt.ls#2709

Comments

@DerDunkel
Copy link

while writing code over time the syntax highlighting creates more and more artefacts.
After a while there is code highlighted that is commented out
Existing code starts to get highlighted wrong starting in the middle of a word.

After a restart it is correct again for a little while.

Environment

VS Code version: Code 1.78.2 (b3e4e68a0bc097f0ae7907b217c1119af9e03435, 2023-05-10T14:39:26.248Z)
OS version: Windows_NT x64 10.0.19045

  • JDK version: java 17.0.6 2023-01-17 LTS
  • Java extension version:1.19.0
Steps To Reproduce

The problem seems to appear after a time after writing any code. Added a picture that shows the results.

[Please attach a sample project reproducing the error]
Please attach logs

Current Result
Expected Result
Additional Informations
@jdneo
Copy link
Collaborator

jdneo commented Jun 12, 2023

Looks like there is no screenshot attached.

While I guess the problem is the same as #2176. Because the textmate based highlighting won't get wrong starting in the middle of a word.

@fbricon
Copy link
Collaborator

fbricon commented Jun 19, 2023

closing as duplicate of #2176

@fbricon fbricon closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants