tools/gopls/internal/protocol
Ethan Reesor dc4c52551c gopls/internal: test discovery
Implements test discovery. Tests are discovered as part of the type
checking process, at the same time as method sets and xrefs, and cached.
Does not implement the Modules command.

Adds static detection of simple subtests. This provides a framework for
static analysis of subtests but intentionally does not support more than
the most trivial case in order to minimize the complexity of this CL.

Fixes golang/go#59445. Updates golang/go#59445, golang/vscode-go#1602,
golang/vscode-go#2445.

Change-Id: Ief497977da09a1e07831e6c5f3b7d28d6874fd9f
Reviewed-on: https://go-review.googlesource.com/c/tools/+/548675
Reviewed-by: Alan Donovan <adonovan@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-09-10 14:00:01 +00:00
..
command gopls/internal: test discovery 2024-09-10 14:00:01 +00:00
generate gopls/internal/server: support InsertReplaceEdit completion 2024-05-28 17:19:42 +00:00
semtok gopls/internal/golang: add semantic tokens for control labels 2024-02-16 17:05:47 +00:00
context.go
doc.go
edits.go gopls/internal: add code action "extract declarations to new file" 2024-06-26 14:07:01 +00:00
enums.go gopls/internal/settings: move CodeActionKind values from protocol 2024-06-24 14:55:40 +00:00
json_test.go
log.go
mapper.go gopls/internal/cache: use 1 not 0 for missing line/col info 2024-05-15 18:55:57 +00:00
mapper_test.go
protocol.go x/tools: drop go1.18 support 2024-02-29 16:54:26 +00:00
semantic.go gopls: report semantic tokens of top-level type constructor modifiers 2024-08-28 20:45:25 +00:00
span.go
tsclient.go gopls/internal/protocol: add links to LSP spec 2024-05-06 16:16:30 +00:00
tsdocument_changes.go gopls/internal/protocol: rename DocumentChange{s,} 2024-05-16 17:28:08 +00:00
tsinsertreplaceedit.go gopls/internal/protocol: customize InsertReplaceEdit JSON unmarshal 2024-05-22 18:44:40 +00:00
tsinsertreplaceedit_test.go gopls/internal/protocol: customize InsertReplaceEdit JSON unmarshal 2024-05-22 18:44:40 +00:00
tsjson.go gopls/protocol: update LSP to latest version 2024-03-05 15:19:20 +00:00
tsprotocol.go gopls/internal/server: support InsertReplaceEdit completion 2024-05-28 17:19:42 +00:00
tsserver.go gopls/internal/protocol: add links to LSP spec 2024-05-06 16:16:30 +00:00
uri.go
uri_test.go
uri_windows_test.go