redhat-developer / redhat-developer/vscode-java

Java Syntax high light incorrection

Open
#791 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

highlighting
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

[provide a description of the issue]

Environment
  • Operating System: Win10 1809 OS Build 17763.253
  • JDK version: tested on both 1.8u201 and 1.8u121
  • Visual Studio Code version: latest 1.31.0 and previous version
  • Java extension version: 0.5.0
Steps To Reproduce
  1. [step 1] java code example:
_log.log(Level.DEBUG, ">>>> GET report for Id: {} maxRows={} isPartialOkay={}", reportId, maxRows, isPartialOkay);
  1. [step 2]

[attach a sample project reproducing the error]
attach logs

Current Result

string coloring mess up. large portion of the file after this become string color until later
image

after about 100 lines later.

image

Expected Result

This is from sublime text
image

Additional Informations

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The payload names no source files, tests, or entry points. Reproduce the issue in the VS Code Java extension with the provided _log.log snippet, then compare highlighting before and after the reported spillover; done means Java strings and following code receive correct syntax colors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.