aboutsummaryrefslogtreecommitdiff
path: root/internal/lsp/cmd/usage/implementation.hlp
diff options
context:
space:
mode:
Diffstat (limited to 'internal/lsp/cmd/usage/implementation.hlp')
-rw-r--r--internal/lsp/cmd/usage/implementation.hlp10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/lsp/cmd/usage/implementation.hlp b/internal/lsp/cmd/usage/implementation.hlp
new file mode 100644
index 000000000..09414f190
--- /dev/null
+++ b/internal/lsp/cmd/usage/implementation.hlp
@@ -0,0 +1,10 @@
+display selected identifier's implementation
+
+Usage:
+ gopls [flags] implementation <position>
+
+Example:
+
+ $ # 1-indexed location (:line:column or :#offset) of the target identifier
+ $ gopls implementation helper/helper.go:8:6
+ $ gopls implementation helper/helper.go:#53