go/internal/lsp
pjw fe74b5f080 internal/template: return available semantic tokens even on template error
Fixes golang/go#50801

Change-Id: Ic5c541d6244bd56b90bee204be7c2b2fdfa90264
Reviewed-on: https://go-review.googlesource.com/c/tools/+/381014
Run-TryBot: Peter Weinberger <pjw@google.com>
Trust: Peter Weinberger <pjw@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-01-26 20:10:56 +00:00
..
analysis internal/typeparams: simplify the IndexExpr API 2022-01-19 20:29:28 +00:00
browser
cache internal/lsp/cache: remove unsynchronized write to snapshot.files 2022-01-21 21:27:57 +00:00
cmd internal/lsp/fuzzy: consider whole word matching in SymbolMatcher 2022-01-19 15:05:25 +00:00
command internal/lsp/command: fix typo in comment 2021-09-19 16:34:52 +00:00
debug internal/lsp/debug: improve readability of session options 2021-09-28 20:53:23 +00:00
diff
fake internal/template: return available semantic tokens even on template error 2022-01-26 20:10:56 +00:00
fuzzy internal/lsp/source: parse symbol queries when using fastfuzzy 2022-01-19 15:06:07 +00:00
helper internal/lsp/protocol: update LSP definitions and stubs 2021-10-05 16:44:45 +00:00
lsppos internal/lsp/source: compute imports text edits from scratch 2021-07-22 17:13:07 +00:00
lsprpc internal/lsp/lsprpc: increase timeout for TestEnvForwarding 2021-11-11 03:25:14 +00:00
mod internal/lsp: in degraded mode, limit the workspace to active packages 2021-07-26 20:36:31 +00:00
progress internal/lsp: move the progress tracker to the session 2021-06-16 01:01:29 +00:00
protocol internal/lsp: bring the LSP stubs up to date 2022-01-19 14:58:28 +00:00
regtest internal/lsp/regtest: eliminate arbitrary timeouts 2022-01-25 21:51:33 +00:00
snippet
source internal/template: return a Source with template diagnostics 2022-01-26 16:53:13 +00:00
template internal/template: return available semantic tokens even on template error 2022-01-26 20:10:56 +00:00
testdata internal/lsp/source: use the real type parameter in snippet completions 2022-01-21 14:07:19 +00:00
tests internal/lsp/tests: re-enable MultiModule tests on plan9 2022-01-07 05:34:58 +00:00
README.md
call_hierarchy.go
code_action.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
code_lens.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
command.go internal/lsp/source: consider test variants when finding pkg from pos 2021-09-08 14:51:59 +00:00
completion.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
completion_test.go
debounce.go internal/lsp: adopt bcmills' suggestion for an improved debouncer API 2021-07-13 16:40:23 +00:00
debounce_test.go internal/lsp: adopt bcmills' suggestion for an improved debouncer API 2021-07-13 16:40:23 +00:00
definition.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
diagnostics.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
folding_range.go
format.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
general.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
highlight.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
hover.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
implementation.go
link.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
lsp_test.go internal/template: identify template files by the templateExtensions option 2022-01-13 17:30:17 +00:00
references.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
rename.go
reset_golden.sh
semantic.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
server.go internal/lsp: add a setting to batch didChangeWatchedFile notifications 2021-07-08 19:55:54 +00:00
server_gen.go internal/lsp: bring the LSP stubs up to date 2022-01-19 14:58:28 +00:00
signature_help.go
symbols.go internal/lsp: honor the file kind provided by clients for overlays 2022-01-13 20:54:45 +00:00
text_synchronization.go internal/lsp: signal diagnostic completion if modification failed 2021-07-13 20:49:08 +00:00
workspace.go internal/template: identify template files by the templateExtensions option 2022-01-13 17:30:17 +00:00
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.