go/internal/lsp/command
Hana (Hyang-Ah) Kim b5fd08821a internal/lsp/command: replace VulncheckArgs Dir with URI
commandHandler.run expects a valid file for forURI and
forURI is necessary to fully populate commandDeps.
Our use of directory URI does not work.

We plan to use this custom command triggered through
codelenses on documents (e.g. go.mod), so we use
the document's URI.

Change-Id: I4de6d488dec5a4b71716499e7fc5e8328ecf3e49
Reviewed-on: https://go-review.googlesource.com/c/tools/+/420994
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Reviewed-by: Suzy Mueller <suzmue@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
2022-08-04 18:58:55 +00:00
..
commandmeta gopls, internal/lsp: gofmt 2022-04-12 17:41:31 +00:00
gen internal/lsp/command: add missing doc and support for result parameters 2021-06-11 15:30:39 +00:00
command_gen.go internal/lsp/command: let RunVulncheckExp call gopls vulncheck 2022-08-04 18:21:12 +00:00
generate.go all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
interface.go internal/lsp/command: replace VulncheckArgs Dir with URI 2022-08-04 18:58:55 +00:00
interface_test.go internal/lsp/command: rename package generate to gen 2021-02-17 22:11:19 +00:00
util.go gopls, internal/lsp: gofmt 2022-04-12 17:41:31 +00:00