microsoft / microsoft/vscode-pull-request-github
Question: Is it possible to separate comments from the code when viewing a pull request?
まだ誰も着手していません。
- 主要言語
- TypeScript
- スター
- 2.6k
- フォーク
- 795
- 平均マージ
- 1日 4時間
- マージ済み PR(30日)
- 46
説明
The issue: When viewing the code for a PR, comments are displayed in the code similar to how its done on the github web view. This makes it difficult to edit the code around the comment because it will get in the way. The comment can of course be hidden by collapsing it, but this is not ideal since I may wish to view the comments and edit code at the same time. Another issue is that once a comment is hidden to edit the code around it (this may not actually be related to the comment), its easy to forget expanding it again.
Is it possible to create a kind of "separate" comment/code view? I would like to display the code without any comments in it, and instead display comments on the side. For example:
################## line 100 => | 100: // code
# XYZ commented: # | 101: // goes
# Fix this thing # | 102: // here
################## | 103:
It would be great if this was possible. If it already is, please let me know how :)
Thanks
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
issue にはファイルやテストが記載されていません。まず、pull request のコードとコメントが現在どのように表示されているかを追跡し、次に、要求されているコードとコメントを分離した表示と既存の動作を比較してください。コメントが編集可能なコードを隠すことなく表示され続け、合意されたインタラクションデザインができていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- developer-experience
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 30/100