1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
This test checks completion related to errors.
-- flags --
-ignore_extra_diags
-- settings.json --
{
"deepCompletion": false
}
-- go.mod --
module golang.org/lsptests
go 1.18
-- errors.go --
package errors
import (
"golang.org/lsptests/types"
)
func _() {
bob.Bob() //@complete(".")
types.b //@complete(" //", Bob_interface)
}
-- types/types.go --
package types
type Bob interface { //@item(Bob_interface, "Bob", "interface{...}", "interface")
Bobby()
}
|