diff --git a/news/2 Fixes/12373.md b/news/2 Fixes/12373.md new file mode 100644 index 000000000000..2660463b8ef2 --- /dev/null +++ b/news/2 Fixes/12373.md @@ -0,0 +1 @@ +Added debugging setting called `VariablePresentation` \ No newline at end of file diff --git a/package.json b/package.json index 1493dec12b16..a9ed93c19440 100644 --- a/package.json +++ b/package.json @@ -578,6 +578,64 @@ "scope": "resource", "type": "string" }, + "python.debugger.VariablePresentation": { + "default": "{}", + "description": "Allow the user to specify the preferred presentation of variables.", + "scope": "resource", + "type": "object", + "properties": { + "all":{ + "type": "string", + "default": "group", + "description" : "Set preferred presentation of variables for all instances.", + "enum": [ + "inline", + "group", + "hide" + ] + }, + "class":{ + "type": "string", + "default": "group", + "description" : "Set Class presentation of variables.", + "enum": [ + "inline", + "group", + "hide" + ] + }, + "function":{ + "type": "string", + "default": "group", + "description" : "Set Function preferred presentation of variables.", + "enum": [ + "inline", + "group", + "hide" + ] + }, + "protected":{ + "type": "string", + "default": "group", + "description" : "Set Protected preferred presentation of variables.", + "enum": [ + "inline", + "group", + "hide" + ] + }, + "special":{ + "type": "string", + "default": "group", + "description" : "Set Special preferred presentation of variables.", + "enum": [ + "inline", + "group", + "hide" + ] + } + } + }, "python.defaultInterpreterPath": { "default": "python", "description": "Path to Python, you can use a custom version of Python by modifying this setting to include the full path. This default setting is used as a fallback if no interpreter is selected for the workspace. The extension will also not set nor change the value of this setting, it will only read from it.",