Skip to content

Commit 989ca62

Browse files
authored
Switch to new properties for walkthrough in package.json (#7606)
1 parent 13968a9 commit 989ca62

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

Extension/package.json

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
"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)",
6464
"when": "workspacePlatform == mac",
6565
"media": {
66-
"altText": "A markdown file with instructions for installing Clang on macOS.",
67-
"path": "walkthrough/installcompiler/install-clang-macos.md"
66+
"markdown": "walkthrough/installcompiler/install-clang-macos.md"
6867
}
6968
},
7069
{
@@ -73,8 +72,7 @@
7372
"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)",
7473
"when": "workspacePlatform == linux",
7574
"media": {
76-
"altText": "A markdown file with instructions for installing GCC on Linux.",
77-
"path": "walkthrough/installcompiler/install-gcc-linux.md"
75+
"markdown": "walkthrough/installcompiler/install-gcc-linux.md"
7876
}
7977
},
8078
{
@@ -83,8 +81,7 @@
8381
"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)",
8482
"when": "workspacePlatform == windows",
8583
"media": {
86-
"altText": "A markdown file with instructions for installing MSVC on Windows.",
87-
"path": "walkthrough/installcompiler/install-compiler-windows.md"
84+
"markdown": "walkthrough/installcompiler/install-compiler-windows.md"
8885
}
8986
},
9087
{
@@ -94,7 +91,7 @@
9491
"when": "workspaceFolderCount == 0",
9592
"media": {
9693
"altText": "A screenshot that shows a C++ project opened in the file Explorer.",
97-
"path": {
94+
"image": {
9895
"light": "walkthrough/images/cpp-folder-explorer-light.png",
9996
"dark": "walkthrough/images/cpp-folder-explorer-dark.png",
10097
"hc": "walkthrough/images/cpp-folder-explorer-hc.png"
@@ -107,7 +104,7 @@
107104
"description": "Verify important IntelliSense settings like Compiler Path, Compiler Args, IntelliSense Mode, and Include Path. \n[Open IntelliSense Configuration](command:C_Cpp.ConfigurationEditUI?-2)",
108105
"media": {
109106
"altText": "A screenshot that shows the IntelliSense Configurations UI with important settings highlighted.",
110-
"path": {
107+
"image": {
111108
"light": "walkthrough/images/intellisense-config-light.png",
112109
"dark": "walkthrough/images/intellisense-config-dark.png",
113110
"hc": "walkthrough/images/intellisense-config-hc.png"
@@ -120,8 +117,7 @@
120117
"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)",
121118
"when": "workspacePlatform == mac",
122119
"media": {
123-
"altText": "A markdown file with instructions for starting a debugging session on macOS.",
124-
"path": "walkthrough/debugconfig/run-and-debug-project-mac.md"
120+
"markdown": "walkthrough/debugconfig/run-and-debug-project-mac.md"
125121
}
126122
},
127123
{
@@ -130,8 +126,7 @@
130126
"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)",
131127
"when": "workspacePlatform == linux",
132128
"media": {
133-
"altText": "A markdown file with instructions for starting a debugging session on Linux.",
134-
"path": "walkthrough/debugconfig/run-and-debug-project-linux.md"
129+
"markdown": "walkthrough/debugconfig/run-and-debug-project-linux.md"
135130
}
136131
},
137132
{
@@ -140,8 +135,7 @@
140135
"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)",
141136
"when": "workspacePlatform == windows",
142137
"media": {
143-
"altText": "A markdown file with instructions for starting a debugging session on Windows.",
144-
"path": "walkthrough/debugconfig/run-and-debug-project-windows.md"
138+
"markdown": "walkthrough/debugconfig/run-and-debug-project-windows.md"
145139
}
146140
},
147141
{
@@ -153,7 +147,7 @@
153147
],
154148
"media": {
155149
"altText": "A screenshot of the CMake Tools extension page in the Marketplace.",
156-
"path": {
150+
"image": {
157151
"light": "walkthrough/images/cmake-tools-light.png",
158152
"dark": "walkthrough/images/cmake-tools-dark.png",
159153
"hc": "walkthrough/images/cmake-tools-hc.png"
@@ -165,8 +159,7 @@
165159
"title": "Lean back and get started",
166160
"description": "Watch this series of short and practical videos about setting up C++ IntelliSense and building and debugging C++ projects. \n[Watch Tutorials](https://code.visualstudio.com/docs/cpp/introvideos-cpp)",
167161
"media": {
168-
"altText": "A screenshot with a preview of the video tutorial and a play button.",
169-
"path": "walkthrough/images/getting-started-video.png"
162+
"markdown": "walkthrough/images/getting-started-video.png"
170163
}
171164
}
172165
]

0 commit comments

Comments
 (0)