-
Notifications
You must be signed in to change notification settings - Fork 645
Autocomplete and Go: Add Import broken when working with SubPackages #521
Comments
note: you can mouse over the non-autocompleted methods and see their signature. Information is making its way over, but functionality is missing. |
@sethgrid Does autocomplete work for you for other external packages?
|
@ramya-rao-a autocomplete / I just ran If you clone the simple example repo, were you able to reproduce the issue? I opened an issue for |
Well, then it might be because the packages are not being generated. That is why I cloned your repo and I am able to get autocomplete and Can you check your Can you share your customized settings (User and Workspace)? |
When I check out the
That lists some It feels odd to have to have built or otherwise gotten your system to generate data in the pkg dir to get autocomplete. That seems to hamper initial development until you either run In case it is still of interest:
And the workspace settings are empty:
|
With running |
You can change the setting |
@tpng is right. Below is a note from the README for the Go extension:
|
Awesome, good to know. Thanks for all the help and for providing a great tool. |
I created a very simple example here:
https://github.com/sethgrid/vscode_autocomplete_issue
Basically, when working with subpackages (from one to another, or from the root to a subpackage), there is no autocomplete and you cannot find the subpackage with
> Go: Add Import
.The text was updated successfully, but these errors were encountered: