Skip to content
This repository has been 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
merged 2 commits into from
Nov 9, 2016

Conversation

ramya-rao-a
Copy link
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