diff options
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 5 | ||||
-rw-r--r-- | editors/code/src/config.ts | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index bffc1e05b..0f3ed48a0 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -660,6 +660,11 @@ | |||
660 | "default": true, | 660 | "default": true, |
661 | "type": "boolean" | 661 | "type": "boolean" |
662 | }, | 662 | }, |
663 | "rust-analyzer.hoverActions.references": { | ||
664 | "markdownDescription": "Whether to show `References` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", | ||
665 | "default": false, | ||
666 | "type": "boolean" | ||
667 | }, | ||
663 | "rust-analyzer.hoverActions.run": { | 668 | "rust-analyzer.hoverActions.run": { |
664 | "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", | 669 | "markdownDescription": "Whether to show `Run` action. Only applies when\n`#rust-analyzer.hoverActions.enable#` is set.", |
665 | "default": true, | 670 | "default": true, |
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index d3d6e631a..1f1fe59a4 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -165,6 +165,7 @@ export class Config { | |||
165 | return { | 165 | return { |
166 | enable: this.get<boolean>("hoverActions.enable"), | 166 | enable: this.get<boolean>("hoverActions.enable"), |
167 | implementations: this.get<boolean>("hoverActions.implementations"), | 167 | implementations: this.get<boolean>("hoverActions.implementations"), |
168 | references: this.get<boolean>("hoverActions.references"), | ||
168 | run: this.get<boolean>("hoverActions.run"), | 169 | run: this.get<boolean>("hoverActions.run"), |
169 | debug: this.get<boolean>("hoverActions.debug"), | 170 | debug: this.get<boolean>("hoverActions.debug"), |
170 | gotoTypeDef: this.get<boolean>("hoverActions.gotoTypeDef"), | 171 | gotoTypeDef: this.get<boolean>("hoverActions.gotoTypeDef"), |