Skip to content

Commit bf5789c

Browse files
pjweinbgohyangah
authored andcommitted
vscode-go: remove the 'references' codelens
The 'references' codelens depends on the guru application, which is no longer supported. For #2509 Change-Id: I55b99002c71dc4020d700bbf9263b5810aa1ef72 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/444416 TryBot-Result: kokoro <[email protected]> Reviewed-by: Jamal Carvalho <[email protected]> Run-TryBot: Peter Weinberger <[email protected]>
1 parent ea6fed7 commit bf5789c

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

docs/settings.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,11 @@ Default:
208208
Feature level setting to enable/disable code lens for references and run/debug tests
209209
| Properties | Description |
210210
| --- | --- |
211-
| `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` |
212211
| `runtest` | If true, enables code lens for running and debugging tests <br/> Default: `true` |
213212

214213
Default:
215214
```
216215
{
217-
"references" : false,
218216
"runtest" : true,
219217
}
220218
```

package.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1633,11 +1633,6 @@
16331633
"go.enableCodeLens": {
16341634
"type": "object",
16351635
"properties": {
1636-
"references": {
1637-
"type": "boolean",
1638-
"default": false,
1639-
"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."
1640-
},
16411636
"runtest": {
16421637
"type": "boolean",
16431638
"default": true,
@@ -1646,7 +1641,6 @@
16461641
},
16471642
"additionalProperties": false,
16481643
"default": {
1649-
"references": false,
16501644
"runtest": true
16511645
},
16521646
"description": "Feature level setting to enable/disable code lens for references and run/debug tests",

0 commit comments

Comments
 (0)