Skip to content

Commit c2a1a88

Browse files
authored
Fix the walkthrough for remote targets. (#7582)
* Fix the walkthrough for remote targets.
1 parent 3150de0 commit c2a1a88

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Extension/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"id": "verify.compiler.mac",
6060
"title": "Install a C++ compiler",
6161
"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",
6363
"media": {
6464
"altText": "A markdown file with instructions for installing Clang on macOS.",
6565
"path": "walkthrough/installcompiler/install-clang-macos.md"
@@ -69,7 +69,7 @@
6969
"id": "verify.compiler.linux",
7070
"title": "Install a C++ compiler",
7171
"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",
7373
"media": {
7474
"altText": "A markdown file with instructions for installing GCC on Linux.",
7575
"path": "walkthrough/installcompiler/install-gcc-linux.md"
@@ -79,7 +79,7 @@
7979
"id": "verify.compiler.windows",
8080
"title": "Install a C++ compiler",
8181
"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",
8383
"media": {
8484
"altText": "A markdown file with instructions for installing MSVC on Windows.",
8585
"path": "walkthrough/installcompiler/install-compiler-windows.md"
@@ -116,7 +116,7 @@
116116
"id": "run.project.mac",
117117
"title": "Run and debug your C++ file",
118118
"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",
120120
"media": {
121121
"altText": "A markdown file with instructions for starting a debugging session on macOS.",
122122
"path": "walkthrough/debugconfig/run-and-debug-project-mac.md"
@@ -126,7 +126,7 @@
126126
"id": "run.project.linux",
127127
"title": "Run and debug your C++ file",
128128
"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",
130130
"media": {
131131
"altText": "A markdown file with instructions for starting a debugging session on Linux.",
132132
"path": "walkthrough/debugconfig/run-and-debug-project-linux.md"
@@ -136,7 +136,7 @@
136136
"id": "run.project.windows",
137137
"title": "Run and debug your C++ file",
138138
"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",
140140
"media": {
141141
"altText": "A markdown file with instructions for starting a debugging session on Windows.",
142142
"path": "walkthrough/debugconfig/run-and-debug-project-windows.md"

0 commit comments

Comments
 (0)