|
59 | 59 | "id": "verify.compiler.mac",
|
60 | 60 | "title": "Install a C++ compiler",
|
61 | 61 | "description": "The C++ extension uses the C++ compiler on your system to configure IntelliSense for your project. \n[Check for C++ compilers](command:C_Cpp.CheckForCompiler)",
|
62 |
| - "when": "isMac", |
| 62 | + "when": "workspacePlatform == mac", |
63 | 63 | "media": {
|
64 | 64 | "altText": "A markdown file with instructions for installing Clang on macOS.",
|
65 | 65 | "path": "walkthrough/installcompiler/install-clang-macos.md"
|
|
69 | 69 | "id": "verify.compiler.linux",
|
70 | 70 | "title": "Install a C++ compiler",
|
71 | 71 | "description": "The C++ extension uses the C++ compiler on your system to configure IntelliSense for your project. \n[Check for C++ compilers](command:C_Cpp.CheckForCompiler)",
|
72 |
| - "when": "isLinux", |
| 72 | + "when": "workspacePlatform == linux", |
73 | 73 | "media": {
|
74 | 74 | "altText": "A markdown file with instructions for installing GCC on Linux.",
|
75 | 75 | "path": "walkthrough/installcompiler/install-gcc-linux.md"
|
|
79 | 79 | "id": "verify.compiler.windows",
|
80 | 80 | "title": "Install a C++ compiler",
|
81 | 81 | "description": "The C++ extension uses the C++ compiler on your system to configure IntelliSense for your project. \n[Check for C++ compilers](command:C_Cpp.CheckForCompiler)",
|
82 |
| - "when": "isWindows", |
| 82 | + "when": "workspacePlatform == windows", |
83 | 83 | "media": {
|
84 | 84 | "altText": "A markdown file with instructions for installing MSVC on Windows.",
|
85 | 85 | "path": "walkthrough/installcompiler/install-compiler-windows.md"
|
|
116 | 116 | "id": "run.project.mac",
|
117 | 117 | "title": "Run and debug your C++ file",
|
118 | 118 | "description": "Create a default build task and debug configuration for your project. \n[Learn more](https://code.visualstudio.com/docs/cpp/config-clang-mac#_debug-helloworldcpp)",
|
119 |
| - "when": "isMac", |
| 119 | + "when": "workspacePlatform == mac", |
120 | 120 | "media": {
|
121 | 121 | "altText": "A markdown file with instructions for starting a debugging session on macOS.",
|
122 | 122 | "path": "walkthrough/debugconfig/run-and-debug-project-mac.md"
|
|
126 | 126 | "id": "run.project.linux",
|
127 | 127 | "title": "Run and debug your C++ file",
|
128 | 128 | "description": "Create a default build task and debug configuration for your project. \n[Learn more](https://code.visualstudio.com/docs/cpp/config-linux#_debug-helloworldcpp)",
|
129 |
| - "when": "isLinux", |
| 129 | + "when": "workspacePlatform == linux", |
130 | 130 | "media": {
|
131 | 131 | "altText": "A markdown file with instructions for starting a debugging session on Linux.",
|
132 | 132 | "path": "walkthrough/debugconfig/run-and-debug-project-linux.md"
|
|
136 | 136 | "id": "run.project.windows",
|
137 | 137 | "title": "Run and debug your C++ file",
|
138 | 138 | "description": "Create a default build task and debug configuration for your project. \n[Learn more](https://code.visualstudio.com/docs/cpp/config-msvc#_debug-helloworldcpp)",
|
139 |
| - "when": "isWindows", |
| 139 | + "when": "workspacePlatform == windows", |
140 | 140 | "media": {
|
141 | 141 | "altText": "A markdown file with instructions for starting a debugging session on Windows.",
|
142 | 142 | "path": "walkthrough/debugconfig/run-and-debug-project-windows.md"
|
|
0 commit comments