From 3ce62fbafef10f5e999134a73673a9573a272a17 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 20 Apr 2018 14:00:40 +0300 Subject: [PATCH] Escape compiler path for Win --- platformio/ide/tpls/vscode/.vscode/c_cpp_properties.json.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/ide/tpls/vscode/.vscode/c_cpp_properties.json.tpl b/platformio/ide/tpls/vscode/.vscode/c_cpp_properties.json.tpl index d6a207bf..e5868d7c 100644 --- a/platformio/ide/tpls/vscode/.vscode/c_cpp_properties.json.tpl +++ b/platformio/ide/tpls/vscode/.vscode/c_cpp_properties.json.tpl @@ -53,7 +53,7 @@ % if STD_RE.search(cxx_flags): "cppStandard": "c++{{ STD_RE.search(cxx_flags).group(1) }}", % end - "compilerPath": "{{ cc_path }}" + "compilerPath": "{{ cc_path.replace('\\\\', '/').replace('\\', '/').replace('"', '\\"') }}" } ] } \ No newline at end of file