redhat-developer / redhat-developer/vscode-java
Sometimes show incorrect diagnostics status while moving files to new package to apply refactorings
@testforstephen is already working on this.
Since Apr 15, 2021.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
When i drag and drop a Java class to another package, it will prompt me whether to apply refactoring. When i choose to apply, the package declaration and import update are all updated. But sometimes, the diagnostics status of the changed classes are not refreshed.
For example, the screenshot below shows that the package declaration is updated for the moved class. But the diagnostics still says not matched package declaration.

The current workaround is to save all refactoring changes manually, and the diagnostics will be refreshed.
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.
Assessment
This issue has not been assessed yet.