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

Go: Autocomplete Unimported Packages works on variable or package symbols #2469

Description

@szyhf

My go extension suddenly doesn't works well on "Go: Autocomplete Unimported Packages".

If I set the setting of "Go: Autocomplete Unimported Packages" to true, it works well if I first type package name on blank line as I wish, for example:

error2

But if I already import the package or using an existing variable, it also show the suggest of package, mixed with the 'Member variables' for example:

err

And what I used to and expect to see is:

11

I don't know why and I didn't change any setting before.

Really thanks for help.


go env

go version go1.12.4 darwin/amd64
macOS Mojave 10.14.4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions