Skip to content

auto-importing for packages doesn't keep track of existing packages #1511

@dlsniper

Description

@dlsniper

I'm yet to be very sure when this issue happens but I've find it quite a few times now when I find myself seeing 2 to 5 or more copies of the same package being added to the imports list automatically.

package main

import "log/syslog"

func main() {
    syslog.New(1, "a")
    syslog.LOG_ALERT
    sysl<caret> -> select syslog.NewWriter() from the suggestion list
}

Commit: 502f466

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions