redhat-developer / redhat-developer/vscode-java
Java support disabled in diff editor for staged files
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
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
- 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.
- 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.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、staged または working tree の Java の変更を使って、VS Code のソース管理ビューと差分エディターで手順を再現します。current-version ペインで Go to Definition とシンボルがどのように処理されるかを追跡し、その後、definition-not-found メッセージが表示されずにこれらのツールがそこで動作することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, vscode
- 領域
- developer-experience, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100