similar issue with How to force VSCode to require manual choice where goimports match multiple packages with same name?
I have two package under different directories
github.com/myproject/mytest1/mytest
github.com/myproject/mytest2/mytest
When I type "mytest", the autocomplete gives me the
suggestion with two "mytest". I can’t tell which directory the two "mytest" belong to. Is there a way to display the full path of package?
2
Answers
On a Mac, when you see the list with choices, press
^ + Space
. That will show the full package path as you move from one package to the other.Use arrows to move selection in the autocomple window.