Closed SteelPhase closed 4 years ago
My suspicion is that this does have something to do with the LSP. Maybe the extension's middleware for the language server needs to join results with other providers. Does it work as expected when gopls
is disabled?
Just tested with gopls
disabled, and folding worked
Closing in favor of https://github.com/golang/vscode-go/issues/134 due to the repo move
go version go1.14.3 darwin/amd64 VSCode version: 1.45.1 VSCode Go version: 0.14.2 ENV:
Share the Go related settings you have added/edited
Describe the bug
VSCode allows comments to be inserted that allow for additional folding points, but they appear to not function when this extension is enabled
https://github.com/microsoft/vscode/blob/master/extensions/go/language-configuration.json#L31-L37
Could potentially be a gopls issue, if microsoft/vscode-go#3160 is any indication
Steps to reproduce the behavior:
//#region
and//#endregion
comments