redhat-developer / redhat-developer/vscode-java
Sometimes show incorrect diagnostics status while moving files to new package to apply refactorings
@testforstephen arbeitet bereits daran.
Seit 15.4.2021.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.3k
- Forks
- 546
- Ø Merge
- 20 Std. 1 Min.
- Gemergte PRs (30 T.)
- 11
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.