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: autocomplete in import blocks #35877

Open
stamblerre opened this issue Nov 27, 2019 · 3 comments

Comments

@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Nov 27, 2019

Suggested in microsoft/vscode-go#2918.

@muirdm

This comment has been minimized.

Copy link

@muirdm muirdm commented Nov 27, 2019

Is there a use case for this once unimported completions are enabled by default? The only case I can think of is manually correcting an (incorrect) ambiguous import, but even that should be pretty rare.

@heschik

This comment has been minimized.

Copy link
Contributor

@heschik heschik commented Nov 27, 2019

I agree the justification for this is weak. Maybe if you're exploring an import hierarchy, like you can't remember the exact package name you're looking for but you know what repo it was in?

@stamblerre

This comment has been minimized.

Copy link
Contributor Author

@stamblerre stamblerre commented Nov 27, 2019

@heschik: That's what I was thinking. Definitely not pressing, but I thought it wasn't a bad idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.