redhat-developer / redhat-developer/vscode-java

When Implementing Interfaces, Quick Fix 💡Appears On Class Name Not Interface Name

Abierto
#598 0 comentarios 0 reacciones 1 asignado Ver en GitHub

@yaohaizh ya está trabajando en esto.

Desde el 28/11/2018.

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

Descripción

When implementing an interface with this plugin (public class Foo implements Buzz) an error is displayed under Foo upon completing the line because the interfaces methods are not implemented. If your cursor is moved over Foo or you move the text cursor there you will be presented with a 💡to implement the interface. This 💡should also appear over the interface Buzz to prevent having to backtrack and improve the experience when working with this plugin.

Environment
  • Operating System: MacOS
  • Visual Studio Code version: 1.25.1
  • Java extension version: 0.3.0
Steps To Reproduce
  1. Create a class which implements an interface public class MyTest implements Iterable<Integer> { } for example.
  2. This code will not compile because the interface methods for Iterable have not been implemented yet.
  3. No prompt to resolve this compile issue is presented after completing the generic typing of Iterable.
  4. Move cursor to MyTest and implement the interface. This feature should not require moving your cursor.

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.