Skip to content

Commit a79eef9

Browse files
committed
fix environment overriding and some string capitalization
1 parent b68f025 commit a79eef9

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

Extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6660,7 +6660,7 @@
66606660
"node-fetch": "^2.7.0",
66616661
"node-loader": "^2.0.0",
66626662
"node-stream-zip": "^1.15.0",
6663-
"node-vcvarsall": "^1.0.1",
6663+
"node-vcvarsall": "^1.1.0",
66646664
"node-vswhere": "^1.0.2",
66656665
"plist": "^3.1.0",
66666666
"posix-getopt": "^1.2.1",

Extension/package.nls.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,9 +1006,9 @@
10061006
"c_cpp.debuggers.logging.category.warning.description": "Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop.",
10071007
"c_cpp.debuggers.logging.category.error.description": "Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a failure in the current activity, not an application-wide failure.",
10081008
"c_cpp.debuggers.logging.category.none.description": "Not used for writing log messages. Specifies that a logging category should not write any messages.",
1009-
"c_cpp.walkthrough.title": "Get Started with C++ Development",
1009+
"c_cpp.walkthrough.title": "Get started with C++ development",
10101010
"c_cpp.walkthrough.description": "Dive into VS Code's rich C++ development experience.",
1011-
"c_cpp.walkthrough.set.up.title": "Set up your C++ Environment",
1011+
"c_cpp.walkthrough.set.up.title": "Set up your C++ environment",
10121012
"c_cpp.walkthrough.activating.description": "Activating the C++ extension to determine whether your C++ Environment has been set up.\nActivating Extension...",
10131013
"c_cpp.walkthrough.no.compilers.windows.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?%22walkthrough%22)",
10141014
"c_cpp.walkthrough.no.compilers.description": {
@@ -1028,7 +1028,7 @@
10281028
},
10291029
"c_cpp.walkthrough.create.cpp.file.altText": "Open a C++ file or a folder with a C++ project.",
10301030
"c_cpp.walkthrough.command.prompt.title": {
1031-
"message": "Apply the Visual Studio Developer Environment",
1031+
"message": "Apply the Visual Studio developer environment",
10321032
"comment": [
10331033
"{Locked=\"Visual Studio\"}"
10341034
]

Extension/src/LanguageServer/devcmd.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const errorNotWindows = localize('not.windows', 'The "Set Visual Studio Develope
2020
const errorNoVSFound = localize('error.no.vs', 'A Visual Studio installation with the C++ compiler was not found');
2121
export const errorOperationCancelled = localize('operation.cancelled', 'The operation was cancelled');
2222
const errorNoHostsFound = localize('no.hosts', 'No hosts found');
23-
const configuringDevEnv = localize('config.dev.env', 'Configuring Developer Environment...');
23+
const configuringDevEnv = localize('config.dev.env', 'Configuring developer environment...');
2424
const selectVSInstallation = localize('select.vs.install', 'Select a Visual Studio installation');
2525
const advancedOptions = localize('advanced.options', 'Advanced options...');
2626
const advancedOptionsDescription = localize('advanced.options.desc', 'Select a specific host/target architecture, toolset version, etc.');
@@ -74,7 +74,7 @@ export async function setEnvironment(context?: vscode.ExtensionContext) {
7474
for (const key of Object.keys(vars)) {
7575
context.environmentVariableCollection.replace(key, vars[key].replace(`%${key}%`, '${env:' + key + '}'));
7676
}
77-
context.environmentVariableCollection.description = localize('dev.env.for', '{0} Developer Environment for {1}', arch, vsDisplayNameWithSuffix(vs));
77+
context.environmentVariableCollection.description = localize('dev.env.for', '{0} developer environment for {1}', arch, vsDisplayNameWithSuffix(vs));
7878
context.environmentVariableCollection.persistent = settings.persistDevEnvironment;
7979

8080
return true;

Extension/walkthrough/devcommandprompt/open-developer-command-prompt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 data-loc-id="walkthrough.windows.title.apply.dev.env">Apply the Visual Studio Developer Environment</h1>
1+
<h1 data-loc-id="walkthrough.windows.title.apply.dev.env">Apply the Visual Studio developer environment</h1>
22
<p data-loc-id="walkthrough.windows.dev.env.required" >The Visual Studio C++ compiler requires several environment variables to be set in order to successfully compile your code. If you are using a Windows machine with the Visual Studio C++ compiler, there are two ways you can ensure the environment is applied. You only need to do one of the following:</p>
33
<ul>
44
<li><p data-loc-id="walkthrough.windows.start.from.dev.command">Start VS Code from the <span>Developer Command Prompt for VS</span></p>

Extension/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3558,10 +3558,10 @@ node-stream-zip@^1.15.0:
35583558
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/node-stream-zip/-/node-stream-zip-1.15.0.tgz#158adb88ed8004c6c49a396b50a6a5de3bca33ea"
35593559
integrity sha1-FYrbiO2ABMbEmjlrUKal3jvKM+o=
35603560

3561-
node-vcvarsall@^1.0.1:
3562-
version "1.0.1"
3563-
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/node-vcvarsall/-/node-vcvarsall-1.0.1.tgz#d7ee885e4ca41f0f0d814e3a277995cc95ff20b0"
3564-
integrity sha1-1+6IXkykHw8NgU46J3mVzJX/ILA=
3561+
node-vcvarsall@^1.1.0:
3562+
version "1.1.0"
3563+
resolved "https://pkgs.dev.azure.com/azure-public/VisualCpp/_packaging/cpp_PublicPackages/npm/registry/node-vcvarsall/-/node-vcvarsall-1.1.0.tgz#4e0b3959f0d5bc6114c8c61e20ac0caab9dcbecf"
3564+
integrity sha1-Tgs5WfDVvGEUyMYeIKwMqrncvs8=
35653565
dependencies:
35663566
node-vswhere "^1.0.2"
35673567
tmp "^0.2.1"

0 commit comments

Comments
 (0)