From d4f1d38b395ca185687c6a24747f4603635d3f80 Mon Sep 17 00:00:00 2001 From: Alessandro Mecca <48736988+acorello@users.noreply.github.com> Date: Tue, 15 Apr 2025 14:12:11 +0100 Subject: [PATCH] Fix navigation.md#Symbol: CLI should use symbols command CLI example uses the same command of the previous paragraph (Links). Should use `gopls symbols file.go` instead. --- gopls/doc/features/navigation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gopls/doc/features/navigation.md b/gopls/doc/features/navigation.md index 11b40797cd4..04aefa1be12 100644 --- a/gopls/doc/features/navigation.md +++ b/gopls/doc/features/navigation.md @@ -252,7 +252,7 @@ Client support: - **VS Code**: Use ⌘T to open [Go to Symbol](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol) with workspace scope. (Alternatively, use Ctrl-Shift-O, and add a `@` prefix to search within the file or a `#` prefix to search throughout the workspace.) - **Emacs + eglot**: Use [`M-x xref-find-apropos`](https://www.gnu.org/software/emacs/manual/html_node/emacs/Looking-Up-Identifiers.html) to show symbols that match a search term. - **Vim + coc.nvim**: ?? -- **CLI**: `gopls links file.go` +- **CLI**: `gopls symbols file.go` ## Selection Range