golang.org/x/tools/gopls@v0.15.3/internal/test/marker/testdata/workspacesymbol/wsscope.txt (about) 1 This test verifies behavior when "symbolScope" is set to "workspace". 2 3 -- settings.json -- 4 { 5 "symbolStyle": "full", 6 "symbolMatcher": "casesensitive", 7 "symbolScope": "workspace" 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