6 "golang.org/x/tools/internal/lsp/foo" //@item(foo, "foo", "\"golang.org/x/tools/internal/lsp/foo\"", "package")
9 func helper(i foo.IntFoo) {} //@item(helper, "helper", "func(i foo.IntFoo)", "func")
12 help //@complete("l", helper)
13 _ = foo.StructFoo{} //@complete("S", IntFoo, StructFoo)
17 func Bar() { //@item(Bar, "Bar", "func()", "func", "Bar is a function.")
18 foo.Foo() //@complete("F", Foo, IntFoo, StructFoo)
19 var _ foo.IntFoo //@complete("I", IntFoo, StructFoo)
20 foo.() //@complete("(", Foo, IntFoo, StructFoo)
24 var Valentine int //@item(Valentine, "Valentine", "int", "var")
27 Valu //@complete(" //", Value)
30 Va //@complete("a", Value, Valentine)
33 Value: 5, //@complete("a", Value)
36 //@complete("", Value, Valentine, foo, helper, Bar)
39 Value: Valen //@complete("le", Valentine)
42 Value: //@complete(" //", Valentine, foo, helper, Bar)
45 Value: //@complete(" ", Valentine, foo, helper, Bar)