Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
| -rw-r--r-- | editors/code/package.json | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 88a382f1fb..ffbceb8ad4 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -1152,8 +1152,17 @@ } ] }, - "rust-analyzer.hover.show.adtFieldsOrVariants": { - "markdownDescription": "How many fields or variants of an ADT (struct, enum or union) to display when hovering on. Show none if empty.", + "rust-analyzer.hover.show.enumVariants": { + "markdownDescription": "How many variants of an enum to display when hovering on. Show none if empty.", + "default": 5, + "type": [ + "null", + "integer" + ], + "minimum": 0 + }, + "rust-analyzer.hover.show.structOrUnionFields": { + "markdownDescription": "How many fields of a struct or union to display when hovering on. Show none if empty.", "default": 5, "type": [ "null", |