redhat-developer / redhat-developer/vscode-java

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

Aperta
#1,880 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@testforstephen ci sta già lavorando.

Dal 15/4/2021.

bug diagnostics
Lingua principale
TypeScript
Stelle
2.3k
Fork
546
Merge medio
20h 1m
PR unite (30g)
11

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.