Skip to content

Commit 190dc49

Browse files
authored
Merge pull request #6738 from dibarbet/merge_main
Merge main into release
2 parents ee6980f + 7a9ccc4 commit 190dc49

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
# This is a generated file from vscode-l10n tool, and it always uses 'lf' and line ending. Set it to 'lf' so we don't get warning every time when localization file get changed.
22
l10n/bundle.l10n.json text eol=lf
3+
4+
# This is a Unix shell script, so it always use the 'lf' line ends
5+
scripts/remoteProcessPickerScript text eol=lf

package.nls.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,16 +188,16 @@
188188
"Markdown text between `` should not be translated or localized (they represent literal text) and the capitalization, spacing, and punctuation (including the ``) should not be altered."
189189
]
190190
},
191-
"generateOptionsSchema.console.markdownDescription": "When launching console projects, indicates which console the target program should be launched into.",
191+
"generateOptionsSchema.console.markdownDescription": "Indicates which console the target program should be launched into. See https://aka.ms/VSCode-CS-LaunchJson-Console for more information.",
192192
"generateOptionsSchema.console.settingsDescription": {
193-
"message": "**Note:** _This option is only used for the `dotnet` debug configuration type_.\n\nWhen launching console projects, indicates which console the target program should be launched into.",
193+
"message": "**Note:** _This option is only used for console projects launched with the `dotnet` debug configuration type_.\n\nIndicates which console the target program should be launched into. See https://aka.ms/VSCode-CS-LaunchJson-Console for more information.",
194194
"comment": [
195195
"Markdown text between `` should not be translated or localized (they represent literal text) and the capitalization, spacing, and punctuation (including the ``) should not be altered."
196196
]
197197
},
198-
"generateOptionsSchema.console.internalConsole.enumDescription": "Output to the VS Code Debug Console. This doesn't support reading console input (ex:Console.ReadLine).",
199-
"generateOptionsSchema.console.integratedTerminal.enumDescription": "VS Code's integrated terminal.",
200-
"generateOptionsSchema.console.externalTerminal.enumDescription": "External terminal that can be configured via user settings.",
198+
"generateOptionsSchema.console.internalConsole.enumDescription": "The target process's console input (stdin) and output (stdout/stderr) are routed through the VS Code Debug Console.",
199+
"generateOptionsSchema.console.integratedTerminal.enumDescription": "The target process will run inside VS Code's integrated terminal.",
200+
"generateOptionsSchema.console.externalTerminal.enumDescription": "The target process will run inside its own external terminal. When using this mode, you will need to switch focus between Visual Studio Code and the external terminal window.",
201201
"generateOptionsSchema.externalConsole.markdownDescription": {
202202
"message": "Attribute `externalConsole` is deprecated, use `console` instead. This option defaults to `false`.",
203203
"comment": [

src/lsptoolshost/roslynLanguageServer.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ export async function activateRoslynLanguageServer(
902902
return languageServer;
903903

904904
function scanExtensionPlugins(): string[] {
905-
return vscode.extensions.all.flatMap((extension) => {
905+
const extensionsFromPackageJson = vscode.extensions.all.flatMap((extension) => {
906906
let loadPaths = extension.packageJSON.contributes?.['csharpExtensionLoadPaths'];
907907
if (loadPaths === undefined || loadPaths === null) {
908908
_traceChannel.appendLine(`Extension ${extension.id} does not contribute csharpExtensionLoadPaths`);
@@ -920,6 +920,8 @@ export async function activateRoslynLanguageServer(
920920
_traceChannel.appendLine(`Extension ${extension.id} contributes csharpExtensionLoadPaths: ${loadPaths}`);
921921
return loadPaths;
922922
});
923+
const extensionsFromOptions = languageServerOptions.extensionsPaths ?? [];
924+
return extensionsFromPackageJson.concat(extensionsFromOptions);
923925
}
924926
}
925927

src/tools/OptionsSchema.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,12 +371,12 @@
371371
"type": "string",
372372
"enum": [ "internalConsole", "integratedTerminal", "externalTerminal" ],
373373
"enumDescriptions": [
374-
"Output to the VS Code Debug Console. This doesn't support reading console input (ex:Console.ReadLine).",
375-
"VS Code's integrated terminal.",
376-
"External terminal that can be configured via user settings."
374+
"The target process's console input (stdin) and output (stdout/stderr) are routed through the VS Code Debug Console.",
375+
"The target process will run inside VS Code's integrated terminal.",
376+
"The target process will run inside its own external terminal. When using this mode, you will need to switch focus between Visual Studio Code and the external terminal window."
377377
],
378-
"markdownDescription": "When launching console projects, indicates which console the target program should be launched into.",
379-
"settingsDescription": "**Note:** _This option is only used for the `dotnet` debug configuration type_.\n\nWhen launching console projects, indicates which console the target program should be launched into.",
378+
"markdownDescription": "Indicates which console the target program should be launched into. See https://aka.ms/VSCode-CS-LaunchJson-Console for more information.",
379+
"settingsDescription": "**Note:** _This option is only used for console projects launched with the `dotnet` debug configuration type_.\n\nIndicates which console the target program should be launched into. See https://aka.ms/VSCode-CS-LaunchJson-Console for more information.",
380380
"default": "internalConsole"
381381
},
382382
"externalConsole": {

test/artifactTests/vsix.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe('Vscode VSIX', () => {
1818
vsixFiles.forEach((element) => {
1919
// We're packaging the platform specific Roslyn server with ready to run in the vsix, so the size should be roughly ~50MB
2020
// We also publish the Razor server, which is roughly ~75MB
21-
const sizeInMB = 220;
21+
const sizeInMB = 230;
2222
const maximumVsixSizeInBytes = sizeInMB * 1024 * 1024;
2323

2424
describe(`Given ${element}`, () => {

version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "2.13",
3+
"version": "2.14",
44
"publicReleaseRefSpec": [
55
"^refs/heads/release$",
66
"^refs/heads/main$",

0 commit comments

Comments
 (0)