microsoft / microsoft/vscode-java-pack

Suggest applicable navigation options when hovering methods

オープン
#894 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@testforstephen がすでに取り組んでいます。

2022年1月27日 から。

ai-triaged code-action enhancement feature-request
主要言語
TypeScript
スター
352
フォーク
166
平均マージ
17時間 47分
マージ済み PR(30日)
32

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。