go/internal/lsp/cmd/usage/highlight.hlp

11 lines
253 B
Plaintext

display selected identifier's highlights
Usage:
gopls [flags] highlight <position>
Example:
$ # 1-indexed location (:line:column or :#offset) of the target identifier
$ gopls highlight helper/helper.go:8:6
$ gopls highlight helper/helper.go:#53