microsoft / microsoft/vscode-pull-request-github
Question: Is it possible to separate comments from the code when viewing a pull request?
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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