mirror of https://github.com/ARMmbed/mbed-os.git
Vscode export: replace obsolete ${workspaceRoot}
Replace with ${workspaceFolder}pull/9649/head
parent
4b1789de22
commit
e85bbdd767
|
@ -59,16 +59,16 @@ class VSCode(Makefile):
|
|||
continue
|
||||
|
||||
if directory == ".":
|
||||
all_directories.append("${workspaceRoot}/*")
|
||||
all_directories.append("${workspaceFolder}/*")
|
||||
else:
|
||||
all_directories.append(directory.replace("./", "${workspaceRoot}/") + "/*")
|
||||
all_directories.append(directory.replace("./", "${workspaceFolder}/") + "/*")
|
||||
|
||||
cpp_props = {
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Windows",
|
||||
"forcedInclude": [
|
||||
"${workspaceRoot}/mbed_config.h"
|
||||
"${workspaceFolder}/mbed_config.h"
|
||||
],
|
||||
"compilerPath": self.toolchain.cppc[0],
|
||||
"intelliSenseMode": "gcc-x64",
|
||||
|
@ -78,7 +78,7 @@ class VSCode(Makefile):
|
|||
{
|
||||
"name": "Mac",
|
||||
"forcedInclude": [
|
||||
"${workspaceRoot}/mbed_config.h"
|
||||
"${workspaceFolder}/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"
|
||||
"${workspaceFolder}/mbed_config.h"
|
||||
],
|
||||
"compilerPath": self.toolchain.cppc[0],
|
||||
"includePath": all_directories,
|
||||
|
|
Loading…
Reference in New Issue