-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.
Milestone
Description
Steps to reproduce:
Starting with:
package main
import "os/exec"
func main() {
exec.CommandContext()
}
- Complete at
CommandContext(<>)
and select "context.Background" - I expect to get an import for
"context"
, but I getcontext "context"
(redundant alias).
Also note that it says from "context"
in the candidate description although it is not required in this case.
/cc @stamblerre @heschik
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.Issues related to the Go language server, gopls.