Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lsp/general.go: change error messages to give more context
The origin and meaning of error messages in IDEs is sometimes obscure. For instance "unexpected config annotations\nSource: Go (extension)" in vscode has an ambiguous Source, and it's not clear what config annotations are being referred to. This CL would change the first part of that message to "unexpected gopls setting 'annotations', making clear that the message is from gopls (and not the Go extension shim), and that the suspect value is 'annotations' itself. Change-Id: Ia79534859fe101e6fbbd660bf426e2c1ac619b7f Reviewed-on: https://go-review.googlesource.com/c/tools/+/251078 Run-TryBot: Peter Weinberger <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]>
- Loading branch information