microsoft / microsoft/vscode-pull-request-github

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

Open
#7,045 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request
Dominant language
TypeScript
Stars
2.6k
Forks
795
Avg merge
1d 4h
Merged PRs (30d)
46

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named in the issue. Start by tracing how pull request code and comments are currently displayed, then compare the requested separate code-and-comment view with the existing behavior. Done means comments remain visible without obscuring editable code, with an agreed interaction design.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.