Closed hyangah closed 10 months ago
The language server middleware injects a follow up command for each completion item which triggers parameter hint if editor.parameterHints is set.
editor.parameterHints
https://github.com/golang/vscode-go/blob/4316a961ee8a5ad7c9c664adca9b26318bf14ead/src/language/goLanguageServer.ts#L659
This is not a boolean setting (the bug was introduced in https://go-review.googlesource.com/c/vscode-go/+/382234 sorry). As a result, this is always truthy. We should use editor.parameterHints.enabled instead.
editor.parameterHints.enabled
Change https://go.dev/cl/546155 mentions this issue: src/language/goLanguageServer: fix parameter hint setting query
src/language/goLanguageServer: fix parameter hint setting query
The language server middleware injects a follow up command for each completion item which triggers parameter hint if
editor.parameterHints
is set.https://github.com/golang/vscode-go/blob/4316a961ee8a5ad7c9c664adca9b26318bf14ead/src/language/goLanguageServer.ts#L659
This is not a boolean setting (the bug was introduced in https://go-review.googlesource.com/c/vscode-go/+/382234 sorry). As a result, this is always truthy. We should use
editor.parameterHints.enabled
instead.