redhat-developer / redhat-developer/vscode-java
"java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0" is not recognized at compile time
Open
Nobody has claimed this yet.
enhancement
- 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: 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]
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported expression, "1+2".split("+"), in Visual Studio Code with JDK 17 and compare its diagnostics with IntelliJ. Trace the Java language support's compile-time error recognition and verify that the dangling meta character error is reported before considering the issue complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100