Skip to content

Commit

Permalink
vscode-go: remove the 'references' codelens
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
pjweinbgo authored and hyangah committed Oct 25, 2022
1 parent ea6fed7 commit bf5789c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,13 +208,11 @@ Default:
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,
}
```
Expand Down
6 changes: 0 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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",
Expand Down

0 comments on commit bf5789c

Please sign in to comment.