Vscode export: remove path separator conversion

VSCode handle "/" and it is easier to read.
pull/9649/head
Nicolas Graziano 2019-02-11 14:45:34 +01:00
parent e682807bf5
commit 4b1789de22
1 changed files with 4 additions and 4 deletions

View File

@ -68,17 +68,17 @@ class VSCode(Makefile):
{
"name": "Windows",
"forcedInclude": [
"${workspaceRoot}\\mbed_config.h"
"${workspaceRoot}/mbed_config.h"
],
"compilerPath": self.toolchain.cppc[0],
"intelliSenseMode": "gcc-x64",
"includePath": [x.replace("/", "\\") for x in all_directories],
"includePath": all_directories,
"defines": [symbol for symbol in self.toolchain.get_symbols()]
},
{
"name": "Mac",
"forcedInclude": [
"${workspaceRoot}\\mbed_config.h"
"${workspaceRoot}/mbed_config.h"
],
"compilerPath": self.toolchain.cppc[0],
"includePath": all_directories,
@ -87,7 +87,7 @@ class VSCode(Makefile):
{
"name": "Linux",
"forcedInclude": [
"${workspaceRoot}\\mbed_config.h"
"${workspaceRoot}/mbed_config.h"
],
"compilerPath": self.toolchain.cppc[0],
"includePath": all_directories,