redhat-developer / redhat-developer/vscode-java
Encountering a BUG when developing Java with vscode
Nobody has claimed this yet.
- 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::Linux x64 5.0.0-37-generic
- JDK version:1.8.0_201
- Visual Studio Code version:1.40.1
- Java extension version:
Steps To Reproduce
-
[step 1]

-
[step 2]
As shown above, the department ID on line 61 of the code prompts an error, but there is actually no error here. The error is that the parenthesis is missing from line 64.I think this is a hint to locate the bug. -
[step 3]
When I remove the parentheses on line 64, the error is no longer prompted -
[step 4]

[attach a sample project reproducing the error]
attach logs
Current Result
Expected Result
Additional Informations
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 report on Linux with JDK 1.8.0_201 and VS Code 1.40.1, comparing the diagnostic on line 61 with the missing parenthesis on line 64. Collect the missing Java extension version, sample project, complete code, and logs; done means the incorrect diagnostic is reproduced and its cause is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100