Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 88a90aad8c..c8c36cd85c 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -1782,6 +1782,33 @@
{
"title": "hover",
"properties": {
+ "rust-analyzer.hover.memoryLayout.padding": {
+ "markdownDescription": "How to render the padding information in a memory layout hover.",
+ "default": null,
+ "anyOf": [
+ {
+ "type": "null"
+ },
+ {
+ "type": "string",
+ "enum": [
+ "both",
+ "decimal",
+ "hexadecimal"
+ ],
+ "enumDescriptions": [
+ "Render as 12 (0xC)",
+ "Render as 12",
+ "Render as 0xC"
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "title": "hover",
+ "properties": {
"rust-analyzer.hover.memoryLayout.size": {
"markdownDescription": "How to render the size information in a memory layout hover.",
"default": "both",