go/gopls/internal/lsp
Alan Donovan 85bf7a8fb4 gopls/internal/lsp/source: eliminate Metadata interface
This change merges the source.Metadata interface with
its sole implementation, cache.Metadata.

One possible concern: the struct cannot have private
fields used only by the cache-package logic that
constructs these structs. We are ok with that.

Change-Id: I93c112f92dc812bd0da07d36e7244d5d77978312
Reviewed-on: https://go-review.googlesource.com/c/tools/+/452035
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2022-11-18 18:23:35 +00:00
..
analysis go/analysis: add Pass.TypeErrors field 2022-11-16 21:35:14 +00:00
browser
cache gopls/internal/lsp/source: eliminate Metadata interface 2022-11-18 18:23:35 +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 gopls/internal/lsp/lsprpc: eliminate arbitrary timeout in TestEnvForwarding 2022-11-17 19:20:03 +00:00
mod gopls/internal/lsp/mod: fix unaffecting vuln diagnostics msgs 2022-11-18 15:58:55 +00:00
progress
protocol gopls/internal: start on LSP stub generator in Go. 2022-10-26 13:02:30 +00:00
regtest internal/testenv: skip tests that need export data for std if 'go tool compile' does not exist 2022-11-17 20:46:33 +00:00
safetoken internal/testenv: skip tests that need export data for std if 'go tool compile' does not exist 2022-11-17 20:46:33 +00:00
snippet
source gopls/internal/lsp/source: eliminate Metadata interface 2022-11-18 18:23:35 +00:00
template gopls/internal/span: move internal/span into gopls 2022-10-07 14:50:44 +00:00
testdata gopls/semantic: semantic tokens for type parameters 2022-11-16 14:49:29 +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: simplify KnownPackages 2022-11-18 17:22:07 +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/semantic: semantic tokens for type parameters 2022-11-16 14:49:29 +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.