Skip to content

x/tools/gopls: support folding regions in block comments #46253

Closed
@stamblerre

Description

@stamblerre

See the issue in the vscode-go repository: golang/vscode-go#1511.

Is your feature request related to a problem? Please describe.

I want to be able to comment out large portions of tests and then collapse them.

I tried the obvious (select a region and cmd+/), but that doesn't work:
microsoft/vscode#124104 (comment)

Describe the solution you'd like
either cmd-/ + folding works, or toggle block comment + folding works

Describe alternatives you've considered
I filed microsoft/vscode#124104

Additional context
image
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.WaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions