microsoft / microsoft/vscode-java-pack
Suggest applicable navigation options when hovering methods
@testforstephen arbeitet bereits daran.
Seit 27.1.2022.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 352
- Forks
- 166
- Ø Merge
- 17 Std. 47 Min.
- Gemergte PRs (30 T.)
- 32
Beschreibung
Suggestion
I would like to be provided with all relevant navigation options while pressing ctrl when hovering a java method.
Use Cases
When reading code, navigating code efficiently is crucial for understanding it quickly. I do not want to waste time jumping to a method declaration in an interface (current behavior) when I actually would have liked to jump to one of its implementations. On the other hand, I do not always want to jump to implementations but sometimes want to actually jump to the interface where the method had been declared. As the intended outcome depends on the current context, it would be nice to be actively presented with all applicable navigation options.
Examples
I press ctrl key while hovering a method invocation where the target method is declared in an interface. Then I would like to see a small select box containing the following options: 1. Go To Definition, 2. Go To Implementations. See https://images.app.goo.gl/kMsEM9vVToRRHB7s5 for an example of how eclipse handles this:
"Open Declaration" would map to "Go To Definition" in VS Code and "Open Implementation" would map to "Go To Implementations" in VS Code
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.