Skip to content

Commit f796ab1

Browse files
committed
[release] package.json: add dlv to alternateTools value list
And remove legacy tools from the list For #1144 Change-Id: I66c365de267344c5852b7fbaa6e243389ee9ea96 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/288134 Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Trust: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Rebecca Stambler <rstambler@golang.org> (cherry picked from commit 3c08fec) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/289231
1 parent 0aeab66 commit f796ab1

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

docs/settings.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,11 @@ Default:
5151
Alternate tools or alternate paths for the same tools used by the Go extension. Provide either absolute path or the name of the binary in GOPATH/bin, GOROOT/bin or PATH. Useful when you want to use wrapper script for the Go tools or versioned tools from https://gopkg.in. When specified as a workspace setting, the setting is used only when the workspace is marked trusted with "Go: Toggle Workspace Trust Flag".
5252
| Properties | Description |
5353
| --- | --- |
54+
| `dlv` | Alternate tool to use instead of the dlv binary or alternate path to use for the dlv binary. <br/> Default: `"dlv"` |
5455
| `go` | Alternate tool to use instead of the go binary or alternate path to use for the go binary. <br/> Default: `"go"` |
5556
| `go-outline` | Alternate tool to use instead of the go-outline binary or alternate path to use for the go-outline binary. <br/> Default: `"go-outline"` |
56-
| `gocode` | Alternate tool to use instead of the gocode binary or alternate path to use for the gocode binary. <br/> Default: `"gocode"` |
5757
| `gopkgs` | Alternate tool to use instead of the gopkgs binary or alternate path to use for the gopkgs binary. <br/> Default: `"gopkgs"` |
5858
| `gopls` | Alternate tool to use instead of the gopls binary or alternate path to use for the gopls binary. <br/> Default: `"gopls"` |
59-
| `guru` | Alternate tool to use instead of the guru binary or alternate path to use for the guru binary. <br/> Default: `"guru"` |
6059
### `go.autocompleteUnimportedPackages`
6160

6261
Include unimported packages in auto-complete suggestions. Not applicable when using the language server.

package.json

+3-8
Original file line numberDiff line numberDiff line change
@@ -1688,11 +1688,6 @@
16881688
"default": "go",
16891689
"description": "Alternate tool to use instead of the go binary or alternate path to use for the go binary."
16901690
},
1691-
"gocode": {
1692-
"type": "string",
1693-
"default": "gocode",
1694-
"description": "Alternate tool to use instead of the gocode binary or alternate path to use for the gocode binary."
1695-
},
16961691
"gopkgs": {
16971692
"type": "string",
16981693
"default": "gopkgs",
@@ -1708,10 +1703,10 @@
17081703
"default": "go-outline",
17091704
"description": "Alternate tool to use instead of the go-outline binary or alternate path to use for the go-outline binary."
17101705
},
1711-
"guru": {
1706+
"dlv": {
17121707
"type": "string",
1713-
"default": "guru",
1714-
"description": "Alternate tool to use instead of the guru binary or alternate path to use for the guru binary."
1708+
"default": "dlv",
1709+
"description": "Alternate tool to use instead of the dlv binary or alternate path to use for the dlv binary."
17151710
}
17161711
},
17171712
"additionalProperties": true

0 commit comments

Comments
 (0)