vscode-go: remove the 'references' codelens
The 'references' codelens depends on the guru application,
which is no longer supported.
For golang/vscode-go#2509
Change-Id: I55b99002c71dc4020d700bbf9263b5810aa1ef72
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/444416
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Peter Weinberger <pjw@google.com>
diff --git a/docs/settings.md b/docs/settings.md
index a7d68bf..8958bde 100644
--- a/docs/settings.md
+++ b/docs/settings.md
@@ -208,13 +208,11 @@
Feature level setting to enable/disable code lens for references and run/debug tests
| Properties | Description |
| --- | --- |
-| `references` | If true, enables the references code lens. Uses guru. Recalculates when there is change to the document followed by scrolling. Unnecessary when using the language server; use the call graph feature instead. <br/> Default: `false` |
| `runtest` | If true, enables code lens for running and debugging tests <br/> Default: `true` |
Default:
```
{
- "references" : false,
"runtest" : true,
}
```
diff --git a/package.json b/package.json
index 0716913..f371093 100644
--- a/package.json
+++ b/package.json
@@ -1633,11 +1633,6 @@
"go.enableCodeLens": {
"type": "object",
"properties": {
- "references": {
- "type": "boolean",
- "default": false,
- "description": "If true, enables the references code lens. Uses guru. Recalculates when there is change to the document followed by scrolling. Unnecessary when using the language server; use the call graph feature instead."
- },
"runtest": {
"type": "boolean",
"default": true,
@@ -1646,7 +1641,6 @@
},
"additionalProperties": false,
"default": {
- "references": false,
"runtest": true
},
"description": "Feature level setting to enable/disable code lens for references and run/debug tests",