Skip to content

Automatically collapse comments once they are resolved #5031

Closed
microsoft/vscode
#192864

Description

@joyceerhl
  1. Have an unresolved comment on a pull request that is open in VS Code
  2. Click 'Resolve Conversation'
  3. Comment remains open, I still have to manually click collapse

I'd expect that resolving a comment also collapses the comment so that it no longer takes up space, which is what happens on github.com

Activity

  1. added
    feature-request
    on Jul 11, 2023
  2. alexr00 commented on Aug 16, 2023

    @alexr00
    Member

    This is going to need VS Code API to enable collapsing a comment. Just like the tree view, the comment thread collapsible state cannot be modified by the extension once set to prevent conflict between user state and extension state.

  3. alexr00 commented on Sep 12, 2023

    @alexr00
    Member

    The setting to control this is comments.collapseOnResolve. It is true by default.

  4. alexr00 commented on Sep 25, 2023

    @alexr00
    Member

    To verify:

    1. Install GitHub Pull Requests and Issues
    2. Open a PR file and leave a comment
    3. Resolve the comment
    4. Verify that the comment immediately closes
    5. Unresolve the comment
    6. Set "comments.collapseOnResolve": false
    7. Resolve the comment again
    8. Verify that the comment is not closed.
  5. added
    verification-needed
    on Sep 25, 2023
  6. meganrogge commented on Sep 26, 2023

    @meganrogge
    Contributor

    🎉 works well! such a great feature, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestupstream/vscodeverification-neededverified

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions