redhat-developer / redhat-developer/vscode-java
Java Syntax high light incorrection
未关闭
还没有人认领这个 Issue。
highlighting
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 546
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
[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
- [step 1] java code example:
_log.log(Level.DEBUG, ">>>> GET report for Id: {} maxRows={} isPartialOkay={}", reportId, maxRows, isPartialOkay);
- [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

after about 100 lines later.

Expected Result
This is from sublime text

Additional Informations
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
payload 未指出源文件、测试或入口点。使用提供的 _log.log 片段在 VS Code Java extension 中重现该问题,然后比较所报告的 spillover 前后的高亮显示;当 Java 字符串和后续代码获得正确的语法颜色时即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, vscode
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100