redhat-developer / redhat-developer/vscode-java

Sometimes show incorrect diagnostics status while moving files to new package to apply refactorings

Offen
#1,880 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@testforstephen arbeitet bereits daran.

Seit 15.4.2021.

bug diagnostics
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.

image

The current workaround is to save all refactoring changes manually, and the diagnostics will be refreshed.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.