Is it possible that we have a parameter in settings to allow user specify the sub-directory as root of Go project #2967
Labels
gopls/workspace
workspace setup related issues (UX of multi-modules, nested modules, GOPATH handling)
Question
This is a question, rather than an issue report.
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
Is your feature request related to a problem? Please describe.
We always see such message if we open a repo and go.mod is not under the root directory of that repo. I tried the
build.expandWorkspaceToModule
setting, it does not recognize the sub-directory contains go.mod even it is the only sub-directory which contains go.mod file.Describe the solution you'd like
Provide a setting to allow user specify the sub-directory as root directory and pass it to go plugins.
Describe alternatives you've considered
I tried
build.expandWorkspaceToModule
but not helping.Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: