redhat-developer / redhat-developer/vscode-java

Java support disabled in diff editor for staged files

Abierto
#295 6 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

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

Descripción

See: https://github.com/Microsoft/vscode/issues/34034

It is the case in some other vscode language extensions that one can go to definitions directly from the right hand pane of the diff editor (ie, from the pane that represents the current version of the file). This is great utility when looking at diffs, reviewing changes, etc.

This is currently the case for TS/JS and used to be the case for Go (there was some sort of regression). It would be great if Java supported this.

Environment
  • Operating System: Mac OS X, 10.11.6, Darwin x64 15.6.0
  • JDK version: 1.8.0_92
  • Visual Studio Code version: Code 1.16.0 (787b31c0474e6165390b5a5989c9619e3e16f953, 2017-09-06T16:12:42.401Z)
  • Java extension version: 0.9.0
Steps To Reproduce
  1. Open a diff editor where one of the panes is the current version of the file, e.g., by going to the source control view and (in the case of git) clicking on one of the diffs for the staged or working tree changes.
  2. Attempt to go to a definition.
Current Result

A message indicating that the definition was not found.

Expected Result

Go to Definition and other tooling (symbols, etc) should work in the pane that represents the current version of the file.

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.

Línea de trabajo

Comienza reproduciendo los pasos en la vista de control de código fuente de VS Code y en el editor de diferencias con un cambio de Java staged o del working tree. Sigue cómo se gestionan Go to Definition y los símbolos en el panel current-version y, después, verifica que estas herramientas funcionen allí sin el mensaje definition-not-found.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java, vscode
Área
developer-experience, tooling
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.