go/internal/lsp/cmd
pjw 587a15310b internal/lsp: hover to render go 1.19 doc comments
Go 1.19 introduced new formatting for doc comments, and a new package
for processing them. This change uses the new package when gopls is
compiled with go 1.19 or later.

The difficulty is with the hover tests, which have to work both when
gopls is compiled with earlier versions of go, and with go 1.19.
Fortunately the changes in formatting the test cases are easily checked.

Fixes golang/go#54260

Change-Id: I9e8e7f0cf3392afa0865b5d3f4e5fcdd88dfe75f
Reviewed-on: https://go-review.googlesource.com/c/tools/+/421502
Run-TryBot: Peter Weinberger <pjw@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-08-19 18:26:38 +00:00
..
test internal/lsp: hover to render go 1.19 doc comments 2022-08-19 18:26:38 +00:00
usage internal/lsp/cmd: add -config option to gopls vulncheck 2022-05-12 21:16:26 +00:00
call_hierarchy.go gopls: take control of the flag printing 2022-02-02 14:52:21 +00:00
capabilities_test.go internal/lsp/regtest: allow sharing memoized results across regtests 2022-07-26 21:20:42 +00:00
check.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
cmd.go internal/lsp/regtest: allow sharing memoized results across regtests 2022-07-26 21:20:42 +00:00
cmd_test.go internal/lsp: add missing bug reporting, and panic during marker tests 2022-05-31 14:14:38 +00:00
definition.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
export_test.go internal/lsp: refactor query definition test to allow adding a new test 2019-03-18 20:06:54 +00:00
folding_range.go gopls: take control of the flag printing 2022-02-02 14:52:21 +00:00
format.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
help_test.go internal/lsp/debug: add go version to gopls version output 2022-02-07 15:39:03 +00:00
highlight.go gopls: take control of the flag printing 2022-02-02 14:52:21 +00:00
implementation.go gopls: take control of the flag printing 2022-02-02 14:52:21 +00:00
imports.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
info.go internal/tool: implement structured help command 2022-05-04 22:58:41 +00:00
links.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
prepare_rename.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
references.go gopls: add long forms for all the 1 rune flags 2022-02-02 14:56:23 +00:00
remote.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
rename.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
semantictokens.go internal/lsp: factor out column mapper construction from content 2022-06-01 19:19:49 +00:00
serve.go internal/lsp/regtest: allow sharing memoized results across regtests 2022-07-26 21:20:42 +00:00
signature.go gopls: take control of the flag printing 2022-02-02 14:52:21 +00:00
subcommands.go internal/tool: implement structured help command 2022-05-04 22:58:41 +00:00
suggested_fix.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
symbols.go gopls: take control of the flag printing 2022-02-02 14:52:21 +00:00
vulncheck.go internal/lsp/cmd: remove unused Env from pkgLoadConfig 2022-08-04 20:04:16 +00:00
workspace.go gopls: take control of the flag printing 2022-02-02 14:52:21 +00:00
workspace_symbol.go gopls: take control of the flag printing 2022-02-02 14:52:21 +00:00