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

The result of find all implementations is incomplete #2626

Closed
zzzzer91 opened this issue Jan 26, 2023 · 3 comments
Closed

The result of find all implementations is incomplete #2626

zzzzer91 opened this issue Jan 26, 2023 · 3 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@zzzzer91
Copy link

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

Version Information
  • Run go version to get version of Go from the VS Code integrated terminal.
    • go version go1.19.5 darwin/arm64
  • Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
    • golang.org/x/tools/gopls v0.11.0
  • Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
    • 1.74.3
  • Check your installed extensions to get the version of the VS Code Go extension
    • v0.37.1
  • Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.
    • gotests: /Users/zzzzer/go/bin/gotests (version: v1.6.0 built with go: go1.19.5)
      gomodifytags: /Users/zzzzer/go/bin/gomodifytags (version: v1.16.0 built with go: go1.19.5)
      impl: /Users/zzzzer/go/bin/impl (version: v1.1.0 built with go: go1.19.5)
      goplay: /Users/zzzzer/go/bin/goplay (version: v1.0.0 built with go: go1.19.5)
      dlv: /Users/zzzzer/go/bin/dlv (version: v1.20.1 built with go: go1.19.5)
      staticcheck: /Users/zzzzer/go/bin/staticcheck (version: v0.3.3 built with go: go1.19.5)
      gopls: /Users/zzzzer/go/bin/gopls (version: v0.11.0 built with go: go1.19.5)

Describe the bug

When i use find all implementations for context.Context, vscode shows:

image

I found the result is incomplete.

Goland's output:
image

why?

@gopherbot gopherbot added this to the Untriaged milestone Jan 26, 2023
@findleyr
Copy link
Contributor

@zzzzer91 this is most likely caused by opening a different directory as your workspace folder. Which directory did you open?

We understand this is not ideal. https://go.dev/issue/57979 is our active project to fix this problem.

@findleyr findleyr added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Jan 26, 2023
@zzzzer91
Copy link
Author

zzzzer91 commented Jan 27, 2023

@zzzzer91 this is most likely caused by opening a different directory as your workspace folder. Which directory did you open?

We understand this is not ideal. https://go.dev/issue/57979 is our active project to fix this problem.

Sincerely thank you for your work. This is the most likely reason. My Go project is in the ~/go/src directory, and I go to the Go source files in this project. Then, I use Find all implementations for context.Context.

@findleyr
Copy link
Contributor

@zzzzer91 thanks. I'm going to close this as it is covered by golang/go#57979.

@findleyr findleyr closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2023
@golang golang locked and limited conversation to collaborators Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

3 participants