From 31a4bb6b3aa5d5f9940dca36a8f84ad02f9dfb4e Mon Sep 17 00:00:00 2001 From: Bob Brown Date: Fri, 21 Feb 2025 11:15:29 -0800 Subject: [PATCH 1/2] description for svdPath doesn't appear in launch configuration --- Extension/package.json | 2 +- Extension/tools/OptionsSchema.json | 14 +++++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 8a5b95b62..27ad72f1c 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -3744,7 +3744,7 @@ }, "svdPath": { "type": "string", - "description": "%c_cpp.debuggers.cppdbg.visualizerFile.description", + "description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%", "default": "" }, "showDisplayString": { diff --git a/Extension/tools/OptionsSchema.json b/Extension/tools/OptionsSchema.json index 0a85f18c0..eb961a026 100644 --- a/Extension/tools/OptionsSchema.json +++ b/Extension/tools/OptionsSchema.json @@ -477,7 +477,11 @@ "allOf": [ { "if": { - "properties": { "type": { "const": "scp" } } + "properties": { + "type": { + "const": "scp" + } + } }, "then": { "properties": { @@ -491,7 +495,11 @@ }, { "if": { - "properties": { "type": { "const": "rsync" } } + "properties": { + "type": { + "const": "rsync" + } + } }, "then": { "properties": { @@ -672,7 +680,7 @@ }, "svdPath": { "type": "string", - "description": "%c_cpp.debuggers.cppdbg.visualizerFile.description", + "description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%", "default": "" }, "showDisplayString": { From ca2c2ad13453660875b4fdad55fa22e006f9d8a5 Mon Sep 17 00:00:00 2001 From: Bob Brown Date: Fri, 21 Feb 2025 11:18:45 -0800 Subject: [PATCH 2/2] the id was wrong too --- Extension/package.json | 2 +- Extension/tools/OptionsSchema.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 27ad72f1c..3dc76870d 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -3744,7 +3744,7 @@ }, "svdPath": { "type": "string", - "description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%", + "description": "%c_cpp.debuggers.cppdbg.svdPath.description%", "default": "" }, "showDisplayString": { diff --git a/Extension/tools/OptionsSchema.json b/Extension/tools/OptionsSchema.json index eb961a026..77cc7f2d3 100644 --- a/Extension/tools/OptionsSchema.json +++ b/Extension/tools/OptionsSchema.json @@ -680,7 +680,7 @@ }, "svdPath": { "type": "string", - "description": "%c_cpp.debuggers.cppdbg.visualizerFile.description%", + "description": "%c_cpp.debuggers.cppdbg.svdPath.description%", "default": "" }, "showDisplayString": {