Skip to content
This repository was archived by the owner on Jul 15, 2023. It is now read-only.

Remove pkgs from completion if identifier with same name exists#608

Merged
ramya-rao-a merged 2 commits intomicrosoft:masterfrom
ramya-rao-a:same-name-as-pkg
Nov 9, 2016
Merged

Remove pkgs from completion if identifier with same name exists#608
ramya-rao-a merged 2 commits intomicrosoft:masterfrom
ramya-rao-a:same-name-as-pkg

Conversation

@ramya-rao-a
Copy link
Copy Markdown
Contributor

Fixes #598

Say there is a variable by the name math in a Go file. Completion items after typing ma will include results for both the variable math and the package math that can be imported. The latter is not valid.

This PR excludes importable packages with same name as any other identifier in the Go file

@ramya-rao-a ramya-rao-a merged commit 6a5eb64 into microsoft:master Nov 9, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants