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