Skip to content

Commit ec49779

Browse files
authored
Add sender to walkthrough commands (#10809)
1 parent 71684e0 commit ec49779

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Extension/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3006,6 +3006,11 @@
30063006
"title": "%c_cpp.command.selectDefaultCompiler.title%",
30073007
"category": "C/C++"
30083008
},
3009+
{
3010+
"command": "C_Cpp.RescanCompilers",
3011+
"title": "%c_cpp.command.rescanCompilers.title%",
3012+
"category": "C/C++"
3013+
},
30093014
{
30103015
"command": "C_Cpp.SwitchHeaderSource",
30113016
"title": "%c_cpp.command.switchHeaderSource.title%",
@@ -5496,6 +5501,10 @@
54965501
"command": "C_Cpp.referencesViewUngroupByType",
54975502
"when": "cpptools.hasReferencesResults"
54985503
},
5504+
{
5505+
"command": "C_Cpp.RescanCompilers",
5506+
"when": "never"
5507+
},
54995508
{
55005509
"command": "C_Cpp.addSshTarget",
55015510
"when": "never"

Extension/package.nls.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"c_cpp.command.configurationEditJSON.title": "Edit Configurations (JSON)",
1313
"c_cpp.command.configurationEditUI.title": "Edit Configurations (UI)",
1414
"c_cpp.command.selectDefaultCompiler.title": "Select Default Compiler",
15+
"c_cpp.command.rescanCompilers.title": "Rescan for Compilers",
1516
"c_cpp.command.switchHeaderSource.title": "Switch Header/Source",
1617
"c_cpp.command.enableErrorSquiggles.title": "Enable Error Squiggles",
1718
"c_cpp.command.disableErrorSquiggles.title": "Disable Error Squiggles",
@@ -405,8 +406,8 @@
405406
"c_cpp.walkthrough.description": "Dive into VS Code's rich C++ development experience.",
406407
"c_cpp.walkthrough.set.up.title": "Set up your C++ Environment",
407408
"c_cpp.walkthrough.activating.description": "Activating the C++ extension to determine whether your C++ Environment has been set up.\nActivating Extension...",
408-
"c_cpp.walkthrough.no.compilers.description": "We could not find a C++ compiler on your machine, which is required to use the C++ extension. Follow the instructions on the right to install one, then click “Find my new Compiler” below.\n[Find my new Compiler](command:C_Cpp.RescanCompilers)",
409-
"c_cpp.walkthrough.compilers.found.description": "The C++ extension works with a C++ compiler. Select one from those already on your machine by clicking the button below.\n[Select my Default Compiler](command:C_Cpp.SelectDefaultCompiler)",
409+
"c_cpp.walkthrough.no.compilers.description": "We could not find a C++ compiler on your machine, which is required to use the C++ extension. Follow the instructions on the right to install one, then click “Find my new Compiler” below.\n[Find my new Compiler](command:C_Cpp.RescanCompilers?%7B%22sender%22%3A%22walkthrough%22%7D)",
410+
"c_cpp.walkthrough.compilers.found.description": "The C++ extension works with a C++ compiler. Select one from those already on your machine by clicking the button below.\n[Select my Default Compiler](command:C_Cpp.SelectDefaultCompiler?%7B%22sender%22%3A%22walkthrough%22%7D)",
410411
"c_cpp.walkthrough.compilers.found.altText": "Image showing the select a default compiler quickpick and the list of compilers found on the users machine, one of which is selected.",
411412
"c_cpp.walkthrough.create.cpp.file.title": "Create a C++ file",
412413
"c_cpp.walkthrough.create.cpp.file.description": "[Open](command:toSide:workbench.action.files.openFile) or [create](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D) a C++ file. Be sure to save it with the \".cpp\" extension, such as \"helloworld.cpp\". \n[Create a C++ File](command:toSide:workbench.action.files.newUntitledFile?%7B%22languageId%22%3A%22cpp%22%7D)",

0 commit comments

Comments
 (0)