From 3580241216dd0f2e43e257f1d3b19b1f4c67f704 Mon Sep 17 00:00:00 2001 From: Yan Pashkovsky Date: Tue, 3 Jul 2018 12:57:32 +0300 Subject: [PATCH 1/2] add valuesFormatting by default --- package.json | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index ac77f55..ec870c1 100644 --- a/package.json +++ b/package.json @@ -346,7 +346,8 @@ "request": "launch", "name": "${2:Launch Program}", "target": "${1:./bin/executable}", - "cwd": "^\"\\${workspaceRoot}\"" + "cwd": "^\"\\${workspaceRoot}\"", + "valuesFormatting": "parseText" } }, { @@ -357,7 +358,8 @@ "request": "attach", "name": "${2:Attach to PID}", "target": "${1:[PID]}", - "cwd": "^\"\\${workspaceRoot}\"" + "cwd": "^\"\\${workspaceRoot}\"", + "valuesFormatting": "parseText" } }, { @@ -370,7 +372,8 @@ "executable": "${1:./bin/executable}", "target": ":${2:2345}", "remote": true, - "cwd": "^\"\\${workspaceRoot}\"" + "cwd": "^\"\\${workspaceRoot}\"", + "valuesFormatting": "parseText" } }, { @@ -387,7 +390,8 @@ "cwd": "${3:/home/remote_user/project/}", "keyfile": "${4:/home/my_user/.ssh/id_rsa}", "user": "${5:remote_user}" - } + }, + "valuesFormatting": "parseText" } }, { @@ -407,7 +411,8 @@ "forwardX11": true, "x11host": "localhost", "x11port": 6000 - } + }, + "valuesFormatting": "parseText" } }, { @@ -426,7 +431,8 @@ "attach 1", "load ${1:./bin/executable.elf}" ] - } + }, + "valuesFormatting": "parseText" } ] }, @@ -675,7 +681,8 @@ "request": "launch", "name": "${2:Launch Program}", "target": "${1:./bin/executable}", - "cwd": "^\"\\${workspaceRoot}\"" + "cwd": "^\"\\${workspaceRoot}\"", + "valuesFormatting": "parseText" } }, { @@ -686,7 +693,8 @@ "request": "attach", "name": "${2:Attach to PID}", "target": "${1:[PID]}", - "cwd": "^\"\\${workspaceRoot}\"" + "cwd": "^\"\\${workspaceRoot}\"", + "valuesFormatting": "parseText" } }, { @@ -703,7 +711,8 @@ "cwd": "${3:/home/remote_user/project/}", "keyfile": "${4:/home/my_user/.ssh/id_rsa}", "user": "${5:remote_user}" - } + }, + "valuesFormatting": "parseText" } }, { @@ -723,7 +732,8 @@ "forwardX11": true, "x11host": "localhost", "x11port": 6000 - } + }, + "valuesFormatting": "parseText" } } ] @@ -882,7 +892,8 @@ "request": "launch", "name": "${2:Launch Program}", "target": "${1:./bin/executable}", - "cwd": "^\"\\${workspaceRoot}\"" + "cwd": "^\"\\${workspaceRoot}\"", + "valuesFormatting": "parseText" } }, { @@ -893,7 +904,8 @@ "request": "attach", "name": "${2:Attach to PID}", "target": "${1:[PID]}", - "cwd": "^\"\\${workspaceRoot}\"" + "cwd": "^\"\\${workspaceRoot}\"", + "valuesFormatting": "parseText" } } ] @@ -917,4 +929,4 @@ "@types/node": "^7.0.5", "@types/mocha": "^2.2.39" } -} \ No newline at end of file +} From 67e0afac89cd3db1db4c167898613ba03975edc7 Mon Sep 17 00:00:00 2001 From: yanpas Date: Thu, 5 Jul 2018 12:53:28 +0300 Subject: [PATCH 2/2] initialConfigurations valuesFormatting --- package.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ec870c1..3a6db75 100644 --- a/package.json +++ b/package.json @@ -334,7 +334,8 @@ "type": "gdb", "request": "launch", "target": "./bin/executable", - "cwd": "${workspaceRoot}" + "cwd": "${workspaceRoot}", + "valuesFormatting": "parseText" } ], "configurationSnippets": [ @@ -669,7 +670,8 @@ "type": "lldb-mi", "request": "launch", "target": "./bin/executable", - "cwd": "${workspaceRoot}" + "cwd": "${workspaceRoot}", + "valuesFormatting": "parseText" } ], "configurationSnippets": [ @@ -880,7 +882,8 @@ "type": "mago-mi", "request": "launch", "target": "./bin/executable", - "cwd": "${workspaceRoot}" + "cwd": "${workspaceRoot}", + "valuesFormatting": "parseText" } ], "configurationSnippets": [