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
gopls/workspace gopls Tools
Milestone

Comments

@findleyr
Copy link
Contributor

findleyr commented Jul 14, 2022

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 label Jul 14, 2022
@findleyr findleyr added this to the gopls/later milestone Jul 14, 2022
@gopherbot gopherbot added Tools 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

gopherbot commented Aug 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gopls/workspace gopls Tools
Projects
None yet
Development

No branches or pull requests

2 participants