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: completion with current/dot import package functions and variables #42775

jheroy opened this issue Nov 23, 2020 · 0 comments


Copy link

@jheroy jheroy commented Nov 23, 2020

It would be nice if completion offer current package and dot import package functions and variables like sourcegraph/go-langserver does.

Consider this code:

func completeMe(i int){}


if I type com the completeMe should popup. Dot import package just like this but the completeMe is not define current package but in other package and imported use import . "package_name".

I know do import is not recommended. But I have a very old project use this extensively.

@gopherbot gopherbot added this to the Unreleased milestone Nov 23, 2020
@jheroy jheroy closed this Nov 25, 2020
@stamblerre stamblerre removed this from the gopls/unplanned milestone Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants