mirror of https://github.com/golang/go.git
internal/lsp/source: tweak the WorkspaceSymbols docstring
The workspace symbols docstring was indenting quoted text using '>', but this is incompatible with convention of simply using indentation to cause pre-formatted text. Change-Id: Ifbaf88e19ac09a29b83f1812c576de6ea96a0793 Reviewed-on: https://go-review.googlesource.com/c/tools/+/264636 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This commit is contained in:
parent
2b84a066b2
commit
832c4b4433
|
|
@ -25,13 +25,13 @@ import (
|
|||
// sent in response to a client.
|
||||
const maxSymbols = 100
|
||||
|
||||
// WorkspaceSymbols matches symbols across views using the given query,
|
||||
// according to the SymbolMatcher matcher.
|
||||
// WorkspaceSymbols matches symbols across all views using the given query,
|
||||
// according to the match semantics parameterized by matcherType and style.
|
||||
//
|
||||
// The workspace symbol method is defined in the spec as follows:
|
||||
//
|
||||
// > The workspace symbol request is sent from the client to the server to
|
||||
// > list project-wide symbols matching the query string.
|
||||
// The workspace symbol request is sent from the client to the server to
|
||||
// list project-wide symbols matching the query string.
|
||||
//
|
||||
// It is unclear what "project-wide" means here, but given the parameters of
|
||||
// workspace/symbol do not include any workspace identifier, then it has to be
|
||||
|
|
|
|||
Loading…
Reference in New Issue