Skip to content

x/tools/gopls: typo in error message #46265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
josharian opened this issue May 19, 2021 · 1 comment
Closed

x/tools/gopls: typo in error message #46265

josharian opened this issue May 19, 2021 · 1 comment
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@josharian
Copy link
Contributor

I got this error message from gopls:

No packages found for open file [redacted].
If this file contains build tags, try adding "-tags=<build tag>" to your gopls "buildFlag" configuration (see (https://github.com/golang/tools/blob/master/gopls/doc/settings.md#buildflags-string).

This contains an important typo: the configuration is called "buildFlags" (plural), not "buildFlag".

@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels May 19, 2021
@gopherbot gopherbot added this to the Unreleased milestone May 19, 2021
@stamblerre stamblerre modified the milestones: Unreleased, gopls/v0.6.12 May 19, 2021
@stamblerre stamblerre self-assigned this May 19, 2021
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/321249 mentions this issue: internal/lsp: correct typo in orphaned file error message

@golang golang locked and limited conversation to collaborators May 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

3 participants