Skip to content
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

x/tools/gopls: improve workspace error messages #53882

Closed
findleyr opened this issue Jul 14, 2022 · 2 comments
Closed

x/tools/gopls: improve workspace error messages #53882

findleyr opened this issue Jul 14, 2022 · 2 comments
Assignees
Labels
FrozenDueToAge gopls/workspace Issues related to support for modules or multi-module workspaces. 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

@findleyr
Copy link
Contributor

Workspace misconfiguration is still a source of confusion for gopls users. Particularly with the introduction of go.work files, when a workspace is misconfigured it is not always clear what action needs to be taken to resolve the problem.

This issue tracks improving our error message for invalid build configurations, and generally re-evaluating our workspace error messages.

@findleyr findleyr added the gopls/workspace Issues related to support for modules or multi-module workspaces. label Jul 14, 2022
@findleyr findleyr added this to the gopls/later milestone Jul 14, 2022
@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 Jul 14, 2022
@findleyr findleyr modified the milestones: gopls/later, gopls/v0.9.2 Aug 2, 2022
@findleyr
Copy link
Contributor Author

findleyr commented Aug 2, 2022

v0.9.2 for at least the major workspace error message

@findleyr findleyr self-assigned this Aug 5, 2022
@gopherbot
Copy link

Change https://go.dev/cl/421499 mentions this issue: internal/lsp: update the broken workspace message to mention go.work

@golang golang locked and limited conversation to collaborators Aug 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge gopls/workspace Issues related to support for modules or multi-module workspaces. 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

2 participants