redhat-developer / redhat-developer/vscode-java
"java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0" is not recognized at compile time
未关闭
还没有人认领这个 Issue。
enhancement
- 主要语言
- TypeScript
- 星标
- 2.3k
- 派生
- 547
- 平均合并
- 20 小时 1 分钟
- 30 天内合并 PR
- 11
描述
[provide a description of the issue]
Environment
- Operating System: Win 11
- JDK version: 17
- Visual Studio Code version: 1.76.0
- Java extension version: v0.25.8
Steps To Reproduce
- The error from the issue title is recognized at compile time by IntelliJ but not vscode
"1+2".split("+") - [step 2]
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在使用 JDK 17 的 Visual Studio Code 中复现所报告的表达式 "1+2".split("+"),并将其诊断结果与 IntelliJ 进行比较。跟踪 Java 语言支持对编译时错误的识别,并确认会报告悬空元字符错误,然后再考虑将 issue 标记为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript, vscode
- 领域
- developer-experience, tooling
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100