-
Notifications
You must be signed in to change notification settings - Fork 765
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
Error with go module and git submodules #414
Comments
@pascencio It looks like this is another way of creating a repo setup that is currently not supported by Currently suggested workaround is to add the sub directory that contains /cc @stamblerre |
@hyangah I will try to use the workaround mentioned by you. Thanks! |
@hyangah You workaround works perfectly. This issue is related with the extension? or I must report this to the gopls team? To me is enough with your answer, thanks again! |
This is a |
Hi guys,
I have some troubles with the extension and git submodules.
What version of Go, VS Code & VS Code Go extension are you using?
go version
to get version of Gocode -v
orcode-insiders -v
to get version of VS Code or VS Code Insidersgo env
to get the go development environment detailsShare the Go related settings you have added/edited
Describe the bug
Problem
I have a project with two components:
Both components are git submodules in a parent repository. When I open the project with both submodules I have the following issues:
autocompleteUnimportedPackages
)Opening directly submodule resolves the issue.
Behavior expected
I expect same behavior with git submodules and simple git project.
Steps to reproduce the behavior:
Screenshots or recordings
Project opened with git submodules:
Project opened directly:
The text was updated successfully, but these errors were encountered: