go/internal/lsp/cmd
Robert Findley 2bb78cf04e internal/lsp: add missing bug reporting, and panic during marker tests
Add additional bug reporting related to position invariants, and update
marker test runners to panic on encountered bugs.

This revealed a panic on older Go versions, where we try to create a
range for a missing package name span. Lift the check into the caller
for this case, and leave a big comment explaining that
checkForOrphanedFile probably shouldn't be so tolerant of invalid calls.

Change-Id: Ie16a07afba0f8a5682cca50ad8f04450bfa2da65
Reviewed-on: https://go-review.googlesource.com/c/tools/+/407885
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
2022-05-31 14:14:38 +00:00
..
test internal/lsp: add semantic tokens for arrows in declarations 2022-04-07 14:52:22 +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 gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
check.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +00:00
cmd.go internal/tool: implement structured help command 2022-05-04 22:58:41 +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 gopls: take control of the flag printing 2022-02-02 14:52:21 +00:00
serve.go gopls: remove usage of golang.org/x/xerrors 2022-04-20 15:33:22 +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: add -config option to gopls vulncheck 2022-05-12 21:16:26 +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