microsoft / microsoft/vscode-pull-request-github

Question: Is it possible to separate comments from the code when viewing a pull request?

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

まだ誰も着手していません。

feature-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

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

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

はじめの一歩

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

調査の方向性

issue にはファイルやテストが記載されていません。まず、pull request のコードとコメントが現在どのように表示されているかを追跡し、次に、要求されているコードとコメントを分離した表示と既存の動作を比較してください。コメントが編集可能なコードを隠すことなく表示され続け、合意されたインタラクションデザインができていれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
developer-experience
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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