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

Closed
kzhui125 opened this issue Jun 19, 2020 · 5 comments
Closed

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

kzhui125 opened this issue Jun 19, 2020 · 5 comments
Labels
FeatureRequest FrozenDueToAge gopls Issues related to the Go language server, gopls. help wanted Tools This label describes issues relating to any tools in the x/tools repository.

Comments

@kzhui125
Copy link

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 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 gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Jun 19, 2020
@gopherbot
Copy link

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

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

@muirdm
Copy link

muirdm commented Aug 11, 2020

Dupe of #34008?

@stamblerre
Copy link
Contributor

Yes I think so, thanks. Closing.

@golang golang locked and limited conversation to collaborators Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FeatureRequest FrozenDueToAge gopls Issues related to the Go language server, gopls. help wanted Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

5 participants