redhat-developer / redhat-developer/vscode-java

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

Abierto
#1,880 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@testforstephen ya está trabajando en esto.

Desde el 15/4/2021.

bug diagnostics
Lenguaje dominante
TypeScript
Estrellas
2.3k
Forks
546
Merge medio
20 h 1 min
PR fusionados (30 d)
11

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.