redhat-developer / redhat-developer/vscode-java

"java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0" is not recognized at compile time

Open
#2,988 0 comments 0 reactions 0 assignees View on GitHub

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
  1. The error from the issue title is recognized at compile time by IntelliJ but not vscode "1+2".split("+")
  2. [step 2]

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.