go/gopls/internal/lsp
Robert Findley 1cb4c17983 gopls/internal/regtest: make AfterChange do the awaiting
The only expected use of the AfterChange helper is in the pattern
env.Await(env.AfterChange(...)). Simplify this pattern by having
AfterChange do the awaiting.

Change-Id: I832d619e8d44daae952f250e7aef69eba4e6715a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/450676
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-11-15 16:13:28 +00:00
..
analysis gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
browser
cache gopls/internal/lsp: fix diagnostic suppression when folders change 2022-11-15 00:02:48 +00:00
cmd gopls: sync golang.org/x/vuln@3af8368ee4fe 2022-11-10 23:14:17 +00:00
command gopls/internal/lsp: use the golang.org/x/vuln/exp/govulncheck 2022-10-11 21:42:28 +00:00
debug gopls/internal/lsp: delete dead code 2022-09-28 18:44:21 +00:00
fake gopls/fake: add semantic token modifiers to fake editor 2022-11-07 18:28:08 +00:00
helper
lsppos all: fix a few function names on comments 2022-10-10 13:22:38 +00:00
lsprpc internal/jsonrpc2_v2: rename Serve to NewServer and eliminate its error return 2022-10-31 15:32:39 +00:00
mod gopls/internal/lsp: fix diagnostic suppression when folders change 2022-11-15 00:02:48 +00:00
progress
protocol gopls/internal: start on LSP stub generator in Go. 2022-10-26 13:02:30 +00:00
regtest gopls/internal/regtest: make AfterChange do the awaiting 2022-11-15 16:13:28 +00:00
safetoken
snippet
source gopls/internal/lsp: fix diagnostic suppression when folders change 2022-11-15 00:02:48 +00:00
template gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
testdata gopls/internal/lsp/source/completion: fix panic in completion on *error 2022-11-01 16:24:04 +00:00
tests internal/diff: ToUnified may fail 2022-10-07 15:16:55 +00:00
work gopls/internal/lsp: fix diagnostic suppression when folders change 2022-11-15 00:02:48 +00:00
README.md
call_hierarchy.go
code_action.go gopls: dedup upgrade code actions for vulncheck 2022-10-12 18:24:48 +00:00
code_lens.go
command.go gopls/internal/lsp/cache: use Package.FileSet where possible 2022-11-11 15:24:32 +00:00
completion.go gopls/internal/lsp/cache: use Package.FileSet where possible 2022-11-11 15:24:32 +00:00
completion_test.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
debounce.go
debounce_test.go
definition.go
diagnostics.go gopls/internal/lsp: fix diagnostic suppression when folders change 2022-11-15 00:02:48 +00:00
folding_range.go
format.go
general.go gopls/internal/lsp: clarify control around diagnostics 2022-11-01 21:03:16 +00:00
general_test.go gopls/internal: don't show a warning if the Go version is undetected 2022-10-28 15:53:15 +00:00
highlight.go
hover.go
implementation.go
inlay_hint.go
link.go gopls/internal/lsp/cache: use typed strings (PackagePath et al) throughout 2022-11-11 03:59:42 +00:00
lsp_test.go gopls/internal/span: some cleanups 2022-10-13 13:15:27 +00:00
references.go
rename.go gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +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/internal/lsp/cache: use Package.FileSet where possible 2022-11-11 15:24:32 +00:00
server.go gopls/internal/lsp/cache: use typed strings (PackagePath et al) throughout 2022-11-11 03:59:42 +00:00
server_gen.go internal/lsp: latest version of LSP stubs 2022-09-13 15:21:19 +00:00
signature_help.go
symbols.go
text_synchronization.go gopls/internal/regtest: simplify awaiting diagnostics from a change 2022-11-07 14:31:48 +00:00
workspace.go gopls/internal/lsp: warn about Go versions that are too old 2022-10-07 17:55:15 +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.