Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #12373: Added a new Debug setting named "VariablePresentation" #17587

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/2 Fixes/12373.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added debugging setting called `VariablePresentation`
58 changes: 58 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down