redhat-developer / redhat-developer/vscode-java

Java support disabled in diff editor for staged files

Aperta
#295 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

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

Descrizione

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.

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.

Direzione di ricerca

Inizia riproducendo i passaggi nella visualizzazione del controllo del codice sorgente di VS Code e nell’editor delle differenze con una modifica Java staged o del working tree. Traccia il modo in cui Go to Definition e i simboli vengono gestiti nel riquadro current-version, quindi verifica che questi strumenti funzionino lì senza il messaggio definition-not-found.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java, vscode
Ambito
developer-experience, tooling
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.