Debian Codegraph @

gopls/internal/test/marker/testdata/workspacesymbol/allscope.txt

raw
1 This test verifies behavior when "symbolScope" is set to "all".
2
3 -- settings.json --
4 {
5 "symbolStyle": "full",
6 "symbolMatcher": "casesensitive",
7 "symbolScope": "all"
8 }
9
10 -- go.mod --
11 module mod.test/symbols
12
13 go 1.18
14
15 -- query.go --
16 package symbols
17
18 //@workspacesymbol("fmt.Println", println)
19
20 -- fmt/fmt.go --
21 package fmt
22
23 import "fmt"
24
25 func Println(s string) {
26 fmt.Println(s)
27 }
28 -- @println --
29 fmt/fmt.go:5:6-13 mod.test/symbols/fmt.Println Function
30 <external> fmt.Println Function