aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/cmd/usage/references.hlp
blob: c55ef03370870709433c0f555453c9a21212d305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
display selected identifier's references

Usage:
  gopls [flags] references [references-flags] <position>

Example:

	$ # 1-indexed location (:line:column or :#offset) of the target identifier
	$ gopls references helper/helper.go:8:6
	$ gopls references helper/helper.go:#53

references-flags:
  -d,-declaration
    	include the declaration of the specified identifier in the results