microsoft / microsoft/vscode-pull-request-github

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

Offen
#7,045 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature-request
Vorherrschende Sprache
TypeScript
Sterne
2.6k
Forks
795
Ø Merge
1 T. 4 Std.
Gemergte PRs (30 T.)
46

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Im Issue werden keine Dateien oder Tests genannt. Beginne damit nachzuverfolgen, wie der Code und die Kommentare von Pull Requests derzeit angezeigt werden, und vergleiche dann die angeforderte separate Ansicht für Code und Kommentare mit dem bestehenden Verhalten. Als erledigt gilt die Aufgabe, wenn Kommentare sichtbar bleiben, ohne bearbeitbaren Code zu verdecken, und ein abgestimmtes Interaktionsdesign vorliegt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
developer-experience
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.