redhat-developer / redhat-developer/vscode-java
Reloading project for Gradle projects doesn't show errors when failed
Open
Nobody has claimed this yet.
bug
Gradle
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
Steps To Reproduce
- git clone sample project: https://github.com/microsoft/vscode-gradle
- Open in VSCode, set
java.configuration.updateBuildConfigurationtodisabled - make an error in
./gradle-server/build.gradle. e.g., setjavaclosure in line 8 tojaa. - manually reload the java project, there is no error found in the PROBLEMS panel
- execute command:
Java: Import Java Projects into Workspace, now the errors can be found in the PROBLEMS panel
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 failure with the vscode-gradle sample project and the Java: Import Java Projects into Workspace command, then trace the manual project reload path. The fix is done when an invalid gradle-server/build.gradle, such as changing java to jaa, produces an error in the VS Code PROBLEMS panel after reload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100