Skip to content

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

Open
@hendrik-huebner-plusai

Description

@hendrik-huebner-plusai

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions