go/gopls/internal/lsp
Robert Findley 10e9d3cefa gopls/internal/lsp: tolerate new 'imported and not used' error message
Tolerate the new form of the "... imported but not used" error message,
to allow landing this change in go/types.

Along the way, improve the test output when comparing diagnostics, and
formatting results.

For golang/go#54845

Change-Id: I998d539f82e0f70c85bdb4c40858be5e01dd08b6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/435355
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
2022-09-27 19:33:44 +00:00
..
analysis gopls/internal/lsp: tolerate new 'imported and not used' error message 2022-09-27 19:33:44 +00:00
browser gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
cache internal/lsp/source: derive document symbols from syntax alone 2022-09-23 13:51:08 +00:00
cmd gopls/internal/lsp: tolerate new 'imported and not used' error message 2022-09-27 19:33:44 +00:00
command gopls: add codelens to reset upgrade diagnostics 2022-09-12 15:41:56 +00:00
debug gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
fake gopls/internal/fake: sort edits by both start and end position 2022-09-17 00:45:41 +00:00
helper gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
lsppos internal/lsp/source: derive document symbols from syntax alone 2022-09-23 13:51:08 +00:00
lsprpc gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
mod gopls: add codelens to reset upgrade diagnostics 2022-09-12 15:41:56 +00:00
progress gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
protocol gopls: update to handle 'undefined:' versus 'undeclared' in type errors 2022-09-26 21:05:13 +00:00
regtest internal/gocommand: add instrumentation for hanging go commands 2022-09-15 14:14:04 +00:00
safetoken gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
snippet gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
source gopls/internal/lsp: tolerate new 'imported and not used' error message 2022-09-27 19:33:44 +00:00
template gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
testdata gopls/internal/lsp: tolerate new 'imported and not used' error message 2022-09-27 19:33:44 +00:00
tests gopls/internal/lsp: tolerate new 'imported and not used' error message 2022-09-27 19:33:44 +00:00
work gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
README.md gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
call_hierarchy.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
code_action.go gopls/internal/regtest: fix regtest failures from "undefined" errors 2022-09-26 22:21:12 +00:00
code_lens.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
command.go gopls: add codelens to reset upgrade diagnostics 2022-09-12 15:41:56 +00:00
completion.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
completion_test.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
debounce.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
debounce_test.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
definition.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
diagnostics.go gopls: add codelens to reset upgrade diagnostics 2022-09-12 15:41:56 +00:00
folding_range.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
format.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
general.go gopls: set codelensProvider in initialize response 2022-09-19 18:40:20 +00:00
highlight.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
hover.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
implementation.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
inlay_hint.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
link.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
lsp_test.go gopls/internal/lsp: tolerate new 'imported and not used' error message 2022-09-27 19:33:44 +00:00
references.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
rename.go gopls/internal/lsp: simplify prepareRename tests 2022-09-23 13:51:34 +00:00
reset_golden.sh gopls: fix the reset_golden.sh script and regenerate golden files 2022-09-26 18:57:12 +00:00
semantic.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
server.go internal/lsp: latest version of LSP stubs 2022-09-13 15:21:19 +00:00
server_gen.go internal/lsp: latest version of LSP stubs 2022-09-13 15:21:19 +00:00
signature_help.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
symbols.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
text_synchronization.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
workspace.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00
workspace_symbol.go gopls: migrate internal/lsp to gopls/internal/lsp 2022-09-07 16:44:44 +00:00

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.