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: offer completions for package names #39715

Open
kzhui125 opened this issue Jun 19, 2020 · 3 comments
Open

x/tools/gopls: offer completions for package names #39715

kzhui125 opened this issue Jun 19, 2020 · 3 comments

Comments

@kzhui125
Copy link

@kzhui125 kzhui125 commented Jun 19, 2020

What version of Go, VS Code & VS Code Go extension are you using?

  • Run go version to get version of Go
    • go version go1.14.3 darwin/amd64
  • Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders
    • 1.46.0
    • a5d1cc28bb5da32ec67e86cc50f84c67cc690321
    • x64
  • Check your installed extensions to get the version of the VS Code Go extension
    • 0.14.4

When I create a go file in a folder such as "test1"

When I type "pa", I expect "package test" and maybe also "package main" will appear in the list.

But now there is nothing.

This is bad coding experience.

1

@kzhui125 kzhui125 changed the title no package completion missing package completion Jun 19, 2020
@hyangah
Copy link
Contributor

@hyangah hyangah commented Jun 19, 2020

Based on the info in golang/vscode-go#241, I think this is a feature request for gopls.

/cc @stamblerre

@stamblerre stamblerre changed the title missing package completion x/tools/gopls: offer completions for package names Jun 19, 2020
@stamblerre stamblerre transferred this issue from golang/vscode-go Jun 19, 2020
@gopherbot
Copy link

@gopherbot gopherbot commented Jun 19, 2020

Thank you for filing a gopls issue! Please take a look at the Troubleshooting guide, and make sure that you have provided all of the relevant information here.

@gopherbot gopherbot added this to the Unreleased milestone Jun 19, 2020
@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Jun 19, 2020

Transferred. I thought we already had an open issue for that, but I guess not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.