mirror of https://github.com/golang/go.git
The marker function collectCompletionItems required at least three arguments. Express this in its signature, leaving a final variadic argument for documentation. I considered just making this final argument mandatory, but opted for minimizing the diff given that there are 400+ existing @item annotations. With this change the only use of tests.Data.t is in mustRange. Since conversion to range should always succeed, I switched this usage to a panic and removed the t field. For golang/go#54845 Change-Id: I407f07cb85fa1356ceb6dba366007f69d1b6a068 Reviewed-on: https://go-review.googlesource.com/c/tools/+/432337 Reviewed-by: Alan Donovan <adonovan@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| analysis | ||
| browser | ||
| cache | ||
| cmd | ||
| command | ||
| debug | ||
| fake | ||
| helper | ||
| lsppos | ||
| lsprpc | ||
| mod | ||
| progress | ||
| protocol | ||
| regtest | ||
| safetoken | ||
| snippet | ||
| source | ||
| template | ||
| testdata | ||
| tests | ||
| work | ||
| README.md | ||
| call_hierarchy.go | ||
| code_action.go | ||
| code_lens.go | ||
| command.go | ||
| completion.go | ||
| completion_test.go | ||
| debounce.go | ||
| debounce_test.go | ||
| definition.go | ||
| diagnostics.go | ||
| folding_range.go | ||
| format.go | ||
| general.go | ||
| highlight.go | ||
| hover.go | ||
| implementation.go | ||
| inlay_hint.go | ||
| link.go | ||
| lsp_test.go | ||
| references.go | ||
| rename.go | ||
| reset_golden.sh | ||
| semantic.go | ||
| server.go | ||
| server_gen.go | ||
| signature_help.go | ||
| symbols.go | ||
| text_synchronization.go | ||
| workspace.go | ||
| workspace_symbol.go | ||
README.md
lsp
internal/lsp provides much of the Language Server Protocol (lsp) implementation for gopls.
Documentation for users and contributors can be found in the
gopls/doc directory.