Skip to content

Commit aef2fa9

Browse files
author
gc46
authored
Support multiple natvis files in visualizerFile (#10487)
* Support multiple Natvis files for Cppdbg Launch
1 parent 001b3a5 commit aef2fa9

File tree

2 files changed

+28
-6
lines changed

2 files changed

+28
-6
lines changed

Extension/package.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3255,9 +3255,20 @@
32553255
"default": "exec-run"
32563256
},
32573257
"visualizerFile": {
3258-
"type": "string",
3259-
"description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%",
3260-
"default": ""
3258+
"anyOf": [
3259+
{
3260+
"type": "string",
3261+
"default": ""
3262+
},
3263+
{
3264+
"type": "array",
3265+
"default": [],
3266+
"items": {
3267+
"type": "string"
3268+
}
3269+
}
3270+
],
3271+
"description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%"
32613272
},
32623273
"svdPath": {
32633274
"type": "string",

Extension/tools/OptionsSchema.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -655,9 +655,20 @@
655655
"default": "exec-run"
656656
},
657657
"visualizerFile": {
658-
"type": "string",
659-
"description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%",
660-
"default": ""
658+
"anyOf": [
659+
{
660+
"type": "string",
661+
"default": ""
662+
},
663+
{
664+
"type": "array",
665+
"default": [],
666+
"items": {
667+
"type": "string"
668+
}
669+
}
670+
],
671+
"description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%"
661672
},
662673
"svdPath": {
663674
"type": "string",

0 commit comments

Comments
 (0)