From 075c94a0e2671c2a66b53318cac461878176c1f4 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Wed, 10 Apr 2024 18:04:58 -0700 Subject: [PATCH 01/35] Refactor and add tasks to acquire xaml dependencies --- package.json | 3 +- tasks/offlinePackagingTasks.ts | 163 +++++++++++++++++---------------- tasks/projectPaths.ts | 1 + 3 files changed, 87 insertions(+), 80 deletions(-) diff --git a/package.json b/package.json index 7f3647ed6..b419d2947 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,8 @@ "omniSharp": "1.39.11", "razor": "7.0.0-preview.24178.4", "razorOmnisharp": "7.0.0-preview.23363.1", - "razorTelemetry": "7.0.0-preview.24178.4" + "razorTelemetry": "7.0.0-preview.24178.4", + "xamlDesignTools": "17.11.34810.23" }, "main": "./dist/extension", "l10n": "./l10n", diff --git a/tasks/offlinePackagingTasks.ts b/tasks/offlinePackagingTasks.ts index 3b38554d7..e9684ccce 100644 --- a/tasks/offlinePackagingTasks.ts +++ b/tasks/offlinePackagingTasks.ts @@ -24,6 +24,7 @@ import { nugetTempPath, rootPath, devKitDependenciesDirectory, + xamlDesignToolsDirectory, } from '../tasks/projectPaths'; import { getPackageJSON } from '../tasks/packageJson'; import { createPackageAsync } from '../tasks/vsceTasks'; @@ -56,6 +57,35 @@ export const platformSpecificPackages: VSIXPlatformInfo[] = [ { vsceTarget: 'darwin-arm64', rid: 'osx-arm64', platformInfo: new PlatformInformation('darwin', 'arm64') }, ]; +interface NugetPackageInfo { + getPackageName: (platformInfo: VSIXPlatformInfo | undefined) => string; + packageJsonName: string; + getPackageContentPath: (platformInfo: VSIXPlatformInfo | undefined) => string; + vsixOutputPath: string; +} + +// Set of NuGet packages that we need to download and install. +export const nugetPackageInfo: { [key: string]: NugetPackageInfo } = { + roslyn: { + getPackageName: (platformInfo) => `Microsoft.CodeAnalysis.LanguageServer.${platformInfo?.rid ?? 'neutral'}`, + packageJsonName: 'roslyn', + getPackageContentPath: (platformInfo) => path.join('content', 'LanguageServer', platformInfo?.rid ?? 'neutral'), + vsixOutputPath: languageServerDirectory, + }, + roslynDevKit: { + getPackageName: (_platformInfo) => 'Microsoft.VisualStudio.LanguageServices.DevKit', + packageJsonName: 'roslyn', + getPackageContentPath: (_platformInfo) => 'content', + vsixOutputPath: devKitDependenciesDirectory, + }, + xamlDesignTools: { + getPackageName: (_platformInfo) => 'Microsoft.VisualStudio.DesignToolsBase', + packageJsonName: 'xamlDesignTools', + getPackageContentPath: (_platformInfo) => '', + vsixOutputPath: xamlDesignToolsDirectory, + }, +}; + const vsixTasks: string[] = []; for (const p of platformSpecificPackages) { let platformName: string; @@ -100,11 +130,12 @@ gulp.task('installDependencies', async () => { const packageJSON = getPackageJSON(); const platform = await PlatformInformation.GetCurrent(); + const vsixPlatformInfo = platformSpecificPackages.find( + (p) => p.platformInfo.platform === platform.platform && p.platformInfo.architecture === platform.architecture + )!; try { - await installRoslyn(packageJSON, platform); - await installDebugger(packageJSON, platform); - await installRazor(packageJSON, platform); + acquireAndInstallAllNugetPackages(vsixPlatformInfo, packageJSON, true); } catch (err) { const message = (err instanceof Error ? err.stack : err) ?? ''; // NOTE: Extra `\n---` at the end is because gulp will print this message following by the @@ -113,6 +144,10 @@ gulp.task('installDependencies', async () => { } }); +// Defines a special task to acquire all the platform specific Roslyn packages. +// All packages need to be saved to the consumption AzDo artifacts feed, for non-platform +// specific packages this only requires running the installDependencies tasks. However for Roslyn packages +// we need to acquire the nuget packages once for each platform to ensure they get saved to the feed. gulp.task( 'updateRoslynVersion', // Run the fetch of all packages, and then also installDependencies after @@ -120,45 +155,64 @@ gulp.task( const packageJSON = getPackageJSON(); // Fetch the neutral package that we don't otherwise have in our platform list - await acquireRoslyn(packageJSON, undefined, true); + await acquireNugetPackage(nugetPackageInfo.roslyn, undefined, packageJSON, true); // And now fetch each platform specific for (const p of platformSpecificPackages) { - await acquireRoslyn(packageJSON, p.platformInfo, true); + await acquireNugetPackage(nugetPackageInfo.roslyn, p, packageJSON, true); } // Also pull in the Roslyn DevKit dependencies nuget package. - await acquireRoslynDevKit(packageJSON, true); + await acquireNugetPackage(nugetPackageInfo.RoslynDevKit, undefined, packageJSON, true); }, 'installDependencies') ); -// Install Tasks -async function installRoslyn(packageJSON: any, platformInfo?: PlatformInformation) { - // Install the Roslyn language server bits. - const { packagePath, serverPlatform } = await acquireRoslyn(packageJSON, platformInfo, false); - await installNuGetPackage( - packagePath, - path.join('content', 'LanguageServer', serverPlatform), - languageServerDirectory - ); +async function acquireAndInstallAllNugetPackages( + platformInfo: VSIXPlatformInfo | undefined, + packageJSON: any, + interactive: boolean +) { + for (const key in nugetPackageInfo) { + const nugetPackage = nugetPackageInfo[key]; + const packagePath = await acquireNugetPackage(nugetPackage, platformInfo, packageJSON, interactive); + await installNuGetPackage(packagePath, nugetPackage, platformInfo); + } +} - // Install Roslyn DevKit dependencies. - const roslynDevKitPackagePath = await acquireRoslynDevKit(packageJSON, false); - await installNuGetPackage(roslynDevKitPackagePath, 'content', devKitDependenciesDirectory); +async function acquireNugetPackage( + nugetPackageInfo: NugetPackageInfo, + platformInfo: VSIXPlatformInfo | undefined, + packageJSON: any, + interactive: boolean +) { + const packageVersion = packageJSON.defaults[nugetPackageInfo.packageJsonName]; + const packageName = nugetPackageInfo.getPackageName(platformInfo); + const packagePath = await restoreNugetPackage(packageName, packageVersion, interactive); + return packagePath; } -async function installNuGetPackage(pathToPackage: string, contentPath: string, outputPath: string) { +async function installNuGetPackage( + pathToPackage: string, + nugetPackageInfo: NugetPackageInfo, + platformInfo: VSIXPlatformInfo | undefined +) { // Get the directory containing the content. - const contentDirectory = path.join(pathToPackage, contentPath); + const pathToContentInNugetPackage = nugetPackageInfo.getPackageContentPath(platformInfo); + const contentDirectory = path.join(pathToPackage, pathToContentInNugetPackage); if (!fs.existsSync(contentDirectory)) { - throw new Error(`Failed to find NuGet package content at ${contentDirectory}`); + throw new Error( + `Failed to find NuGet package content at ${contentDirectory} for ${nugetPackageInfo.getPackageName( + platformInfo + )}` + ); } const numFilesToCopy = fs.readdirSync(contentDirectory).length; console.log(`Extracting content from ${contentDirectory}`); - // Copy the files to the language server directory. + // Copy the files to the specified output directory. + const outputPath = nugetPackageInfo.vsixOutputPath; fs.mkdirSync(outputPath); fsextra.copySync(contentDirectory, outputPath); const numCopiedFiles = fs.readdirSync(outputPath).length; @@ -169,43 +223,6 @@ async function installNuGetPackage(pathToPackage: string, contentPath: string, o } } -async function acquireRoslyn( - packageJSON: any, - platformInfo: PlatformInformation | undefined, - interactive: boolean -): Promise<{ packagePath: string; serverPlatform: string }> { - const roslynVersion = packageJSON.defaults.roslyn; - - // Find the matching server RID for the current platform. - let serverPlatform: string; - if (platformInfo === undefined) { - serverPlatform = 'neutral'; - } else { - serverPlatform = platformSpecificPackages.find( - (p) => - p.platformInfo.platform === platformInfo.platform && - p.platformInfo.architecture === platformInfo.architecture - )!.rid; - } - - const packagePath = await acquireNugetPackage( - `Microsoft.CodeAnalysis.LanguageServer.${serverPlatform}`, - roslynVersion, - interactive - ); - return { packagePath, serverPlatform }; -} - -async function acquireRoslynDevKit(packageJSON: any, interactive: boolean): Promise { - const roslynVersion = packageJSON.defaults.roslyn; - const packagePath = await acquireNugetPackage( - `Microsoft.VisualStudio.LanguageServices.DevKit`, - roslynVersion, - interactive - ); - return packagePath; -} - async function installRazor(packageJSON: any, platformInfo: PlatformInformation) { if (platformInfo === undefined) { const platformNeutral = new PlatformInformation('neutral', 'neutral'); @@ -243,7 +260,7 @@ async function installPackageJsonDependency( } } -async function acquireNugetPackage(packageName: string, packageVersion: string, interactive: boolean): Promise { +async function restoreNugetPackage(packageName: string, packageVersion: string, interactive: boolean): Promise { packageName = packageName.toLocaleLowerCase(); const packageOutputPath = path.join(nugetTempPath, packageName, packageVersion); if (fs.existsSync(packageOutputPath)) { @@ -310,13 +327,7 @@ async function doPackageOffline(vsixPlatform: VSIXPlatformInfo | undefined) { if (vsixPlatform === undefined) { await buildVsix(packageJSON, packedVsixOutputRoot, prerelease); } else { - await buildVsix( - packageJSON, - packedVsixOutputRoot, - prerelease, - vsixPlatform.vsceTarget, - vsixPlatform.platformInfo - ); + await buildVsix(packageJSON, packedVsixOutputRoot, prerelease, vsixPlatform); } } catch (err) { const message = (err instanceof Error ? err.stack : err) ?? ''; @@ -340,22 +351,16 @@ async function cleanAsync() { ]); } -async function buildVsix( - packageJSON: any, - outputFolder: string, - prerelease: boolean, - vsceTarget?: string, - platformInfo?: PlatformInformation -) { - await installRoslyn(packageJSON, platformInfo); +async function buildVsix(packageJSON: any, outputFolder: string, prerelease: boolean, platformInfo?: VSIXPlatformInfo) { + await acquireAndInstallAllNugetPackages(platformInfo, packageJSON, false); if (platformInfo != null) { - await installRazor(packageJSON, platformInfo); - await installDebugger(packageJSON, platformInfo); + await installRazor(packageJSON, platformInfo.platformInfo); + await installDebugger(packageJSON, platformInfo.platformInfo); } - const packageFileName = getPackageName(packageJSON, vsceTarget); - await createPackageAsync(outputFolder, prerelease, packageFileName, vsceTarget); + const packageFileName = getPackageName(packageJSON, platformInfo?.vsceTarget); + await createPackageAsync(outputFolder, prerelease, packageFileName, platformInfo?.vsceTarget); } function getPackageName(packageJSON: any, vscodePlatformId?: string) { diff --git a/tasks/projectPaths.ts b/tasks/projectPaths.ts index 8c409ed98..828dac2c4 100644 --- a/tasks/projectPaths.ts +++ b/tasks/projectPaths.ts @@ -16,6 +16,7 @@ export const packedVsixOutputRoot = commandLineOptions.outputFolder || path.join export const nugetTempPath = path.join(rootPath, 'out', '.nuget'); export const languageServerDirectory = path.join(rootPath, '.roslyn'); export const devKitDependenciesDirectory = path.join(rootPath, '.roslynDevKit'); +export const xamlDesignToolsDirectory = path.join(rootPath, '.xamlDesignTools'); export const codeExtensionPath = commandLineOptions.codeExtensionPath || rootPath; From db2e8d412deeb0d94c1a5d20138b354029f89085 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Wed, 10 Apr 2024 18:20:58 -0700 Subject: [PATCH 02/35] Load XAML components as server extension --- .gitignore | 1 + src/lsptoolshost/roslynLanguageServer.ts | 20 ++++++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 917a12b71..263bc16e8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ node_modules out .roslyn/ .roslynDevKit/ +.xamlDesignTools/ .omnisharp/ .omnisharp-*/ .vs/ diff --git a/src/lsptoolshost/roslynLanguageServer.ts b/src/lsptoolshost/roslynLanguageServer.ts index e37e0ff31..0ef158e08 100644 --- a/src/lsptoolshost/roslynLanguageServer.ts +++ b/src/lsptoolshost/roslynLanguageServer.ts @@ -506,10 +506,6 @@ export class RoslynLanguageServer { args.push('--logLevel', logLevel); } - for (const extensionPath of additionalExtensionPaths) { - args.push('--extension', extensionPath); - } - args.push( '--razorSourceGenerator', path.join(context.extension.extensionPath, '.razor', 'Microsoft.CodeAnalysis.Razor.Compiler.dll') @@ -540,7 +536,7 @@ export class RoslynLanguageServer { // Set command enablement as soon as we know devkit is available. vscode.commands.executeCommand('setContext', 'dotnet.server.activationContext', 'RoslynDevKit'); - const csharpDevKitArgs = this.getCSharpDevKitExportArgs(); + const csharpDevKitArgs = this.getCSharpDevKitExportArgs(additionalExtensionPaths); args = args.concat(csharpDevKitArgs); await this.setupDevKitEnvironment(dotnetInfo.env, csharpDevkitExtension); @@ -553,6 +549,10 @@ export class RoslynLanguageServer { _wasActivatedWithCSharpDevkit = false; } + for (const extensionPath of additionalExtensionPaths) { + args.push('--extension', extensionPath); + } + if (logLevel && [Trace.Messages, Trace.Verbose].includes(this.GetTraceLevel(logLevel))) { _channel.appendLine(`Starting server at ${serverPath}`); } @@ -806,7 +806,7 @@ export class RoslynLanguageServer { ); } - private static getCSharpDevKitExportArgs(): string[] { + private static getCSharpDevKitExportArgs(additionalExtensionPaths: string[]): string[] { const args: string[] = []; const clientRoot = __dirname; @@ -819,6 +819,14 @@ export class RoslynLanguageServer { args.push('--devKitDependencyPath', devKitDepsPath); args.push('--sessionId', getSessionId()); + + // Also include the Xaml Dev Kit extensions + const xamlBasePath = path.join(clientRoot, '..', '.xamlDesignTools', 'lib', 'netstandard2.0'); + additionalExtensionPaths.push(path.join(xamlBasePath, 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.dll')); + additionalExtensionPaths.push( + path.join(xamlBasePath, 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.Diagnostics.dll') + ); + return args; } From 3697383b1f9fb01c4cfc46de0d3311125c48dfd8 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Wed, 10 Apr 2024 18:40:03 -0700 Subject: [PATCH 03/35] Fix clean to include all nuget packages --- tasks/offlinePackagingTasks.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/tasks/offlinePackagingTasks.ts b/tasks/offlinePackagingTasks.ts index e9684ccce..e574f4702 100644 --- a/tasks/offlinePackagingTasks.ts +++ b/tasks/offlinePackagingTasks.ts @@ -341,14 +341,12 @@ async function doPackageOffline(vsixPlatform: VSIXPlatformInfo | undefined) { } async function cleanAsync() { - await del([ - 'install.*', - '.omnisharp*', - '.debugger', - '.razor', - languageServerDirectory, - devKitDependenciesDirectory, - ]); + const directoriesToDelete = ['install.*', '.omnisharp*', '.debugger', '.razor']; + for (const key in nugetPackageInfo) { + directoriesToDelete.push(nugetPackageInfo[key].vsixOutputPath); + } + + await del(directoriesToDelete); } async function buildVsix(packageJSON: any, outputFolder: string, prerelease: boolean, platformInfo?: VSIXPlatformInfo) { From 3393e96dee92113f3b43eadab9aef4a64c5ac690 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Fri, 12 Apr 2024 12:25:50 -0700 Subject: [PATCH 04/35] Allow option overrides for components and export function to get component paths from extension --- package.json | 17 ++++++- package.nls.json | 3 ++ src/csharpExtensionExports.ts | 1 + src/lsptoolshost/builtInComponents.ts | 59 ++++++++++++++++++++++++ src/lsptoolshost/roslynLanguageServer.ts | 22 ++++----- src/main.ts | 6 ++- src/shared/options.ts | 4 ++ tasks/projectPaths.ts | 5 +- 8 files changed, 100 insertions(+), 17 deletions(-) create mode 100644 src/lsptoolshost/builtInComponents.ts diff --git a/package.json b/package.json index b419d2947..4a1b3609c 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "razor": "7.0.0-preview.24178.4", "razorOmnisharp": "7.0.0-preview.23363.1", "razorTelemetry": "7.0.0-preview.24178.4", - "xamlDesignTools": "17.11.34810.23" + "xamlDesignTools": "17.11.34811.206" }, "main": "./dist/extension", "l10n": "./l10n", @@ -1622,6 +1622,21 @@ "scope": "machine-overridable", "description": "%configuration.dotnet.server.path%" }, + "dotnet.server.componentPaths": { + "type": "object", + "description": "%configuration.dotnet.server.componentPaths%", + "properties": { + "roslynDevKit": { + "description": "%configuration.dotnet.server.componentPaths.roslynDevKit%", + "type": "string" + }, + "xamlDesignTools": { + "description": "%configuration.dotnet.server.componentPaths.xamlDesignTools%", + "type": "string" + } + }, + "default": {} + }, "dotnet.server.startTimeout": { "type": "number", "scope": "machine-overridable", diff --git a/package.nls.json b/package.nls.json index 9ced594ca..64631920a 100644 --- a/package.nls.json +++ b/package.nls.json @@ -26,6 +26,9 @@ "configuration.dotnet.defaultSolution.description": "The path of the default solution to be opened in the workspace, or set to 'disable' to skip it. (Previously `omnisharp.defaultLaunchSolution`)", "configuration.dotnet.dotnetPath": "Specifies the path to a dotnet installation directory to use instead of the default system one. This only influences the dotnet installation to use for hosting the language server itself. Example: \"/home/username/mycustomdotnetdirectory\".", "configuration.dotnet.server.path": "Specifies the absolute path to the server (LSP or O#) executable. When left empty the version pinned to the C# Extension is used. (Previously `omnisharp.path`)", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlDesignTools": "Overrides the folder path for the .xamlDesignTools component of the language server", "configuration.dotnet.server.startTimeout": "Specifies a timeout (in ms) for the client to successfully start and connect to the language server.", "configuration.dotnet.server.waitForDebugger": "Passes the --debug flag when launching the server to allow a debugger to be attached. (Previously `omnisharp.waitForDebugger`)", "configuration.dotnet.server.trace": "Sets the logging level for the language server", diff --git a/src/csharpExtensionExports.ts b/src/csharpExtensionExports.ts index 35e85b615..a6a717a2f 100644 --- a/src/csharpExtensionExports.ts +++ b/src/csharpExtensionExports.ts @@ -25,6 +25,7 @@ export interface CSharpExtensionExports { profferBrokeredServices: (container: GlobalBrokeredServiceContainer) => void; determineBrowserType: () => Promise; experimental: CSharpExtensionExperimentalExports; + getComponentFolder: (componentName: string) => string; } export interface CSharpExtensionExperimentalExports { diff --git a/src/lsptoolshost/builtInComponents.ts b/src/lsptoolshost/builtInComponents.ts new file mode 100644 index 000000000..db119c699 --- /dev/null +++ b/src/lsptoolshost/builtInComponents.ts @@ -0,0 +1,59 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +import * as fs from 'fs'; +import * as path from 'path'; +import { LanguageServerOptions } from '../shared/options'; + +interface ComponentInfo { + defaultFolderName: string; + optionName: string; + componentDllPaths: string[]; +} + +export const componentInfo: { [key: string]: ComponentInfo } = { + roslynDevKit: { + defaultFolderName: '.roslynDevKit', + optionName: 'roslynDevKit', + componentDllPaths: ['Microsoft.VisualStudio.LanguageServices.DevKit.dll'], + }, + xamlDesignTools: { + defaultFolderName: '.xamlDesignTools', + optionName: 'xamlDesignTools', + componentDllPaths: [ + path.join('lib', 'netstandard2.0', 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.dll'), + path.join('lib', 'netstandard2.0', 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.Diagnostics.dll'), + ], + }, +}; + +export function getComponentPaths(componentName: string, options: LanguageServerOptions): string[] { + const component = componentInfo[componentName]; + const baseFolder = getComponentFolderPath(component, options); + const paths = component.componentDllPaths.map((dllPath) => path.join(baseFolder, dllPath)); + for (const dllPath of paths) { + if (!fs.existsSync(dllPath)) { + throw new Error(`Component DLL not found: ${dllPath}`); + } + } + + return paths; +} + +export function getComponentFolder(componentName: string, options: LanguageServerOptions): string { + const component = componentInfo[componentName]; + return getComponentFolderPath(component, options); +} + +function getComponentFolderPath(component: ComponentInfo, options: LanguageServerOptions): string { + if (options.componentPaths) { + const optionValue = options.componentPaths[component.optionName]; + if (optionValue) { + return optionValue; + } + } + + return path.join(__dirname, '..', component.defaultFolderName); +} diff --git a/src/lsptoolshost/roslynLanguageServer.ts b/src/lsptoolshost/roslynLanguageServer.ts index 0ef158e08..00aba4801 100644 --- a/src/lsptoolshost/roslynLanguageServer.ts +++ b/src/lsptoolshost/roslynLanguageServer.ts @@ -62,6 +62,7 @@ import { IDisposable } from '../disposable'; import { registerNestedCodeActionCommands } from './nestedCodeAction'; import { registerRestoreCommands } from './restore'; import { BuildDiagnosticsService } from './buildDiagnosticsService'; +import { getComponentPaths } from './builtInComponents'; let _channel: vscode.OutputChannel; let _traceChannel: vscode.OutputChannel; @@ -809,24 +810,19 @@ export class RoslynLanguageServer { private static getCSharpDevKitExportArgs(additionalExtensionPaths: string[]): string[] { const args: string[] = []; - const clientRoot = __dirname; - const devKitDepsPath = path.join( - clientRoot, - '..', - '.roslynDevKit', - 'Microsoft.VisualStudio.LanguageServices.DevKit.dll' - ); - args.push('--devKitDependencyPath', devKitDepsPath); + const devKitDepsPath = getComponentPaths('roslynDevKit', languageServerOptions); + if (devKitDepsPath.length > 1) { + throw new Error('Expected only one devkit deps path'); + } + + args.push('--devKitDependencyPath', devKitDepsPath[0]); args.push('--sessionId', getSessionId()); // Also include the Xaml Dev Kit extensions - const xamlBasePath = path.join(clientRoot, '..', '.xamlDesignTools', 'lib', 'netstandard2.0'); - additionalExtensionPaths.push(path.join(xamlBasePath, 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.dll')); - additionalExtensionPaths.push( - path.join(xamlBasePath, 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.Diagnostics.dll') + getComponentPaths('xamlDesignTools', languageServerOptions).forEach((path) => + additionalExtensionPaths.push(path) ); - return args; } diff --git a/src/main.ts b/src/main.ts index a0989a0c7..781ee99a1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -56,9 +56,10 @@ import { RoslynLanguageServerEvents } from './lsptoolshost/languageServerEvents' import { ServerStateChange } from './lsptoolshost/serverStateChange'; import { SolutionSnapshotProvider } from './lsptoolshost/services/solutionSnapshotProvider'; import { RazorTelemetryDownloader } from './razor/razorTelemetryDownloader'; -import { commonOptions, omnisharpOptions, razorOptions } from './shared/options'; +import { commonOptions, languageServerOptions, omnisharpOptions, razorOptions } from './shared/options'; import { BuildResultDiagnostics } from './lsptoolshost/services/buildResultReporterService'; import { debugSessionTracker } from './coreclrDebug/provisionalDebugSessionTracker'; +import { getComponentFolder } from './lsptoolshost/builtInComponents'; export async function activate( context: vscode.ExtensionContext @@ -367,6 +368,9 @@ export async function activate( sendServerRequest: async (t, p, ct) => await languageServerExport.sendRequest(t, p, ct), languageServerEvents: roslynLanguageServerEvents, }, + getComponentFolder: (componentName) => { + return getComponentFolder(componentName, languageServerOptions); + }, }; } else { return { diff --git a/src/shared/options.ts b/src/shared/options.ts index 2fb34f869..26a4476f9 100644 --- a/src/shared/options.ts +++ b/src/shared/options.ts @@ -77,6 +77,7 @@ export interface LanguageServerOptions { readonly crashDumpPath: string | undefined; readonly analyzerDiagnosticScope: string; readonly compilerDiagnosticScope: string; + readonly componentPaths: { [key: string]: string } | null; } export interface RazorOptions { @@ -397,6 +398,9 @@ class LanguageServerOptionsImpl implements LanguageServerOptions { public get compilerDiagnosticScope() { return readOption('dotnet.backgroundAnalysis.compilerDiagnosticsScope', 'openFiles'); } + public get componentPaths() { + return readOption<{ [key: string]: string }>('dotnet.server.componentPaths', {}); + } } class RazorOptionsImpl implements RazorOptions { diff --git a/tasks/projectPaths.ts b/tasks/projectPaths.ts index 828dac2c4..3372c03fd 100644 --- a/tasks/projectPaths.ts +++ b/tasks/projectPaths.ts @@ -5,6 +5,7 @@ import * as path from 'path'; import { commandLineOptions } from './commandLineArguments'; +import { componentInfo } from '../src/lsptoolshost/builtInComponents'; export const rootPath = path.resolve(__dirname, '..'); @@ -15,8 +16,8 @@ export const jestPath = path.join(nodeModulesPath, 'jest', 'bin', 'jest'); export const packedVsixOutputRoot = commandLineOptions.outputFolder || path.join(rootPath, 'vsix'); export const nugetTempPath = path.join(rootPath, 'out', '.nuget'); export const languageServerDirectory = path.join(rootPath, '.roslyn'); -export const devKitDependenciesDirectory = path.join(rootPath, '.roslynDevKit'); -export const xamlDesignToolsDirectory = path.join(rootPath, '.xamlDesignTools'); +export const devKitDependenciesDirectory = path.join(rootPath, componentInfo.roslynDevKit.defaultFolderName); +export const xamlDesignToolsDirectory = path.join(rootPath, componentInfo.xamlDesignTools.defaultFolderName); export const codeExtensionPath = commandLineOptions.codeExtensionPath || rootPath; From 1b51a03c6c5d4e056584a0c56b0eb74aa9602fa0 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Fri, 12 Apr 2024 16:15:15 -0700 Subject: [PATCH 05/35] Add option gating xaml intellisense --- package.json | 6 ++++++ package.nls.json | 1 + src/lsptoolshost/roslynLanguageServer.ts | 10 ++++++---- src/shared/options.ts | 6 ++++++ 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 4a1b3609c..f468886cb 100644 --- a/package.json +++ b/package.json @@ -1682,6 +1682,12 @@ "default": null, "description": "%configuration.dotnet.server.crashDumpPath%" }, + "dotnet.server.enableXamlIntellisense": { + "scope": "machine-overridable", + "type": "boolean", + "default": false, + "description": "%configuration.dotnet.server.enableXamlIntellisense%" + }, "dotnet.projects.binaryLogPath": { "scope": "machine-overridable", "type": "string", diff --git a/package.nls.json b/package.nls.json index 64631920a..c75a57386 100644 --- a/package.nls.json +++ b/package.nls.json @@ -34,6 +34,7 @@ "configuration.dotnet.server.trace": "Sets the logging level for the language server", "configuration.dotnet.server.extensionPaths": "Override for path to language server --extension arguments", "configuration.dotnet.server.crashDumpPath": "Sets a folder path where crash dumps are written to if the language server crashes. Must be writeable by the user.", + "configuration.dotnet.server.enableXamlIntellisense": "[Experimental] Enables Intellisense for XAML files when using C# Dev Kit", "configuration.dotnet.projects.enableAutomaticRestore": "Enables automatic NuGet restore if the extension detects assets are missing.", "configuration.dotnet.preferCSharpExtension": "Forces projects to load with the C# extension only. This can be useful when using legacy project types that are not supported by C# Dev Kit. (Requires window reload)", "configuration.dotnet.implementType.insertionBehavior": "The insertion location of properties, events, and methods When implement interface or abstract class.", diff --git a/src/lsptoolshost/roslynLanguageServer.ts b/src/lsptoolshost/roslynLanguageServer.ts index 00aba4801..902366745 100644 --- a/src/lsptoolshost/roslynLanguageServer.ts +++ b/src/lsptoolshost/roslynLanguageServer.ts @@ -819,10 +819,12 @@ export class RoslynLanguageServer { args.push('--sessionId', getSessionId()); - // Also include the Xaml Dev Kit extensions - getComponentPaths('xamlDesignTools', languageServerOptions).forEach((path) => - additionalExtensionPaths.push(path) - ); + // Also include the Xaml Dev Kit extensions, if enabled. + if (languageServerOptions.enableXamlIntellisense) { + getComponentPaths('xamlDesignTools', languageServerOptions).forEach((path) => + additionalExtensionPaths.push(path) + ); + } return args; } diff --git a/src/shared/options.ts b/src/shared/options.ts index 26a4476f9..816b86aa9 100644 --- a/src/shared/options.ts +++ b/src/shared/options.ts @@ -78,6 +78,7 @@ export interface LanguageServerOptions { readonly analyzerDiagnosticScope: string; readonly compilerDiagnosticScope: string; readonly componentPaths: { [key: string]: string } | null; + readonly enableXamlIntellisense: boolean; } export interface RazorOptions { @@ -401,6 +402,9 @@ class LanguageServerOptionsImpl implements LanguageServerOptions { public get componentPaths() { return readOption<{ [key: string]: string }>('dotnet.server.componentPaths', {}); } + public get enableXamlIntellisense() { + return readOption('dotnet.server.enableXamlIntellisense', false); + } } class RazorOptionsImpl implements RazorOptions { @@ -494,4 +498,6 @@ export const LanguageServerOptionsThatTriggerReload: ReadonlyArray Date: Fri, 12 Apr 2024 16:36:17 -0700 Subject: [PATCH 06/35] rename xamlDesignTools -> xamlTools --- .gitignore | 2 +- package.json | 10 +++++----- package.nls.json | 4 ++-- src/lsptoolshost/builtInComponents.ts | 6 +++--- src/lsptoolshost/roslynLanguageServer.ts | 4 ++-- src/shared/options.ts | 8 ++++---- tasks/offlinePackagingTasks.ts | 8 ++++---- tasks/projectPaths.ts | 2 +- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 263bc16e8..0acd9146a 100644 --- a/.gitignore +++ b/.gitignore @@ -4,7 +4,7 @@ node_modules out .roslyn/ .roslynDevKit/ -.xamlDesignTools/ +.xamlTools/ .omnisharp/ .omnisharp-*/ .vs/ diff --git a/package.json b/package.json index f468886cb..0099cac59 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "razor": "7.0.0-preview.24178.4", "razorOmnisharp": "7.0.0-preview.23363.1", "razorTelemetry": "7.0.0-preview.24178.4", - "xamlDesignTools": "17.11.34811.206" + "xamlTools": "17.11.34811.206" }, "main": "./dist/extension", "l10n": "./l10n", @@ -1630,8 +1630,8 @@ "description": "%configuration.dotnet.server.componentPaths.roslynDevKit%", "type": "string" }, - "xamlDesignTools": { - "description": "%configuration.dotnet.server.componentPaths.xamlDesignTools%", + "xamlTools": { + "description": "%configuration.dotnet.server.componentPaths.xamlTools%", "type": "string" } }, @@ -1682,11 +1682,11 @@ "default": null, "description": "%configuration.dotnet.server.crashDumpPath%" }, - "dotnet.server.enableXamlIntellisense": { + "dotnet.server.enableXamlTools": { "scope": "machine-overridable", "type": "boolean", "default": false, - "description": "%configuration.dotnet.server.enableXamlIntellisense%" + "description": "%configuration.dotnet.server.enableXamlTools%" }, "dotnet.projects.binaryLogPath": { "scope": "machine-overridable", diff --git a/package.nls.json b/package.nls.json index c75a57386..23d2fc2e7 100644 --- a/package.nls.json +++ b/package.nls.json @@ -28,13 +28,13 @@ "configuration.dotnet.server.path": "Specifies the absolute path to the server (LSP or O#) executable. When left empty the version pinned to the C# Extension is used. (Previously `omnisharp.path`)", "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", - "configuration.dotnet.server.componentPaths.xamlDesignTools": "Overrides the folder path for the .xamlDesignTools component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.startTimeout": "Specifies a timeout (in ms) for the client to successfully start and connect to the language server.", "configuration.dotnet.server.waitForDebugger": "Passes the --debug flag when launching the server to allow a debugger to be attached. (Previously `omnisharp.waitForDebugger`)", "configuration.dotnet.server.trace": "Sets the logging level for the language server", "configuration.dotnet.server.extensionPaths": "Override for path to language server --extension arguments", "configuration.dotnet.server.crashDumpPath": "Sets a folder path where crash dumps are written to if the language server crashes. Must be writeable by the user.", - "configuration.dotnet.server.enableXamlIntellisense": "[Experimental] Enables Intellisense for XAML files when using C# Dev Kit", + "configuration.dotnet.server.enableXamlTools": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.projects.enableAutomaticRestore": "Enables automatic NuGet restore if the extension detects assets are missing.", "configuration.dotnet.preferCSharpExtension": "Forces projects to load with the C# extension only. This can be useful when using legacy project types that are not supported by C# Dev Kit. (Requires window reload)", "configuration.dotnet.implementType.insertionBehavior": "The insertion location of properties, events, and methods When implement interface or abstract class.", diff --git a/src/lsptoolshost/builtInComponents.ts b/src/lsptoolshost/builtInComponents.ts index db119c699..3226d72d5 100644 --- a/src/lsptoolshost/builtInComponents.ts +++ b/src/lsptoolshost/builtInComponents.ts @@ -19,9 +19,9 @@ export const componentInfo: { [key: string]: ComponentInfo } = { optionName: 'roslynDevKit', componentDllPaths: ['Microsoft.VisualStudio.LanguageServices.DevKit.dll'], }, - xamlDesignTools: { - defaultFolderName: '.xamlDesignTools', - optionName: 'xamlDesignTools', + xamlTools: { + defaultFolderName: '.xamlTools', + optionName: 'xamlTools', componentDllPaths: [ path.join('lib', 'netstandard2.0', 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.dll'), path.join('lib', 'netstandard2.0', 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.Diagnostics.dll'), diff --git a/src/lsptoolshost/roslynLanguageServer.ts b/src/lsptoolshost/roslynLanguageServer.ts index 902366745..6d26805c5 100644 --- a/src/lsptoolshost/roslynLanguageServer.ts +++ b/src/lsptoolshost/roslynLanguageServer.ts @@ -820,8 +820,8 @@ export class RoslynLanguageServer { args.push('--sessionId', getSessionId()); // Also include the Xaml Dev Kit extensions, if enabled. - if (languageServerOptions.enableXamlIntellisense) { - getComponentPaths('xamlDesignTools', languageServerOptions).forEach((path) => + if (languageServerOptions.enableXamlTools) { + getComponentPaths('xamlTools', languageServerOptions).forEach((path) => additionalExtensionPaths.push(path) ); } diff --git a/src/shared/options.ts b/src/shared/options.ts index 816b86aa9..5b6ef5e13 100644 --- a/src/shared/options.ts +++ b/src/shared/options.ts @@ -78,7 +78,7 @@ export interface LanguageServerOptions { readonly analyzerDiagnosticScope: string; readonly compilerDiagnosticScope: string; readonly componentPaths: { [key: string]: string } | null; - readonly enableXamlIntellisense: boolean; + readonly enableXamlTools: boolean; } export interface RazorOptions { @@ -402,8 +402,8 @@ class LanguageServerOptionsImpl implements LanguageServerOptions { public get componentPaths() { return readOption<{ [key: string]: string }>('dotnet.server.componentPaths', {}); } - public get enableXamlIntellisense() { - return readOption('dotnet.server.enableXamlIntellisense', false); + public get enableXamlTools() { + return readOption('dotnet.server.enableXamlTools', false); } } @@ -499,5 +499,5 @@ export const LanguageServerOptionsThatTriggerReload: ReadonlyArray 'content', vsixOutputPath: devKitDependenciesDirectory, }, - xamlDesignTools: { + xamlTools: { getPackageName: (_platformInfo) => 'Microsoft.VisualStudio.DesignToolsBase', - packageJsonName: 'xamlDesignTools', + packageJsonName: 'xamlTools', getPackageContentPath: (_platformInfo) => '', - vsixOutputPath: xamlDesignToolsDirectory, + vsixOutputPath: xamlToolsDirectory, }, }; diff --git a/tasks/projectPaths.ts b/tasks/projectPaths.ts index 3372c03fd..894649f8b 100644 --- a/tasks/projectPaths.ts +++ b/tasks/projectPaths.ts @@ -17,7 +17,7 @@ export const packedVsixOutputRoot = commandLineOptions.outputFolder || path.join export const nugetTempPath = path.join(rootPath, 'out', '.nuget'); export const languageServerDirectory = path.join(rootPath, '.roslyn'); export const devKitDependenciesDirectory = path.join(rootPath, componentInfo.roslynDevKit.defaultFolderName); -export const xamlDesignToolsDirectory = path.join(rootPath, componentInfo.xamlDesignTools.defaultFolderName); +export const xamlToolsDirectory = path.join(rootPath, componentInfo.xamlTools.defaultFolderName); export const codeExtensionPath = commandLineOptions.codeExtensionPath || rootPath; From 304bc5401c7076a0de39317301ac178ce17debdd Mon Sep 17 00:00:00 2001 From: David Barbet Date: Fri, 12 Apr 2024 16:48:41 -0700 Subject: [PATCH 07/35] adjust naming --- package.json | 4 ++-- package.nls.json | 2 +- src/shared/options.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0099cac59..14633d036 100644 --- a/package.json +++ b/package.json @@ -1682,11 +1682,11 @@ "default": null, "description": "%configuration.dotnet.server.crashDumpPath%" }, - "dotnet.server.enableXamlTools": { + "dotnet.enableXamlTools": { "scope": "machine-overridable", "type": "boolean", "default": false, - "description": "%configuration.dotnet.server.enableXamlTools%" + "description": "%configuration.dotnet.enableXamlTools%" }, "dotnet.projects.binaryLogPath": { "scope": "machine-overridable", diff --git a/package.nls.json b/package.nls.json index 23d2fc2e7..e67cc2b07 100644 --- a/package.nls.json +++ b/package.nls.json @@ -34,7 +34,7 @@ "configuration.dotnet.server.trace": "Sets the logging level for the language server", "configuration.dotnet.server.extensionPaths": "Override for path to language server --extension arguments", "configuration.dotnet.server.crashDumpPath": "Sets a folder path where crash dumps are written to if the language server crashes. Must be writeable by the user.", - "configuration.dotnet.server.enableXamlTools": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.projects.enableAutomaticRestore": "Enables automatic NuGet restore if the extension detects assets are missing.", "configuration.dotnet.preferCSharpExtension": "Forces projects to load with the C# extension only. This can be useful when using legacy project types that are not supported by C# Dev Kit. (Requires window reload)", "configuration.dotnet.implementType.insertionBehavior": "The insertion location of properties, events, and methods When implement interface or abstract class.", diff --git a/src/shared/options.ts b/src/shared/options.ts index 5b6ef5e13..84bcf09cf 100644 --- a/src/shared/options.ts +++ b/src/shared/options.ts @@ -403,7 +403,7 @@ class LanguageServerOptionsImpl implements LanguageServerOptions { return readOption<{ [key: string]: string }>('dotnet.server.componentPaths', {}); } public get enableXamlTools() { - return readOption('dotnet.server.enableXamlTools', false); + return readOption('dotnet.enableXamlTools', false); } } From 230d012b3ac0fdb9aba499843900f91b7c0a53cf Mon Sep 17 00:00:00 2001 From: David Barbet Date: Fri, 12 Apr 2024 16:51:59 -0700 Subject: [PATCH 08/35] more naming --- package.json | 4 ++-- package.nls.json | 2 +- src/shared/options.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 14633d036..90f57cb6d 100644 --- a/package.json +++ b/package.json @@ -1682,11 +1682,11 @@ "default": null, "description": "%configuration.dotnet.server.crashDumpPath%" }, - "dotnet.enableXamlTools": { + "dotnet.enableXamlToolsPreview": { "scope": "machine-overridable", "type": "boolean", "default": false, - "description": "%configuration.dotnet.enableXamlTools%" + "description": "%configuration.dotnet.enableXamlToolsPreview%" }, "dotnet.projects.binaryLogPath": { "scope": "machine-overridable", diff --git a/package.nls.json b/package.nls.json index e67cc2b07..8f91131cf 100644 --- a/package.nls.json +++ b/package.nls.json @@ -34,7 +34,7 @@ "configuration.dotnet.server.trace": "Sets the logging level for the language server", "configuration.dotnet.server.extensionPaths": "Override for path to language server --extension arguments", "configuration.dotnet.server.crashDumpPath": "Sets a folder path where crash dumps are written to if the language server crashes. Must be writeable by the user.", - "configuration.dotnet.enableXamlTools": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.projects.enableAutomaticRestore": "Enables automatic NuGet restore if the extension detects assets are missing.", "configuration.dotnet.preferCSharpExtension": "Forces projects to load with the C# extension only. This can be useful when using legacy project types that are not supported by C# Dev Kit. (Requires window reload)", "configuration.dotnet.implementType.insertionBehavior": "The insertion location of properties, events, and methods When implement interface or abstract class.", diff --git a/src/shared/options.ts b/src/shared/options.ts index 84bcf09cf..903fd573c 100644 --- a/src/shared/options.ts +++ b/src/shared/options.ts @@ -403,7 +403,7 @@ class LanguageServerOptionsImpl implements LanguageServerOptions { return readOption<{ [key: string]: string }>('dotnet.server.componentPaths', {}); } public get enableXamlTools() { - return readOption('dotnet.enableXamlTools', false); + return readOption('dotnet.enableXamlToolsPreview', false); } } From 3706f124e8ebcb8d30226b4b50eeca464cff7039 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Mon, 15 Apr 2024 11:52:02 -0700 Subject: [PATCH 09/35] Update to latest XAML package and fix some more naming --- package.json | 2 +- src/lsptoolshost/builtInComponents.ts | 4 ++-- src/lsptoolshost/roslynLanguageServer.ts | 2 +- src/shared/options.ts | 6 +++--- tasks/offlinePackagingTasks.ts | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 90f57cb6d..2c4a805f4 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "razor": "7.0.0-preview.24178.4", "razorOmnisharp": "7.0.0-preview.23363.1", "razorTelemetry": "7.0.0-preview.24178.4", - "xamlTools": "17.11.34811.206" + "xamlTools": "17.11.34815.8" }, "main": "./dist/extension", "l10n": "./l10n", diff --git a/src/lsptoolshost/builtInComponents.ts b/src/lsptoolshost/builtInComponents.ts index 3226d72d5..220d5ba34 100644 --- a/src/lsptoolshost/builtInComponents.ts +++ b/src/lsptoolshost/builtInComponents.ts @@ -23,8 +23,8 @@ export const componentInfo: { [key: string]: ComponentInfo } = { defaultFolderName: '.xamlTools', optionName: 'xamlTools', componentDllPaths: [ - path.join('lib', 'netstandard2.0', 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.dll'), - path.join('lib', 'netstandard2.0', 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.Diagnostics.dll'), + 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.dll', + 'Microsoft.VisualStudio.DesignTools.CodeAnalysis.Diagnostics.dll', ], }, }; diff --git a/src/lsptoolshost/roslynLanguageServer.ts b/src/lsptoolshost/roslynLanguageServer.ts index 6d26805c5..0cd6a58aa 100644 --- a/src/lsptoolshost/roslynLanguageServer.ts +++ b/src/lsptoolshost/roslynLanguageServer.ts @@ -820,7 +820,7 @@ export class RoslynLanguageServer { args.push('--sessionId', getSessionId()); // Also include the Xaml Dev Kit extensions, if enabled. - if (languageServerOptions.enableXamlTools) { + if (languageServerOptions.enableXamlToolsPreview) { getComponentPaths('xamlTools', languageServerOptions).forEach((path) => additionalExtensionPaths.push(path) ); diff --git a/src/shared/options.ts b/src/shared/options.ts index 903fd573c..9e2c3012a 100644 --- a/src/shared/options.ts +++ b/src/shared/options.ts @@ -78,7 +78,7 @@ export interface LanguageServerOptions { readonly analyzerDiagnosticScope: string; readonly compilerDiagnosticScope: string; readonly componentPaths: { [key: string]: string } | null; - readonly enableXamlTools: boolean; + readonly enableXamlToolsPreview: boolean; } export interface RazorOptions { @@ -402,7 +402,7 @@ class LanguageServerOptionsImpl implements LanguageServerOptions { public get componentPaths() { return readOption<{ [key: string]: string }>('dotnet.server.componentPaths', {}); } - public get enableXamlTools() { + public get enableXamlToolsPreview() { return readOption('dotnet.enableXamlToolsPreview', false); } } @@ -499,5 +499,5 @@ export const LanguageServerOptionsThatTriggerReload: ReadonlyArray 'Microsoft.VisualStudio.DesignToolsBase', packageJsonName: 'xamlTools', - getPackageContentPath: (_platformInfo) => '', + getPackageContentPath: (_platformInfo) => 'content', vsixOutputPath: xamlToolsDirectory, }, }; From 7cbc4fc5ddc01fa6d21bfc89cfc606d04511792c Mon Sep 17 00:00:00 2001 From: David Barbet Date: Tue, 16 Apr 2024 11:33:59 -0700 Subject: [PATCH 10/35] Use latest xaml version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2c4a805f4..9a0874316 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "razor": "7.0.0-preview.24178.4", "razorOmnisharp": "7.0.0-preview.23363.1", "razorTelemetry": "7.0.0-preview.24178.4", - "xamlTools": "17.11.34815.8" + "xamlTools": "17.11.34816.20" }, "main": "./dist/extension", "l10n": "./l10n", From 5b3f41afca485aa3a65c8d8b03c561a48423e10f Mon Sep 17 00:00:00 2001 From: Marco Goertz Date: Fri, 26 Apr 2024 10:31:20 -0700 Subject: [PATCH 11/35] Add optional command to onAutoInsert response --- src/lsptoolshost/onAutoInsert.ts | 6 +++++- src/lsptoolshost/roslynProtocol.ts | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/lsptoolshost/onAutoInsert.ts b/src/lsptoolshost/onAutoInsert.ts index b3ec3a55f..2e99b4a2b 100644 --- a/src/lsptoolshost/onAutoInsert.ts +++ b/src/lsptoolshost/onAutoInsert.ts @@ -88,7 +88,11 @@ async function applyAutoInsertEdit( const applied = vscode.workspace.applyEdit(edit); if (!applied) { - throw new Error('Tried to insert a comment but an error occurred.'); + throw new Error('Tried to apply an edit but an error occurred.'); + } + + if (response.command !== undefined) { + vscode.commands.executeCommand(response.command.command, response.command.arguments); } } } diff --git a/src/lsptoolshost/roslynProtocol.ts b/src/lsptoolshost/roslynProtocol.ts index 9917209fd..0d6a8321f 100644 --- a/src/lsptoolshost/roslynProtocol.ts +++ b/src/lsptoolshost/roslynProtocol.ts @@ -59,6 +59,11 @@ export interface OnAutoInsertParams { export interface OnAutoInsertResponseItem { _vs_textEditFormat: lsp.InsertTextFormat; _vs_textEdit: lsp.TextEdit; + + /** + * An optional command that is executed *after* inserting. + */ + command?: Command; } /** From c221bf1955fac7fdf9618f5b031fa28e863c2fa3 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Fri, 26 Apr 2024 19:31:45 -0700 Subject: [PATCH 12/35] Update prerelease version --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index bc430430a..2faeb24a7 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "2.28", + "version": "2.29", "publicReleaseRefSpec": [ "^refs/heads/release$", "^refs/heads/prerelease$", From 04b0c59771847b109ccec69efef3f9989b41c8f6 Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Mon, 29 Apr 2024 13:01:47 -0700 Subject: [PATCH 13/35] Update Debugger Packages to v2.28.1 (#7072) --- package.json | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 1bda886d5..73a7dea57 100644 --- a/package.json +++ b/package.json @@ -420,7 +420,7 @@ { "id": "Debugger", "description": ".NET Core Debugger (Windows / x64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-19-18/coreclr-debug-win7-x64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-win7-x64.zip", "installPath": ".debugger/x86_64", "platforms": [ "win32" @@ -430,12 +430,12 @@ "arm64" ], "installTestPath": "./.debugger/x86_64/vsdbg-ui.exe", - "integrity": "CE69C839F829DEF94A82B901C91AAF68F34347185B69EE28F6785F815C5BD4A4" + "integrity": "0620F452B5AEE259FD160210AD1AA52B8E91CAD6F6250E2A8C1303A4082C50D2" }, { "id": "Debugger", "description": ".NET Core Debugger (Windows / ARM64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-19-18/coreclr-debug-win10-arm64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-win10-arm64.zip", "installPath": ".debugger/arm64", "platforms": [ "win32" @@ -444,12 +444,12 @@ "arm64" ], "installTestPath": "./.debugger/arm64/vsdbg-ui.exe", - "integrity": "54CCB244E433E1842DC4E9676C0668CCD376F2B0F39191B749DFE916349B8BCF" + "integrity": "00A74FB412267AA95DB850189406E1D613B707262992B3159B0F2E66EEBD6695" }, { "id": "Debugger", "description": ".NET Core Debugger (macOS / x64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-19-18/coreclr-debug-osx-x64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-osx-x64.zip", "installPath": ".debugger/x86_64", "platforms": [ "darwin" @@ -463,12 +463,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/x86_64/vsdbg-ui", - "integrity": "9292ECC3CA147D7EB33F2C0317E71F10EB40A15C6DD89868459F79F5D141368A" + "integrity": "F982AD4A511D6B18A17767C62731D6B158C656115C07E24DD87A7009D24F621F" }, { "id": "Debugger", "description": ".NET Core Debugger (macOS / arm64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-19-18/coreclr-debug-osx-arm64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-osx-arm64.zip", "installPath": ".debugger/arm64", "platforms": [ "darwin" @@ -481,12 +481,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/arm64/vsdbg-ui", - "integrity": "65679210178241932F4D688769D7394CDA05ABE302F6C66FCD213974B34E7DF3" + "integrity": "F317A3AFE2A93B13DF7AC9EFAFA22311674113F68BC3990B8BFCF3E815B7CEA2" }, { "id": "Debugger", "description": ".NET Core Debugger (linux / ARM)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-19-18/coreclr-debug-linux-arm.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-arm.zip", "installPath": ".debugger", "platforms": [ "linux" @@ -499,12 +499,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "12590D9CFA333081F667AFAB6C6877235764D0DA82A7BC191AC2AB3B2B473B0C" + "integrity": "C9056D60D443E7C76E40A3703B3BB749FC2AD2C7EFFC4E3FFEB145C9A7CF3E12" }, { "id": "Debugger", "description": ".NET Core Debugger (linux / ARM64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-19-18/coreclr-debug-linux-arm64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-arm64.zip", "installPath": ".debugger", "platforms": [ "linux" @@ -517,12 +517,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "73A576F98203224708F75C4538967AC7636BFFC8394E6034FE586554D7C1FC0E" + "integrity": "5A5A06AAD40F1645F5EE4BEDF94DCCC9C1B673E5D8AA3E6DC40E5EFA05FC5BAE" }, { "id": "Debugger", "description": ".NET Core Debugger (linux musl / x64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-19-18/coreclr-debug-linux-musl-x64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-musl-x64.zip", "installPath": ".debugger", "platforms": [ "linux-musl" @@ -535,12 +535,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "44889E74066F8ACFF1B5D46368F9AA579470EFBEA47F9F0BACD0AA219FA7C7A1" + "integrity": "D3BF80D1155A52CE2BB4BD149E9415EDB2B039F40ADF0C7F3B558722BAEB4481" }, { "id": "Debugger", "description": ".NET Core Debugger (linux musl / ARM64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-19-18/coreclr-debug-linux-musl-arm64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-musl-arm64.zip", "installPath": ".debugger", "platforms": [ "linux-musl" @@ -553,12 +553,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "C79202A750BB95FE2F9621A29AD8811B39753109B6508EC9E36D7D1830F891B9" + "integrity": "9A9EA50FCEB9FB9C23EE31382B74499D96D372C6C35A06976B0A3A473E633D2D" }, { "id": "Debugger", "description": ".NET Core Debugger (linux / x64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-19-18/coreclr-debug-linux-x64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-x64.zip", "installPath": ".debugger", "platforms": [ "linux" @@ -571,7 +571,7 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "899CDF7BFE503BA4DA93DB9D4FCE5A9B98D17E5B512DC599896AECD866F687FA" + "integrity": "9885025FDD0B4117A1705A96D2A7583380B8650AEA387A9C3E861F8BF1703F59" }, { "id": "Razor", From 03c358ec95d4630f67d686f83cfe26ffc042cc4f Mon Sep 17 00:00:00 2001 From: Joey Robichaud Date: Mon, 29 Apr 2024 21:31:05 -0700 Subject: [PATCH 14/35] No longer activate on the presence of .sln or .slnf files Solution files can be used for languages other than C#. Any solution file that will result in a usable C# workspace must reference .csproj files. We already search for .csproj files as part of the activation event. Resolves #5794 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 73a7dea57..669a394fe 100644 --- a/package.json +++ b/package.json @@ -957,7 +957,7 @@ "onCommand:o.showOutput", "onCommand:omnisharp.registerLanguageMiddleware", "workspaceContains:project.json", - "workspaceContains:**/*.{csproj,sln,slnf,csx,cake}" + "workspaceContains:**/*.{csproj,csx,cake}" ], "contributes": { "themes": [ @@ -5679,4 +5679,4 @@ } ] } -} \ No newline at end of file +} From f07316e920283026fe727f1e43a89c7c5f335255 Mon Sep 17 00:00:00 2001 From: Joey Robichaud Date: Mon, 29 Apr 2024 22:10:22 -0700 Subject: [PATCH 15/35] List solution filter files (.slnf) in the 'Open Solution' command. - Fixes sorting of solutions in the workspace root path. --- src/lsptoolshost/commands.ts | 2 +- src/shared/launchTarget.ts | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/lsptoolshost/commands.ts b/src/lsptoolshost/commands.ts index b78b16bb1..b5e42ad23 100644 --- a/src/lsptoolshost/commands.ts +++ b/src/lsptoolshost/commands.ts @@ -178,7 +178,7 @@ async function openSolution(languageServer: RoslynLanguageServer): Promise Date: Tue, 30 Apr 2024 11:46:28 -0700 Subject: [PATCH 16/35] Fix updateRoslynVersion task --- package.json | 4 ++-- tasks/offlinePackagingTasks.ts | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 9a0874316..795850b26 100644 --- a/package.json +++ b/package.json @@ -37,12 +37,12 @@ } }, "defaults": { - "roslyn": "4.11.0-1.24209.10", + "roslyn": "4.11.0-2.24229.10", "omniSharp": "1.39.11", "razor": "7.0.0-preview.24178.4", "razorOmnisharp": "7.0.0-preview.23363.1", "razorTelemetry": "7.0.0-preview.24178.4", - "xamlTools": "17.11.34816.20" + "xamlTools": "17.11.34830.29" }, "main": "./dist/extension", "l10n": "./l10n", diff --git a/tasks/offlinePackagingTasks.ts b/tasks/offlinePackagingTasks.ts index f0541f063..94eafd35a 100644 --- a/tasks/offlinePackagingTasks.ts +++ b/tasks/offlinePackagingTasks.ts @@ -65,7 +65,7 @@ interface NugetPackageInfo { } // Set of NuGet packages that we need to download and install. -export const nugetPackageInfo: { [key: string]: NugetPackageInfo } = { +export const allNugetPackages: { [key: string]: NugetPackageInfo } = { roslyn: { getPackageName: (platformInfo) => `Microsoft.CodeAnalysis.LanguageServer.${platformInfo?.rid ?? 'neutral'}`, packageJsonName: 'roslyn', @@ -155,15 +155,15 @@ gulp.task( const packageJSON = getPackageJSON(); // Fetch the neutral package that we don't otherwise have in our platform list - await acquireNugetPackage(nugetPackageInfo.roslyn, undefined, packageJSON, true); + await acquireNugetPackage(allNugetPackages.roslyn, undefined, packageJSON, true); // And now fetch each platform specific for (const p of platformSpecificPackages) { - await acquireNugetPackage(nugetPackageInfo.roslyn, p, packageJSON, true); + await acquireNugetPackage(allNugetPackages.roslyn, p, packageJSON, true); } // Also pull in the Roslyn DevKit dependencies nuget package. - await acquireNugetPackage(nugetPackageInfo.RoslynDevKit, undefined, packageJSON, true); + await acquireNugetPackage(allNugetPackages.roslynDevKit, undefined, packageJSON, true); }, 'installDependencies') ); @@ -172,8 +172,8 @@ async function acquireAndInstallAllNugetPackages( packageJSON: any, interactive: boolean ) { - for (const key in nugetPackageInfo) { - const nugetPackage = nugetPackageInfo[key]; + for (const key in allNugetPackages) { + const nugetPackage = allNugetPackages[key]; const packagePath = await acquireNugetPackage(nugetPackage, platformInfo, packageJSON, interactive); await installNuGetPackage(packagePath, nugetPackage, platformInfo); } @@ -342,8 +342,8 @@ async function doPackageOffline(vsixPlatform: VSIXPlatformInfo | undefined) { async function cleanAsync() { const directoriesToDelete = ['install.*', '.omnisharp*', '.debugger', '.razor']; - for (const key in nugetPackageInfo) { - directoriesToDelete.push(nugetPackageInfo[key].vsixOutputPath); + for (const key in allNugetPackages) { + directoriesToDelete.push(allNugetPackages[key].vsixOutputPath); } await del(directoriesToDelete); From 7b1e6055215926b7138a02843f3ac0ea20f6237a Mon Sep 17 00:00:00 2001 From: David Barbet Date: Fri, 3 May 2024 14:30:06 -0700 Subject: [PATCH 17/35] Update changelog for prerelease --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef3926155..f9fe46b4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ - Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876) # Latest +* List solution filter files (.slnf) in the 'Open Solution' command. (PR: [#7082](https://github.com/dotnet/vscode-csharp/pull/7082)) +* No longer activate on the presence of .sln or .slnf files (PR: [#7081](https://github.com/dotnet/vscode-csharp/pull/7081)) +* Update Debugger Packages to v2.28.1 (PR: [#7072](https://github.com/dotnet/vscode-csharp/pull/7072)) + +# 2.28.8 * Update Roslyn to 4.11.0-1.24226.4 (PR: [#7069](https://github.com/dotnet/vscode-csharp/pull/7069)) * Separate document diagnostics into multiple buckets to improve diagnostics performance (PR: [#73073](https://github.com/dotnet/roslyn/pull/73073)) * Improve performance of diagnostics when analysis is set to fullSolution (PR: [#73201](https://github.com/dotnet/roslyn/pull/73201)) From 41a36956ab73d51c15cd3bb0183900e8f47a36bd Mon Sep 17 00:00:00 2001 From: David Barbet Date: Fri, 3 May 2024 14:31:21 -0700 Subject: [PATCH 18/35] Update main version --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index 2faeb24a7..366b5ccb3 100644 --- a/version.json +++ b/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "2.29", + "version": "2.30", "publicReleaseRefSpec": [ "^refs/heads/release$", "^refs/heads/prerelease$", From f70b4d28a5e69c9930b342d784b6db955e43188b Mon Sep 17 00:00:00 2001 From: Andrew Hall Date: Mon, 6 May 2024 10:57:43 -0700 Subject: [PATCH 19/35] Don't download razor telemetry if disabled by vscode (#7092) --- src/main.ts | 2 +- src/razor/src/extension.ts | 16 +++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/main.ts b/src/main.ts index a0989a0c7..e1bf21a60 100644 --- a/src/main.ts +++ b/src/main.ts @@ -131,7 +131,7 @@ export async function activate( if (!useOmnisharpServer) { // Download Razor server telemetry bits if DevKit is installed. - if (csharpDevkitExtension) { + if (csharpDevkitExtension && vscode.env.isTelemetryEnabled) { const razorTelemetryDownloader = new RazorTelemetryDownloader( networkSettingsProvider, eventStream, diff --git a/src/razor/src/extension.ts b/src/razor/src/extension.ts index 1107d6a0e..5932bacda 100644 --- a/src/razor/src/extension.ts +++ b/src/razor/src/extension.ts @@ -98,13 +98,15 @@ export async function activate( if (csharpDevkitExtension) { await setupDevKitEnvironment(dotnetInfo.env, csharpDevkitExtension, logger); - const telemetryExtensionPath = path.join( - util.getExtensionPath(), - '.razortelemetry', - 'Microsoft.VisualStudio.DevKit.Razor.dll' - ); - if (await util.fileExists(telemetryExtensionPath)) { - telemetryExtensionDllPath = telemetryExtensionPath; + if (vscode.env.isTelemetryEnabled) { + const telemetryExtensionPath = path.join( + util.getExtensionPath(), + '.razortelemetry', + 'Microsoft.VisualStudio.DevKit.Razor.dll' + ); + if (await util.fileExists(telemetryExtensionPath)) { + telemetryExtensionDllPath = telemetryExtensionPath; + } } } From ccb4d3a7cedac10c1ca9cfee559625497ae0b743 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Mon, 6 May 2024 11:00:43 -0700 Subject: [PATCH 20/35] Use correct images names --- azure-pipelines-official.yml | 2 +- azure-pipelines/build-all.yml | 6 +++--- azure-pipelines/loc.yml | 2 +- azure-pipelines/release.yml | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/azure-pipelines-official.yml b/azure-pipelines-official.yml index cd76ef3d0..7b776f636 100644 --- a/azure-pipelines-official.yml +++ b/azure-pipelines-official.yml @@ -31,7 +31,7 @@ extends: parameters: pool: name: netcore1espool-internal - image: 1es-windows-2022-pt + image: 1es-windows-2022 os: windows customBuildTags: - ES365AIMigrationTooling diff --git a/azure-pipelines/build-all.yml b/azure-pipelines/build-all.yml index 1c608742a..78e91dd32 100644 --- a/azure-pipelines/build-all.yml +++ b/azure-pipelines/build-all.yml @@ -20,7 +20,7 @@ stages: pool: ${{ if eq(parameters.isOfficial, true) }}: name: netcore1espool-internal - image: 1es-ubuntu-2204-pt + image: 1es-ubuntu-2204 ${{ else }}: name: Azure Pipelines vmImage: ubuntu-latest @@ -63,7 +63,7 @@ stages: pool: ${{ if eq(parameters.isOfficial, true) }}: name: netcore1espool-internal - image: 1es-ubuntu-2204-pt + image: 1es-ubuntu-2204 ${{ else }}: name: Azure Pipelines vmImage: ubuntu-latest @@ -76,7 +76,7 @@ stages: pool: ${{ if eq(parameters.isOfficial, true) }}: name: netcore1espool-internal - image: 1es-windows-2022-pt + image: 1es-windows-2022 ${{ else }}: name: Azure Pipelines vmImage: windows-latest diff --git a/azure-pipelines/loc.yml b/azure-pipelines/loc.yml index 157638e47..9d723386d 100644 --- a/azure-pipelines/loc.yml +++ b/azure-pipelines/loc.yml @@ -36,7 +36,7 @@ extends: parameters: pool: name: netcore1espool-internal - image: 1es-windows-2022-pt + image: 1es-windows-2022 os: windows stages: - stage: LocalizationStage diff --git a/azure-pipelines/release.yml b/azure-pipelines/release.yml index 0b1455ec7..9bbf100e9 100644 --- a/azure-pipelines/release.yml +++ b/azure-pipelines/release.yml @@ -27,7 +27,7 @@ extends: parameters: pool: name: netcore1espool-internal - image: 1es-windows-2022-pt + image: 1es-windows-2022 os: windows customBuildTags: - ES365AIMigrationTooling @@ -39,7 +39,7 @@ extends: environment: vscode-csharp-release-approvals pool: name: netcore1espool-internal - image: 1es-ubuntu-2204-pt + image: 1es-ubuntu-2204 os: linux strategy: runOnce: @@ -116,7 +116,7 @@ extends: - job: 'Tag' pool: name: netcore1espool-internal - image: 1es-ubuntu-2204-pt + image: 1es-ubuntu-2204 os: linux steps: - task: NodeTool@0 From 48af456fd7f11fc66941163242aa14678d52bbcf Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Tue, 7 May 2024 04:54:50 +0000 Subject: [PATCH 21/35] Update Debugger to v2.30.0 --- package.json | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/package.json b/package.json index 669a394fe..e6f720706 100644 --- a/package.json +++ b/package.json @@ -420,7 +420,7 @@ { "id": "Debugger", "description": ".NET Core Debugger (Windows / x64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-win7-x64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-30-0/coreclr-debug-win7-x64.zip", "installPath": ".debugger/x86_64", "platforms": [ "win32" @@ -430,12 +430,12 @@ "arm64" ], "installTestPath": "./.debugger/x86_64/vsdbg-ui.exe", - "integrity": "0620F452B5AEE259FD160210AD1AA52B8E91CAD6F6250E2A8C1303A4082C50D2" + "integrity": "73C4FA5922404E5789986DBD744EB65E59F7122F797E7846FAF7F844E60EDE07" }, { "id": "Debugger", "description": ".NET Core Debugger (Windows / ARM64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-win10-arm64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-30-0/coreclr-debug-win10-arm64.zip", "installPath": ".debugger/arm64", "platforms": [ "win32" @@ -444,12 +444,12 @@ "arm64" ], "installTestPath": "./.debugger/arm64/vsdbg-ui.exe", - "integrity": "00A74FB412267AA95DB850189406E1D613B707262992B3159B0F2E66EEBD6695" + "integrity": "60051C810E72C3E9A1314C08245586461A06735E1E528FACA1095C40365E8279" }, { "id": "Debugger", "description": ".NET Core Debugger (macOS / x64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-osx-x64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-30-0/coreclr-debug-osx-x64.zip", "installPath": ".debugger/x86_64", "platforms": [ "darwin" @@ -463,12 +463,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/x86_64/vsdbg-ui", - "integrity": "F982AD4A511D6B18A17767C62731D6B158C656115C07E24DD87A7009D24F621F" + "integrity": "E6AE6D46B3FE4E8D8124E06FC9374C39844907EAB91A7B774F6128175CB3C1AD" }, { "id": "Debugger", "description": ".NET Core Debugger (macOS / arm64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-osx-arm64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-30-0/coreclr-debug-osx-arm64.zip", "installPath": ".debugger/arm64", "platforms": [ "darwin" @@ -481,12 +481,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/arm64/vsdbg-ui", - "integrity": "F317A3AFE2A93B13DF7AC9EFAFA22311674113F68BC3990B8BFCF3E815B7CEA2" + "integrity": "0BF425B67C155012790C5EC7DCB69BE7087774A51B3AF59B7BEBA467BFD48997" }, { "id": "Debugger", "description": ".NET Core Debugger (linux / ARM)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-arm.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-30-0/coreclr-debug-linux-arm.zip", "installPath": ".debugger", "platforms": [ "linux" @@ -499,12 +499,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "C9056D60D443E7C76E40A3703B3BB749FC2AD2C7EFFC4E3FFEB145C9A7CF3E12" + "integrity": "063298BEB4D9D9F0741E0BC7E3999B71E6BB4C3221A4E3DF29D5153FA27E6DA3" }, { "id": "Debugger", "description": ".NET Core Debugger (linux / ARM64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-arm64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-30-0/coreclr-debug-linux-arm64.zip", "installPath": ".debugger", "platforms": [ "linux" @@ -517,12 +517,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "5A5A06AAD40F1645F5EE4BEDF94DCCC9C1B673E5D8AA3E6DC40E5EFA05FC5BAE" + "integrity": "6DC9F98C34B41F08A449F9E4EE04E6BAFFD5A57E3632990A3B83BDCB2D2FF7B9" }, { "id": "Debugger", "description": ".NET Core Debugger (linux musl / x64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-musl-x64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-30-0/coreclr-debug-linux-musl-x64.zip", "installPath": ".debugger", "platforms": [ "linux-musl" @@ -535,12 +535,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "D3BF80D1155A52CE2BB4BD149E9415EDB2B039F40ADF0C7F3B558722BAEB4481" + "integrity": "F985AFFA755734A6262F52C1E8D5D7235F4448628CA949A06D0F6806552EC64B" }, { "id": "Debugger", "description": ".NET Core Debugger (linux musl / ARM64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-musl-arm64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-30-0/coreclr-debug-linux-musl-arm64.zip", "installPath": ".debugger", "platforms": [ "linux-musl" @@ -553,12 +553,12 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "9A9EA50FCEB9FB9C23EE31382B74499D96D372C6C35A06976B0A3A473E633D2D" + "integrity": "ED7A76B386478AD54D97E6FAB06D7AB56970770CD6499FC902316FA3BB3484D1" }, { "id": "Debugger", "description": ".NET Core Debugger (linux / x64)", - "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-28-1/coreclr-debug-linux-x64.zip", + "url": "https://vsdebugger.azureedge.net/coreclr-debug-2-30-0/coreclr-debug-linux-x64.zip", "installPath": ".debugger", "platforms": [ "linux" @@ -571,7 +571,7 @@ "./vsdbg" ], "installTestPath": "./.debugger/vsdbg-ui", - "integrity": "9885025FDD0B4117A1705A96D2A7583380B8650AEA387A9C3E861F8BF1703F59" + "integrity": "7AD45121D59DBFE8A96952E6BF8D474A5249CF7AE87C64AB24F9DC1DB5A8E6BA" }, { "id": "Razor", @@ -5679,4 +5679,4 @@ } ] } -} +} \ No newline at end of file From 4de1c844b9e52a5a748a1e527239527a03dbe01b Mon Sep 17 00:00:00 2001 From: Andrew Wang Date: Tue, 7 May 2024 10:45:08 -0700 Subject: [PATCH 22/35] Update OptionsSchema.json --- package.json | 179 +++++++++++++++++++++++++++++------ package.nls.json | 18 +++- src/tools/OptionsSchema.json | 45 +++++++-- 3 files changed, 204 insertions(+), 38 deletions(-) diff --git a/package.json b/package.json index e6f720706..b9f5932c1 100644 --- a/package.json +++ b/package.json @@ -1391,11 +1391,26 @@ "description": "%generateOptionsSchema.symbolOptions.moduleFilter.includeSymbolsOnDemand.description%", "default": true }, - "csharp.debug.allowFastEvaluate": { + "csharp.debug.expressionEvaluationOptions.allowImplicitFuncEval": { "type": "boolean", - "description": "%generateOptionsSchema.allowFastEvaluate.description%", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description%", "default": true }, + "csharp.debug.expressionEvaluationOptions.allowToString": { + "type": "boolean", + "markdownDescription": "%generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription%", + "default": true + }, + "csharp.debug.expressionEvaluationOptions.allowFastEvaluate": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description%", + "default": true + }, + "csharp.debug.expressionEvaluationOptions.showRawValues": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.showRawValues.description%", + "default": false + }, "dotnet.unitTestDebuggingOptions": { "type": "object", "description": "%configuration.dotnet.unitTestDebuggingOptions%", @@ -1561,15 +1576,37 @@ "enabled": { "title": "boolean", "markdownDescription": "%generateOptionsSchema.sourceLinkOptions.additionalItems.enabled.markdownDescription%", - "default": "true" + "default": true } } } }, - "allowFastEvaluate": { - "type": "boolean", - "description": "%generateOptionsSchema.allowFastEvaluate.description%", - "default": true + "expressionEvaluationOptions": { + "description": "%generateOptionsSchema.expressionEvaluationOptions.description%", + "default": {}, + "type": "object", + "properties": { + "allowImplicitFuncEval": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description%", + "default": true + }, + "allowToString": { + "type": "boolean", + "markdownDescription": "%generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription%", + "default": true + }, + "allowFastEvaluate": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description%", + "default": true + }, + "showRawValues": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.showRawValues.description%", + "default": false + } + } }, "targetArchitecture": { "type": "string", @@ -2769,15 +2806,37 @@ "enabled": { "title": "boolean", "markdownDescription": "%generateOptionsSchema.sourceLinkOptions.additionalItems.enabled.markdownDescription%", - "default": "true" + "default": true } } } }, - "allowFastEvaluate": { - "type": "boolean", - "description": "%generateOptionsSchema.allowFastEvaluate.description%", - "default": true + "expressionEvaluationOptions": { + "description": "%generateOptionsSchema.expressionEvaluationOptions.description%", + "default": {}, + "type": "object", + "properties": { + "allowImplicitFuncEval": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description%", + "default": true + }, + "allowToString": { + "type": "boolean", + "markdownDescription": "%generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription%", + "default": true + }, + "allowFastEvaluate": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description%", + "default": true + }, + "showRawValues": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.showRawValues.description%", + "default": false + } + } }, "targetOutputLogPath": { "type": "string", @@ -3279,15 +3338,37 @@ "enabled": { "title": "boolean", "markdownDescription": "%generateOptionsSchema.sourceLinkOptions.additionalItems.enabled.markdownDescription%", - "default": "true" + "default": true } } } }, - "allowFastEvaluate": { - "type": "boolean", - "description": "%generateOptionsSchema.allowFastEvaluate.description%", - "default": true + "expressionEvaluationOptions": { + "description": "%generateOptionsSchema.expressionEvaluationOptions.description%", + "default": {}, + "type": "object", + "properties": { + "allowImplicitFuncEval": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description%", + "default": true + }, + "allowToString": { + "type": "boolean", + "markdownDescription": "%generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription%", + "default": true + }, + "allowFastEvaluate": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description%", + "default": true + }, + "showRawValues": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.showRawValues.description%", + "default": false + } + } }, "targetArchitecture": { "type": "string", @@ -4065,15 +4146,37 @@ "enabled": { "title": "boolean", "markdownDescription": "%generateOptionsSchema.sourceLinkOptions.additionalItems.enabled.markdownDescription%", - "default": "true" + "default": true } } } }, - "allowFastEvaluate": { - "type": "boolean", - "description": "%generateOptionsSchema.allowFastEvaluate.description%", - "default": true + "expressionEvaluationOptions": { + "description": "%generateOptionsSchema.expressionEvaluationOptions.description%", + "default": {}, + "type": "object", + "properties": { + "allowImplicitFuncEval": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description%", + "default": true + }, + "allowToString": { + "type": "boolean", + "markdownDescription": "%generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription%", + "default": true + }, + "allowFastEvaluate": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description%", + "default": true + }, + "showRawValues": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.showRawValues.description%", + "default": false + } + } }, "targetOutputLogPath": { "type": "string", @@ -4575,15 +4678,37 @@ "enabled": { "title": "boolean", "markdownDescription": "%generateOptionsSchema.sourceLinkOptions.additionalItems.enabled.markdownDescription%", - "default": "true" + "default": true } } } }, - "allowFastEvaluate": { - "type": "boolean", - "description": "%generateOptionsSchema.allowFastEvaluate.description%", - "default": true + "expressionEvaluationOptions": { + "description": "%generateOptionsSchema.expressionEvaluationOptions.description%", + "default": {}, + "type": "object", + "properties": { + "allowImplicitFuncEval": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description%", + "default": true + }, + "allowToString": { + "type": "boolean", + "markdownDescription": "%generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription%", + "default": true + }, + "allowFastEvaluate": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description%", + "default": true + }, + "showRawValues": { + "type": "boolean", + "description": "%generateOptionsSchema.expressionEvaluationOptions.showRawValues.description%", + "default": false + } + } }, "targetArchitecture": { "type": "string", diff --git a/package.nls.json b/package.nls.json index 9ced594ca..f84c214fa 100644 --- a/package.nls.json +++ b/package.nls.json @@ -385,7 +385,21 @@ "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." ] }, - "generateOptionsSchema.allowFastEvaluate.description": "When true (the default state), the debugger will attempt faster evaluation by simulating execution of simple properties and methods.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": { + "message": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "comment": [ + "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." + ] + }, + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": { + "message": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "comment": [ + "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." + ] + }, + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "When true (the default state), the debugger will attempt faster evaluation by simulating execution of simple properties and methods.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.targetOutputLogPath.description": "When set, text that the target application writes to stdout and stderr (ex: Console.WriteLine) will be saved to the specified file. This option is ignored if console is set to something other than internalConsole. E.g. '${workspaceFolder}/out.txt'", "generateOptionsSchema.targetArchitecture.markdownDescription": { "message": "[Only supported in local macOS debugging]\n\nThe architecture of the debuggee. This will automatically be detected unless this parameter is set. Allowed values are `x86_64` or `arm64`.", @@ -417,4 +431,4 @@ "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." ] } -} +} \ No newline at end of file diff --git a/src/tools/OptionsSchema.json b/src/tools/OptionsSchema.json index d10c80dc9..ab1c53bf8 100644 --- a/src/tools/OptionsSchema.json +++ b/src/tools/OptionsSchema.json @@ -453,10 +453,10 @@ "*": { "enabled": true } } }, - "allowFastEvaluate": { - "type": "boolean", - "description": "When true (the default state), the debugger will attempt faster evaluation by simulating execution of simple properties and methods.", - "default": true + "expressionEvaluationOptions": { + "$ref": "#/definitions/ExpressionEvaluationOptions", + "description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "default": {} }, "targetOutputLogPath": { "type": "string", @@ -549,10 +549,10 @@ "*": { "enabled": true } } }, - "allowFastEvaluate": { - "type": "boolean", - "description": "When true (the default state), the debugger will attempt faster evaluation by simulating execution of simple properties and methods.", - "default": true + "expressionEvaluationOptions": { + "$ref": "#/definitions/ExpressionEvaluationOptions", + "description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "default": {} }, "targetArchitecture": { "type": "string", @@ -570,10 +570,37 @@ "enabled": { "title": "boolean", "markdownDescription": "Is Source Link enabled for this URL? If unspecified, this option defaults to `true`.", - "default": "true" + "default": true } } } + }, + "ExpressionEvaluationOptions": { + "type": "object", + "description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "default": {}, + "properties": { + "allowImplicitFuncEval": { + "type": "boolean", + "description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "default": true + }, + "allowToString": { + "type": "boolean", + "markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "default": true + }, + "allowFastEvaluate": { + "type": "boolean", + "description": "When true (the default state), the debugger will attempt faster evaluation by simulating execution of simple properties and methods.", + "default": true + }, + "showRawValues": { + "type": "boolean", + "description": "When true, the debugger will show raw structure of objects in variables windows.", + "default": false + } + } } } } From a109552c7acd60e7e098d4a5292a7d9f09823e2a Mon Sep 17 00:00:00 2001 From: David Barbet Date: Tue, 7 May 2024 11:42:41 -0700 Subject: [PATCH 23/35] Update CONTRIBUTING.md to mention required upstream permissions --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9d544aef4..faf699939 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -146,6 +146,8 @@ To package this extension, we need to create VSIX Packages. The VSIX packages ca ## Updating the `Roslyn` Language Server Version +In order to pull in new packages from upstreams into the msft_consumption feed we use for restoring, you will need to be a member of the 'CSharp VS Code Extension contributors' group in the [Azure Devops instance](https://dev.azure.com/azure-public/vside/_settings/teams). + To update the version of the roslyn server used by the extension do the following: 1. Find the the Roslyn signed build you want from [here](https://dnceng.visualstudio.com/internal/_build?definitionId=327&_a=summary). Typically the latest successful build of main is fine. 2. In the official build stage, look for the `Publish Assets` step. In there you will see it publishing the `Microsoft.CodeAnalysis.LanguageServer.neutral` package with some version, e.g. `4.6.0-3.23158.4`. Take note of that version number. From 55bbafec1eb21567daa5ad3edd1ff51631d36b3b Mon Sep 17 00:00:00 2001 From: Bret Johnson Date: Tue, 7 May 2024 15:10:53 -0400 Subject: [PATCH 24/35] Bump xamlTools (Microsoft.VisualStudio.DesignToolsBase package) to the latest --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 70b1c5c55..706008083 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "razor": "7.0.0-preview.24178.4", "razorOmnisharp": "7.0.0-preview.23363.1", "razorTelemetry": "7.0.0-preview.24178.4", - "xamlTools": "17.11.34830.29" + "xamlTools": "17.11.34907.35" }, "main": "./dist/extension", "l10n": "./l10n", From ed8af35f454bdb0ba5e6b5a1646102912f089ae9 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Tue, 7 May 2024 12:48:35 -0700 Subject: [PATCH 25/35] Update guardian baselines from https://dev.azure.com/dnceng/internal/_git/63e32aa5-8db9-4c0d-8886-e8ec4b36e8d7/pullrequest/38584 --- .config/1espt/PipelineAutobaseliningConfig.yml | 4 ++++ .config/guardian/.gdnbaselines | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.config/1espt/PipelineAutobaseliningConfig.yml b/.config/1espt/PipelineAutobaseliningConfig.yml index 5447bcf28..c8503857b 100644 --- a/.config/1espt/PipelineAutobaseliningConfig.yml +++ b/.config/1espt/PipelineAutobaseliningConfig.yml @@ -10,11 +10,15 @@ pipelines: lastModifiedDate: 2024-03-18 armory: lastModifiedDate: 2024-03-18 + psscriptanalyzer: + lastModifiedDate: 2024-04-19 binary: credscan: lastModifiedDate: 2024-03-18 binskim: lastModifiedDate: 2024-03-18 + spotbugs: + lastModifiedDate: 2024-04-19 1264: retail: source: diff --git a/.config/guardian/.gdnbaselines b/.config/guardian/.gdnbaselines index 2954e5292..d4098ed00 100644 --- a/.config/guardian/.gdnbaselines +++ b/.config/guardian/.gdnbaselines @@ -21,9 +21,9 @@ ], "tool": "credscan", "ruleId": "CSCAN-GENERAL0020", - "createdDate": "2024-03-27 17:49:11Z", - "expirationDate": "2024-09-13 17:51:28Z", - "justification": "This error is baselined with an expiration date of 180 days from 2024-03-27 17:51:28Z" + "createdDate": "2024-04-19 18:19:20Z", + "expirationDate": "2024-10-06 18:25:02Z", + "justification": "This error is baselined with an expiration date of 180 days from 2024-04-19 18:25:02Z" } } } \ No newline at end of file From 7cfdb983606cf5cf725aca129ab4723ab779d8aa Mon Sep 17 00:00:00 2001 From: David Barbet Date: Tue, 7 May 2024 16:04:09 -0700 Subject: [PATCH 26/35] Add temporary option to allow suppression of recoverable LSP error toasts --- package.json | 5 ++++ package.nls.json | 1 + src/lsptoolshost/roslynLanguageClient.ts | 32 +++++++++++++++++++++++- src/shared/options.ts | 4 +++ 4 files changed, 41 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 669a394fe..a38d3343c 100644 --- a/package.json +++ b/package.json @@ -1666,6 +1666,11 @@ "default": null, "description": "%configuration.dotnet.server.crashDumpPath%" }, + "dotnet.server.suppressLspErrorToasts": { + "type": "boolean", + "default": false, + "description": "%configuration.dotnet.server.suppressLspErrorToasts%" + }, "dotnet.projects.binaryLogPath": { "scope": "machine-overridable", "type": "string", diff --git a/package.nls.json b/package.nls.json index 9ced594ca..f58fa7bb9 100644 --- a/package.nls.json +++ b/package.nls.json @@ -31,6 +31,7 @@ "configuration.dotnet.server.trace": "Sets the logging level for the language server", "configuration.dotnet.server.extensionPaths": "Override for path to language server --extension arguments", "configuration.dotnet.server.crashDumpPath": "Sets a folder path where crash dumps are written to if the language server crashes. Must be writeable by the user.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.projects.enableAutomaticRestore": "Enables automatic NuGet restore if the extension detects assets are missing.", "configuration.dotnet.preferCSharpExtension": "Forces projects to load with the C# extension only. This can be useful when using legacy project types that are not supported by C# Dev Kit. (Requires window reload)", "configuration.dotnet.implementType.insertionBehavior": "The insertion location of properties, events, and methods When implement interface or abstract class.", diff --git a/src/lsptoolshost/roslynLanguageClient.ts b/src/lsptoolshost/roslynLanguageClient.ts index f35e1e8c6..bb2effa29 100644 --- a/src/lsptoolshost/roslynLanguageClient.ts +++ b/src/lsptoolshost/roslynLanguageClient.ts @@ -3,9 +3,16 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -import { LanguageClient, LanguageClientOptions, ServerOptions } from 'vscode-languageclient/node'; +import { + CancellationToken, + LanguageClient, + LanguageClientOptions, + MessageSignature, + ServerOptions, +} from 'vscode-languageclient/node'; import CompositeDisposable from '../compositeDisposable'; import { IDisposable } from '../disposable'; +import { languageServerOptions } from '../shared/options'; /** * Implementation of the base LanguageClient type that allows for additional items to be disposed of @@ -14,6 +21,8 @@ import { IDisposable } from '../disposable'; export class RoslynLanguageClient extends LanguageClient { private readonly _disposables: CompositeDisposable; + //private readonly Map< + constructor( id: string, name: string, @@ -31,6 +40,27 @@ export class RoslynLanguageClient extends LanguageClient { return super.dispose(timeout); } + override handleFailedRequest( + type: MessageSignature, + token: CancellationToken | undefined, + error: any, + defaultValue: T, + showNotification?: boolean + ) { + // Temporarily allow LSP error toasts to be suppressed if configured. + // There are a few architectural issues preventing us from solving some of the underlying problems, + // for example Razor cohosting to fix text mismatch issues and unification of serialization libraries + // to fix URI identification issues. Once resolved, we should remove this option. + // + // See also https://github.com/microsoft/vscode-dotnettools/issues/722 + // https://github.com/dotnet/vscode-csharp/issues/6973 + // https://github.com/microsoft/vscode-languageserver-node/issues/1449 + if (languageServerOptions.suppressLspErrorToasts) { + return super.handleFailedRequest(type, token, error, defaultValue, false); + } + return super.handleFailedRequest(type, token, error, defaultValue, showNotification); + } + /** * Adds a disposable that should be disposed of when the LanguageClient instance gets disposed. */ diff --git a/src/shared/options.ts b/src/shared/options.ts index 2fb34f869..1b9f5ca48 100644 --- a/src/shared/options.ts +++ b/src/shared/options.ts @@ -77,6 +77,7 @@ export interface LanguageServerOptions { readonly crashDumpPath: string | undefined; readonly analyzerDiagnosticScope: string; readonly compilerDiagnosticScope: string; + readonly suppressLspErrorToasts: boolean; } export interface RazorOptions { @@ -397,6 +398,9 @@ class LanguageServerOptionsImpl implements LanguageServerOptions { public get compilerDiagnosticScope() { return readOption('dotnet.backgroundAnalysis.compilerDiagnosticsScope', 'openFiles'); } + public get suppressLspErrorToasts() { + return readOption('dotnet.server.suppressLspErrorToasts', false); + } } class RazorOptionsImpl implements RazorOptions { From 48dc5967e25924d1b927e4bba049927efaa2878a Mon Sep 17 00:00:00 2001 From: dotnet-bot Date: Wed, 8 May 2024 17:45:43 +0000 Subject: [PATCH 27/35] Localization result of cc599a73fbebc9f76f55106b17046a05afd26b74. --- package.nls.cs.json | 6 +++++- package.nls.de.json | 6 +++++- package.nls.es.json | 6 +++++- package.nls.fr.json | 6 +++++- package.nls.it.json | 6 +++++- package.nls.ja.json | 6 +++++- package.nls.ko.json | 6 +++++- package.nls.pl.json | 6 +++++- package.nls.pt-br.json | 6 +++++- package.nls.ru.json | 6 +++++- package.nls.tr.json | 6 +++++- package.nls.zh-cn.json | 6 +++++- package.nls.zh-tw.json | 6 +++++- 13 files changed, 65 insertions(+), 13 deletions(-) diff --git a/package.nls.cs.json b/package.nls.cs.json index 7dc8a8087..bc577256c 100644 --- a/package.nls.cs.json +++ b/package.nls.cs.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: Spustit projekt C#", "debuggers.dotnet.launch.launchConfigurationId.description": "ID konfigurace spuštění, které se má použít. Pokud je řetězec prázdný, použije se aktuální aktivní konfigurace.", "debuggers.dotnet.launch.projectPath.description": "Cesta k souboru .csproj.", - "generateOptionsSchema.allowFastEvaluate.description": "Při hodnotě true (výchozí stav) se ladicí program pokusí o rychlejší vyhodnocení tím, že provede simulaci provádění jednoduchých vlastností a metod.", "generateOptionsSchema.args.0.description": "Argumenty příkazového řádku, které se předávají do programu", "generateOptionsSchema.args.1.description": "Řetězcová verze argumentů příkazového řádku, které se předávají do programu.", "generateOptionsSchema.checkForDevCert.description": "Pokud spouštíte webový projekt ve Windows nebo macOS a tato možnost je povolená, ladicí program zkontroluje, jestli má počítač certifikát HTTPS podepsaný svým držitelem, který se používá k vývoji webových serverů běžících na koncových bodech HTTPS. Pokud není tato možnost zadaná, použije se při nastaveném serverReadyAction výchozí hodnota true. Tato možnost neprovádí nic v linuxových scénářích, scénářích se vzdáleným VS Code a scénářích s webovým uživatelským rozhraním VS Code. Pokud se certifikát HTTPS nenajde nebo není důvěryhodný, zobrazí se uživateli výzva k jeho instalaci nebo k důvěřování.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "Příznakem povolíte krokování nad vlastnostmi a operátory. Výchozí hodnota této možnosti je true.", "generateOptionsSchema.env.description": "Proměnné prostředí se předaly programu.", "generateOptionsSchema.envFile.markdownDescription": "Proměnné prostředí předané do programu souborem. Příklad: ${workspaceFolder}/.env", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Při hodnotě true (výchozí stav) se ladicí program pokusí o rychlejší vyhodnocení tím, že provede simulaci provádění jednoduchých vlastností a metod.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "Atribut externalConsole je zastaralý.Použijte místo něj argument console. Výchozí hodnota této možnosti je false.", "generateOptionsSchema.justMyCode.markdownDescription": "Pokud je tato možnost povolená (výchozí), ladicí program zobrazí a vkročí do uživatelského kódu (Můj kód), přičemž ignoruje systémový kód a další kód, který je optimalizovaný nebo který nemá symboly ladění. [Další informace](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Argumenty, které se mají předat příkazu pro otevření prohlížeče. Používá se jenom v případě, že element specifický pro platformu (osx, linux nebo windows) neurčuje hodnotu pro args. Pomocí ${auto-detect-url} můžete automaticky použít adresu, na které server naslouchá.", diff --git a/package.nls.de.json b/package.nls.de.json index b1e4f7e63..b3ca586ca 100644 --- a/package.nls.de.json +++ b/package.nls.de.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: C#-Projekt starten", "debuggers.dotnet.launch.launchConfigurationId.description": "Die zu verwendende Startkonfigurations-ID. Eine leere Zeichenfolge verwendet die aktuelle aktive Konfiguration.", "debuggers.dotnet.launch.projectPath.description": "Pfad zur CSPROJ-Datei.", - "generateOptionsSchema.allowFastEvaluate.description": "Bei \"true\" (Standardzustand) versucht der Debugger eine schnellere Auswertung, indem er die Ausführung einfacher Eigenschaften und Methoden simuliert.", "generateOptionsSchema.args.0.description": "Befehlszeilenargumente, die an das Programm übergeben werden.", "generateOptionsSchema.args.1.description": "An das Programm übergebene Zeichenfolgenversion von Befehlszeilenargumenten.", "generateOptionsSchema.checkForDevCert.description": "Wenn Sie ein Webprojekt unter Windows oder macOS starten und dies aktiviert ist, überprüft der Debugger, ob der Computer über ein selbstsigniertes HTTPS-Zertifikat verfügt, das zum Entwickeln von Webservern verwendet wird, die auf HTTPS-Endpunkten ausgeführt werden. Wenn nicht angegeben, wird standardmäßig \"true\" verwendet, wenn \"serverReadyAction\" festgelegt ist. Mit dieser Option werden keine Linux-, VS Code-Remote- und VS Code-Webbenutzeroberflächenszenarien ausgeführt. Wenn das HTTPS-Zertifikat nicht gefunden wird oder nicht vertrauenswürdig ist, wird der Benutzer aufgefordert, es zu installieren bzw. ihm zu vertrauen.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "Kennzeichnung zum Aktivieren des Schrittweisen Ausführens von Eigenschaften und Operatoren. Diese Option wird standardmäßig auf \"true\" festgelegt.", "generateOptionsSchema.env.description": "Umgebungsvariablen, die an das Programm übergeben werden.", "generateOptionsSchema.envFile.markdownDescription": "Umgebungsvariablen, die von einer Datei an das Programm übergeben werden. Beispiel: \"${workspaceFolder}/.env\"", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Bei \"true\" (Standardzustand) versucht der Debugger eine schnellere Auswertung, indem er die Ausführung einfacher Eigenschaften und Methoden simuliert.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "Das Attribut \"externalConsole\" ist veraltet. Verwenden Sie stattdessen \"console\". Diese Option ist standardmäßig auf \"false\" festgelegt.", "generateOptionsSchema.justMyCode.markdownDescription": "Wenn diese Option aktiviert ist (Standardeinstellung), wird der Debugger nur angezeigt und in den Benutzercode (\"Mein Code\") eingeschritten. Dabei werden Systemcode und anderer Code ignoriert, der optimiert ist oder über keine Debugsymbole verfügt. [Weitere Informationen](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Die Argumente, die an den Befehl übergeben werden sollen, um den Browser zu öffnen. Dies wird nur verwendet, wenn das plattformspezifische Element (\"osx\", \"linux\" oder \"windows\") keinen Wert für \"args\" angibt. Verwenden Sie ${auto-detect-url}, um automatisch die Adresse zu verwenden, an der der Server lauscht.", diff --git a/package.nls.es.json b/package.nls.es.json index 8edfbd7a8..a28724048 100644 --- a/package.nls.es.json +++ b/package.nls.es.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: Iniciar proyecto de C#", "debuggers.dotnet.launch.launchConfigurationId.description": "Identificador de configuración de inicio que se va a usar. La cadena vacía usará la configuración activa actual.", "debuggers.dotnet.launch.projectPath.description": "Ruta de acceso al archivo .csproj.", - "generateOptionsSchema.allowFastEvaluate.description": "Cuando es true (el estado predeterminado), el depurador intentará una evaluación más rápida simulando la ejecución de propiedades y métodos simples.", "generateOptionsSchema.args.0.description": "Argumentos de la línea de comandos que se pasan al programa.", "generateOptionsSchema.args.1.description": "Versión en cadena de los argumentos de la línea de comandos pasados al programa.", "generateOptionsSchema.checkForDevCert.description": "Si va a iniciar un proyecto web en Windows o macOS y está habilitado, el depurador comprobará si el equipo tiene un certificado HTTPS autofirmado que se usa para desarrollar servidores web que se ejecutan en puntos de conexión HTTPS. Si no se especifica, el valor predeterminado es true cuando se establece “serverReadyAction”. Esta opción no hace nada en escenarios de Linux, VS Code remoto e interfaz de usuario web de VS Code. Si no se encuentra el certificado HTTPS o no es de confianza, se pedirá al usuario que lo instale o confíe en él.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "Marca para habilitar la ejecución paso a paso de las propiedades y los operadores. Esta opción tiene como valor predeterminado \"true\".", "generateOptionsSchema.env.description": "Variables de entorno pasadas al programa.", "generateOptionsSchema.envFile.markdownDescription": "Variables de entorno pasadas al programa por un archivo. Por ejemplo, \"${workspaceFolder}/.env\"", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Cuando es true (el estado predeterminado), el depurador intentará una evaluación más rápida simulando la ejecución de propiedades y métodos simples.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "El atributo \"externalConsole\" está en desuso; use \"console\" en su lugar. El valor predeterminado de esta opción es \"false\".", "generateOptionsSchema.justMyCode.markdownDescription": "Cuando está habilitado (valor predeterminado), el depurador solo muestra y avanza en el código de usuario (\"Mi código\"), omitiendo el código del sistema y otro código que está optimizado o que no tiene símbolos de depuración. [Obtener más información](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Argumentos que se van a pasar al comando para abrir el explorador. Solo se usa si el elemento específico de la plataforma (“osx”, “linux” o “windows”) no especifica un valor para “args”. Use ${auto-detect-url} para usar automáticamente la dirección a la que escucha el servidor.", diff --git a/package.nls.fr.json b/package.nls.fr.json index b88661488..7d675e9d8 100644 --- a/package.nls.fr.json +++ b/package.nls.fr.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: Lancer le projet C#", "debuggers.dotnet.launch.launchConfigurationId.description": "ID de configuration de lancement à utiliser. Une chaîne vide utilisera la configuration active actuelle.", "debuggers.dotnet.launch.projectPath.description": "Chemin du fichier .csproj.", - "generateOptionsSchema.allowFastEvaluate.description": "Quand la valeur est true (état par défaut), le débogueur tente une évaluation plus rapide en simulant l’exécution de propriétés et de méthodes simples.", "generateOptionsSchema.args.0.description": "Arguments de ligne de commande passés au programme.", "generateOptionsSchema.args.1.description": "Version en chaîne des arguments de ligne de commande passés au programme.", "generateOptionsSchema.checkForDevCert.description": "Si vous lancez un projet web sur Windows ou macOS et que cette option est activée, le débogueur case activée si l’ordinateur dispose d’un certificat HTTPS auto-signé utilisé pour développer des serveurs web s’exécutant sur des points de terminaison HTTPS. Si la valeur n’est pas spécifiée, la valeur par défaut est true lorsque « serverReadyAction » est défini. Cette option ne fonctionne pas sur Linux, VS Code à distance et VS Code scénarios d’interface utilisateur web. Si le certificat HTTPS est introuvable ou s’il n’est pas approuvé, l’utilisateur est invité à l’installer/approuver.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "Indicateur permettant d’activer l’exécution pas à pas sur les propriétés et les opérateurs. Cette option a la valeur par défaut 'true'.", "generateOptionsSchema.env.description": "Variables d'environnement passées au programme.", "generateOptionsSchema.envFile.markdownDescription": "Variables d’environnement passées au programme par un fichier. Par ex., « ${workspaceFolder}/.env »", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Quand la valeur est true (état par défaut), le débogueur tente une évaluation plus rapide en simulant l’exécution de propriétés et de méthodes simples.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "L’attribut « externalConsole » est déprécié. Utilisez plutôt « console ». Cette option a la valeur par défaut « false ».", "generateOptionsSchema.justMyCode.markdownDescription": "Lorsqu’il est activé (valeur par défaut), le débogueur affiche uniquement le code utilisateur (« Mon code »), en ignorant le code système et tout autre code optimisé ou qui n’a pas de symboles de débogage. [Pour en savoir plus](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Arguments à passer à la commande pour ouvrir le navigateur. Ceci est utilisé uniquement si l’élément spécifique à la plateforme ('osx', 'linux' ou 'windows') ne spécifie pas de valeur pour 'args'. Utilisez ${auto-detect-url} pour utiliser automatiquement l’adresse que le serveur écoute.", diff --git a/package.nls.it.json b/package.nls.it.json index cb2caca03..fb10cc7f5 100644 --- a/package.nls.it.json +++ b/package.nls.it.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: Launch C# project", "debuggers.dotnet.launch.launchConfigurationId.description": "ID configurazione di avvio da usare. Se la stringa è vuota, verrà usata la configurazione attiva corrente.", "debuggers.dotnet.launch.projectPath.description": "Percorso del file con estensione csproj.", - "generateOptionsSchema.allowFastEvaluate.description": "Se impostato su true (che è lo stato predefinito), il debugger cercherà di effettuare una valutazione più rapida, simulando l'esecuzione di metodi e proprietà semplici.", "generateOptionsSchema.args.0.description": "Argomenti della riga di comando passati al programma.", "generateOptionsSchema.args.1.description": "Versione in formato stringa degli argomenti della riga di comando passati al programma.", "generateOptionsSchema.checkForDevCert.description": "Se si avvia un progetto Web in Windows o macOS e questa opzione è abilitata, il debugger verificherà se nel computer è presente un certificato HTTPS autofirmato usato per sviluppare server Web in esecuzione negli endpoint HTTPS. Se non viene specificato, il valore predefinito sarà true quando viene impostato 'serverReadyAction'. Questa opzione non ha effetto in scenari Linux, VS Code remoto o VS Code per il Web. Se il certificato HTTPS non viene trovato o non è considerato affidabile, verrà richiesto all'utente di installarlo o di considerarlo attendibile.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "Flag per abilitare il passaggio di proprietà e operatori. L'impostazione predefinita di questa opzione è 'true'.", "generateOptionsSchema.env.description": "Variabili di ambiente passate al programma.", "generateOptionsSchema.envFile.markdownDescription": "Variabili di ambiente passate al programma da un file. Ad esempio: '${workspaceFolder}/.env'", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Se impostato su true (che è lo stato predefinito), il debugger cercherà di effettuare una valutazione più rapida, simulando l'esecuzione di metodi e proprietà semplici.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "Se è true (lo stato predefinito), il debugger chiamerà automaticamente i metodi \"get\" della proprietà e altre chiamate di funzione implicite.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "Se true (lo stato predefinito), il debugger chiamerà automaticamente \"ToString\" per formattare gli oggetti. Questa opzione non ha effetto se \"allowImplicitFuncEval\" è \"false\".", + "generateOptionsSchema.expressionEvaluationOptions.description": "Opzioni per controllare il modo in cui il debugger valuta le espressioni nei suggerimenti dati, nelle sezioni \"Elenco di controllo\" e \"Variabili\" della vista di debug o nella Console di debug.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "Se è true, il debugger mostrerà la struttura non elaborata degli oggetti nelle finestre delle variabili.", "generateOptionsSchema.externalConsole.markdownDescription": "L'attributo 'externalConsole' è deprecato. Usare 'console'. L'impostazione predefinita di questa opzione è 'false'.", "generateOptionsSchema.justMyCode.markdownDescription": "Quando abilitato (il valore predefinito), il debugger mostra ed esegue solo il codice utente (\"My Code\"), ignorando il codice di sistema e altro codice che è ottimizzato o che non ha simboli di debug. [Altre informazioni](https://aka.ms/VSCode-CS-LaunchJson#just-my-code)", "generateOptionsSchema.launchBrowser.args.description": "Gli argomenti da passare al comando per aprire il browser. Viene usato solo se l'elemento specifico della piattaforma ('osx', 'linux' o 'windows') non specifica un valore per 'args'. Utilizzare ${auto-detect-url} per usare automaticamente l'indirizzo che il server sta ascoltando.", diff --git a/package.nls.ja.json b/package.nls.ja.json index 9c0892667..17f0cb405 100644 --- a/package.nls.ja.json +++ b/package.nls.ja.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: C# プロジェクトの起動", "debuggers.dotnet.launch.launchConfigurationId.description": "使用する起動構成 ID。空の場合は現在アクティブな構成が使用されます。", "debuggers.dotnet.launch.projectPath.description": ".csproj ファイルへのパス。", - "generateOptionsSchema.allowFastEvaluate.description": "true (既定の状態) の場合、デバッガーは単純なプロパティとメソッドの実行をシミュレーションすることで、より高速な評価を試みます。", "generateOptionsSchema.args.0.description": "プログラムに渡すコマンド ライン引数。", "generateOptionsSchema.args.1.description": "プログラムに渡されるコマンド ライン引数の文字列化バージョン。", "generateOptionsSchema.checkForDevCert.description": "Windows または macOS で Web プロジェクトを起動していて、これを有効にしているときにこのオプションを有効にすると、デバッガーはコンピューターに https エンドポイントで実行中の Web サーバーを開発するために使用される自己署名証明書がコンピューターにあるかどうかを確認します。指定しない場合、'serverReadyAction' が設定されていると既定値は true になります。このオプションは、Linux、VS Code リモート、および VS Code Web UI シナリオでは何もしません。HTTPS 証明書が見つからないか、または信頼されていない場合は、証明書をインストールまたは信頼するよう求めるメッセージがユーザーに表示されます。", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "プロパティと演算子のステップ オーバーを有効にするフラグ。このオプションの既定値は 'true' です。", "generateOptionsSchema.env.description": "プログラムに渡される環境変数。", "generateOptionsSchema.envFile.markdownDescription": "ファイルによってプログラムに渡される環境変数。例: `${workspaceFolder}/.env`", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "true (既定の状態) の場合、デバッガーは単純なプロパティとメソッドの実行をシミュレーションすることで、より高速な評価を試みます。", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "属性 `externalConsole` は非推奨です。代わりに `console` を使用してください。このオプションの既定値は `false` です。", "generateOptionsSchema.justMyCode.markdownDescription": "有効 (既定) の場合、デバッガーはユーザー コード (\"マイ コード\") のみを表示してステップ インし、最適化されたシステム コードやその他のコード、またはデバッグ シンボルを含まないコードを無視します。[詳細情報](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "ブラウザーを開くためにコマンドに渡す引数。これは、プラットフォーム固有の要素 ('osx'、'linux'、または 'windows') で 'args' の値が指定されていない場合にのみ使用されます。${auto-detect-url} を使用して、サーバーがリッスンしているアドレスを自動的に使用します。", diff --git a/package.nls.ko.json b/package.nls.ko.json index ea49e5de0..8621858c3 100644 --- a/package.nls.ko.json +++ b/package.nls.ko.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: C# 프로젝트 시작", "debuggers.dotnet.launch.launchConfigurationId.description": "사용할 시작 구성 ID입니다. 빈 문자열은 현재 활성 구성을 사용합니다.", "debuggers.dotnet.launch.projectPath.description": ".csproj 파일의 경로입니다.", - "generateOptionsSchema.allowFastEvaluate.description": "true(기본 상태)인 경우 디버거는 간단한 속성 및 메서드 실행을 시뮬레이션하여 더 빠른 평가를 시도합니다.", "generateOptionsSchema.args.0.description": "프로그램에 전달된 명령줄 인수입니다.", "generateOptionsSchema.args.1.description": "프로그램에 전달된 명령줄 인수의 문자열화된 버전입니다.", "generateOptionsSchema.checkForDevCert.description": "Windows 또는 macOS에서 웹 프로젝트를 시작하고 이것이 활성화된 경우 디버거는 https 엔드포인트에서 실행되는 웹 서버를 개발하는 데 사용되는 자체 서명된 HTTPS 인증서가 컴퓨터에 있는지 확인합니다. 지정되지 않은 경우 `serverReadyAction`이 설정되면 기본값은 true입니다. 이 옵션은 Linux, VS Code 원격 및 VS Code 웹 UI 시나리오에서는 아무 작업도 수행하지 않습니다. HTTPS 인증서를 찾을 수 없거나 신뢰할 수 없는 경우 사용자에게 이를 설치/신뢰하라는 메시지가 표시됩니다.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "속성 및 연산자 건너뛰기를 활성화하는 플래그입니다. 이 옵션의 기본값은 `true`입니다.", "generateOptionsSchema.env.description": "프로그램에 전달된 환경 변수입니다.", "generateOptionsSchema.envFile.markdownDescription": "파일에 의해 프로그램에 전달되는 환경 변수입니다(예: `${workspaceFolder}/.env`).", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "true(기본 상태)인 경우 디버거는 간단한 속성 및 메서드 실행을 시뮬레이션하여 더 빠른 평가를 시도합니다.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "`externalConsole` 속성은 더 이상 사용되지 않습니다. 대신 `console`을 사용하세요. 이 옵션의 기본값은 `false`입니다.", "generateOptionsSchema.justMyCode.markdownDescription": "활성화된 경우(기본값) 디버거는 사용자 코드(\"내 코드\")만 표시하고 단계적으로 들어가며 시스템 코드 및 최적화되었거나 디버깅 기호가 없는 기타 코드는 무시합니다. [정보 더 보기](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "브라우저를 여는 명령에 전달할 인수입니다. 플랫폼별 요소(`osx`, `linux` 또는 `windows`)가 `args`에 대한 값을 지정하지 않는 경우에만 사용됩니다. ${auto-detect-url}을(를) 사용하여 서버가 수신하는 주소를 자동으로 사용하세요.", diff --git a/package.nls.pl.json b/package.nls.pl.json index f3ad3858d..e7b920b50 100644 --- a/package.nls.pl.json +++ b/package.nls.pl.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: Uruchom projekt języka C#", "debuggers.dotnet.launch.launchConfigurationId.description": "Identyfikator konfiguracji uruchamiania do użycia. Pusty ciąg znaków spowoduje użycie bieżącej aktywnej konfiguracji.", "debuggers.dotnet.launch.projectPath.description": "Ścieżka do pliku .csproj.", - "generateOptionsSchema.allowFastEvaluate.description": "W przypadku wartości true (stan domyślny) debuger podejmie próbę szybszego obliczania, symulując wykonywanie prostych właściwości i metod.", "generateOptionsSchema.args.0.description": "Argumenty wiersza polecenia przekazywane do programu.", "generateOptionsSchema.args.1.description": "Wersja konwertowana na ciąg argumentów wiersza polecenia przekazanych do programu.", "generateOptionsSchema.checkForDevCert.description": "Jeśli uruchamiasz projekt sieci Web w systemie Windows lub macOS i jest on włączony, debuger sprawdzi, czy komputer ma certyfikat HTTPS z podpisem własnym używany do tworzenia serwerów internetowych działających w punktach końcowych HTTPS. Jeśli nie zostanie określona, wartością domyślną będzie true, gdy ustawiona jest wartość„serverReadyAction”. Ta opcja nie pełni żadnej funkcji w scenariuszach interfejsu użytkownika systemu Linux, zdalnego VS Code i VS Code w sieci Web. Jeśli certyfikat HTTPS nie zostanie znaleziony lub nie będzie zaufany, użytkownik zostanie poproszony o zainstalowanie lub zaufanie.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "Flaga umożliwiająca przejście przez właściwości i operatory. Ta opcja jest domyślnie ustawiona na wartość „true”.", "generateOptionsSchema.env.description": "Zmienne środowiskowe przekazywane do programu.", "generateOptionsSchema.envFile.markdownDescription": "Zmienne środowiskowe przekazywane do programu przez plik, np. „${workspaceFolder}/.env”", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "W przypadku wartości true (stan domyślny) debuger podejmie próbę szybszego obliczania, symulując wykonywanie prostych właściwości i metod.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "Atrybut „externalConsole” jest przestarzały. Użyj zamiast niego atrybutu „console”. Ta opcja jest ustawiona domyślnie na wartość „false”.", "generateOptionsSchema.justMyCode.markdownDescription": "Gdy ta opcja jest włączona (wartość domyślna), debuger wyświetla tylko kod użytkownika dotyczący informacji o krokach („Mój kod”), ignorując kod systemowy i inny zoptymalizowany kod lub który nie ma symboli debugowania. [Więcej informacji](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Argumenty do przekazania do polecenia w celu otwarcia przeglądarki. Jest to używane tylko wtedy, gdy element specyficzny dla platformy („osx”, „linux” lub „windows”) nie określa wartości dla elementu „args”. Użyj *polecenia ${auto-detect-url}, aby automatycznie używać adresu, na którym nasłuchuje serwer.", diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index 1b200a631..8972f47fd 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: Iniciar projeto C#", "debuggers.dotnet.launch.launchConfigurationId.description": "A ID de configuração de inicialização a ser usada. A cadeia de caracteres vazia usará a configuração ativa atual.", "debuggers.dotnet.launch.projectPath.description": "Caminho para o arquivo .csproj.", - "generateOptionsSchema.allowFastEvaluate.description": "Quando verdadeiro (o estado padrão), o depurador tentará uma avaliação mais rápida simulando a execução de propriedades e métodos simples.", "generateOptionsSchema.args.0.description": "Argumentos de linha de comando passados para o programa.", "generateOptionsSchema.args.1.description": "Versão em cadeia de caracteres dos argumentos de linha de comando passada para o programa.", "generateOptionsSchema.checkForDevCert.description": "Se você estiver iniciando um projeto da Web no Windows ou macOS e isso estiver habilitado, o depurador verificará se o computador possui um certificado HTTPS autoassinado usado para desenvolver servidores da Web em execução em pontos de extremidade https. Se não especificado, o padrão é verdadeiro quando `serverReadyAction` é definido. Esta opção não faz nada no Linux, VS Code remoto e cenários de IU da Web do VS Code. Se o certificado HTTPS não for encontrado ou não for confiável, o usuário será solicitado a instalá-lo/confiar nele.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "Sinalizador para habilitar o passo a passo sobre Propriedades e Operadores. Esta opção é padronizada como `true`.", "generateOptionsSchema.env.description": "Variáveis de ambiente passadas para o programa.", "generateOptionsSchema.envFile.markdownDescription": "Variáveis de ambiente passadas para o programa por um arquivo. Por exemplo. `${workspaceFolder}/.env`", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Quando verdadeiro (o estado padrão), o depurador tentará uma avaliação mais rápida simulando a execução de propriedades e métodos simples.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "O atributo `externalConsole` está preterido, use `console` em seu lugar. Esta opção padrão é `false`.", "generateOptionsSchema.justMyCode.markdownDescription": "Quando ativado (o padrão), o depurador apenas exibe e entra no código do usuário (\"Meu Código\"), ignorando o código do sistema e outros códigos otimizados ou que não possuem símbolos de depuração. [Mais informações](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Os argumentos a serem passados ao comando para abrir o navegador. Isso é usado apenas se o elemento específico da plataforma (`osx`, `linux` ou `windows`) não especificar um valor para `args`. Use ${auto-detect-url} para usar automaticamente o endereço que o servidor está ouvindo.", diff --git a/package.nls.ru.json b/package.nls.ru.json index 9121d483c..9b75d33ac 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: запуск проекта C#", "debuggers.dotnet.launch.launchConfigurationId.description": "Используемый идентификатор конфигурации запуска. Если оставить эту строку пустой, будет использоваться текущая активная конфигурация.", "debuggers.dotnet.launch.projectPath.description": "Путь к файлу .csproj.", - "generateOptionsSchema.allowFastEvaluate.description": "Если присвоено значение true (состояние по умолчанию), отладчик попытается ускорить оценку, имитируя выполнение простых свойств и методов.", "generateOptionsSchema.args.0.description": "Аргументы командной строки, переданные в программу.", "generateOptionsSchema.args.1.description": "Строковая версия аргументов командной строки, переданных в программу.", "generateOptionsSchema.checkForDevCert.description": "Если вы запускаете веб-проект в Windows или macOS и этот параметр включен, отладчик выполнит проверку того, есть ли на компьютере самозаверяющий HTTPS-сертификат, используемый для разработки веб-серверов, которые работают в конечных точках HTTPS. Если значение не указано, по умолчанию применяется значение true, когда настроен параметр serverReadyAction. Этот параметр не выполняет никаких действий в Linux, удаленной среде VS Code и сценариях пользовательского веб-интерфейса VS Code. Если HTTPS-сертификат не найден или не является доверенным, пользователю будет предложено установить его или доверять ему.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "Флаг для включения обхода свойств и операторов. По умолчанию этот параметр принимает значение true.", "generateOptionsSchema.env.description": "Переменные среды, переданные в программу.", "generateOptionsSchema.envFile.markdownDescription": "Переменные среды, передаваемые в программу файлом. Например, \"${workspaceFolder}/.env\"", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Если присвоено значение true (состояние по умолчанию), отладчик попытается ускорить оценку, имитируя выполнение простых свойств и методов.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "Если настроено значение true (состояние по умолчанию), отладчик автоматически вызывает методы \"get\" свойства и другие неявные вызовы функций.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "Если настроено значение true (состояние по умолчанию), отладчик будет автоматически вызывать \"ToString\" для форматирования объектов. Этот параметр не действует, если для \"allowImplicitFuncEval\" присвоено значение false.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Параметры для управления тем, как отладчик оценивает выражения в подсказках к данным, разделах \"Контрольное значение\" и \"Переменные\" представления отладки или в консоли отладки.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "Если настроено значение true, отладчик будет отображать необработанную структуру объектов в окнах переменных.", "generateOptionsSchema.externalConsole.markdownDescription": "Атрибут externalConsole является нерекомендуемым. Используйте вместо него атрибут console. По умолчанию этот параметр принимает значение false.", "generateOptionsSchema.justMyCode.markdownDescription": "Если этот параметр включен (по умолчанию), отладчик отображает только пользовательский код (\"Мой код\"), игнорируя системный код и другой код, который оптимизирован или не содержит отладочных символов. [Дополнительные сведения](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Аргументы, передаваемые команде для открытия браузера. Используется, только если в элементе платформы (\"osx\", \"linux\" или \"windows\") не указано значение для \"args\". Используйте ${auto-detect-url}, чтобы автоматически применять адрес, прослушиваемый сервером.", diff --git a/package.nls.tr.json b/package.nls.tr.json index d429017bb..f6595386f 100644 --- a/package.nls.tr.json +++ b/package.nls.tr.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: C# projesini başlat", "debuggers.dotnet.launch.launchConfigurationId.description": "Kullanılacak başlatma yapılandırma kimliği. Boş dize, geçerli etkin yapılandırmayı kullanır.", "debuggers.dotnet.launch.projectPath.description": ".csproj dosyasının yolu.", - "generateOptionsSchema.allowFastEvaluate.description": "True olduğunda (varsayılan durum), hata ayıklayıcısı basit özelliklerin ve yöntemlerin yürütülmesinin simülasyonunu yaparak daha hızlı değerlendirmeyi dener.", "generateOptionsSchema.args.0.description": "Programa geçirilen komut satırı bağımsız değişkenleri.", "generateOptionsSchema.args.1.description": "Programa geçirilen komut satırı bağımsız değişkenlerinin dizeleştirilmiş sürümü.", "generateOptionsSchema.checkForDevCert.description": "Windows veya macOS üzerinde bir web projesi başlatıyorsanız ve bu etkinleştirilmişse hata ayıklayıcısı, bilgisayarda https uç noktalarında çalışan web sunucuları geliştirmek için kullanılan ve otomatik olarak imzalanan bir HTTPS sertifikası olup olmadığını denetler. Belirtilmezse 'serverReadyAction' ayarlandığında varsayılan olarak true değerini alır. Bu seçenek Linux, uzak VS Code ve VS Code web kullanıcı arabirimi senaryolarında işlem yapmaz. HTTPS sertifikası bulunmuyorsa veya sertifikaya güvenilmiyorsa kullanıcıdan sertifikayı yüklemesi/sertifikaya güvenmesi istenir.", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "Özellikler ve İşleçler üzerinde adımlamayı etkinleştiren bayrak. Bu seçenek varsayılan olarak `true` değerini alır.", "generateOptionsSchema.env.description": "Programa geçirilen ortam değişkenleri.", "generateOptionsSchema.envFile.markdownDescription": "Bir dosya tarafından programa geçirilen ortam değişkenleri. Ör. '${workspaceFolder}/.env'", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "True olduğunda (varsayılan durum), hata ayıklayıcısı basit özelliklerin ve yöntemlerin yürütülmesinin simülasyonunu yaparak daha hızlı değerlendirmeyi dener.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "`externalConsole` özniteliği kullanım dışı, bunun yerine `console` özniteliğini kullanın. Bu seçenek varsayılan olarak `false` değerini alır.", "generateOptionsSchema.justMyCode.markdownDescription": "Etkinleştirildiğinde (varsayılan) hata ayıklayıcısı, sistem kodunu ve iyileştirilmiş ya da hata ayıklama sembollerine sahip olmayan diğer kodu yok sayarak yalnızca kullanıcı kodunu (\"Kodum\") görüntüler ve bu koda geçer. [Daha fazla bilgi](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Tarayıcıyı açmak için komuta geçirilecek bağımsız değişkenler. Bu yalnızca platforma özgü öğe (`osx`, `linux` veya `windows`) `args` için bir değer belirtmiyorsa kullanılır. Sunucunun dinlediği adresi otomatik olarak kullanmak için ${auto-detect-url} kullanın.", diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index dd0a5c546..ed03e483c 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: 启动 C# 项目", "debuggers.dotnet.launch.launchConfigurationId.description": "要使用的启动配置 ID。空字符串将使用当前的活动配置。", "debuggers.dotnet.launch.projectPath.description": ".csproj 文件的路径。", - "generateOptionsSchema.allowFastEvaluate.description": "如果为 true (默认状态),调试器将尝试模拟简单属性和方法的执行以加快评估速度。", "generateOptionsSchema.args.0.description": "传递给程序的命令行参数。", "generateOptionsSchema.args.1.description": "传递给程序的命令行参数的字符串化版本。", "generateOptionsSchema.checkForDevCert.description": "如果要在 Windows 或 macOS 上启动 Web 项目并启用此功能,当计算机具有用于开发在 https 终结点上运行的 Web 服务器的自签名 HTTPS 证书时,调试器将检查。如果未指定,在设置 \"serverReadyAction\" 时默认为 true。此选项在 Linux、VS Code 远程和 VS Code Web UI 方案中不起作用。如果找不到 HTTPS 证书或该证书不受信任,将提示用户安装/信任它。", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "用于启用逐过程执行属性和运算符的标志。此选项默认为 \"true\"。", "generateOptionsSchema.env.description": "传递给程序的环境变量。", "generateOptionsSchema.envFile.markdownDescription": "文件传递给程序的环境变量。例如 \"${workspaceFolder}/.env\"", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "如果为 true (默认状态),调试器将尝试模拟简单属性和方法的执行以加快评估速度。", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", "generateOptionsSchema.externalConsole.markdownDescription": "特性 \"externalConsole\" 已弃用,请改用 \"console\"。此选项默认为 \"false\"。", "generateOptionsSchema.justMyCode.markdownDescription": "启用(默认)后,调试器仅显示并单步执行用户代码(“我的代码”),忽略系统代码和其他经过优化或没有调试符号的代码。[详细信息](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "要传递给命令以打开浏览器的参数。只有当平台特定的元素 (\"osx\"、\"linux\" 或 \"windows\") 没有为 \"args\" 指定值时,才使用此选项。使用 ${auto-detect-url} 以自动使用服务器正在侦听的地址。", diff --git a/package.nls.zh-tw.json b/package.nls.zh-tw.json index 12bbbcbee..48d70c944 100644 --- a/package.nls.zh-tw.json +++ b/package.nls.zh-tw.json @@ -91,7 +91,6 @@ "debuggers.dotnet.configurationSnippets.label": ".NET: 啟動 C# 專案", "debuggers.dotnet.launch.launchConfigurationId.description": "要使用的啟動設定識別碼。空字串會使用目前的作用中設定。", "debuggers.dotnet.launch.projectPath.description": ".csproj 檔案的路徑。", - "generateOptionsSchema.allowFastEvaluate.description": "當 true (預設狀態) 時,偵錯工具會模擬簡單屬性和方法的執行,以嘗試更快評估。", "generateOptionsSchema.args.0.description": "傳遞至程式的命令列引數。", "generateOptionsSchema.args.1.description": "傳遞至程式的命令列引數字串版本。", "generateOptionsSchema.checkForDevCert.description": "如果您要在 Windows 或 macOS 上啟動 Web 專案,且已啟用此功能,偵錯工具會檢查電腦是否具有用來開發在 HTTPs 端點上執行之 Web 服務器的自我簽署 HTTPS 憑證。如果未指定,則在設定 'serverReadyAction' 時預設為 true。此選項不會在 Linux、VS Code遠端及 web UI 案例 VS Code 上執行任何動作。如果找不到 HTTPS 憑證或該憑證不受信任,將會提示使用者安裝/信任該憑證。", @@ -104,6 +103,11 @@ "generateOptionsSchema.enableStepFiltering.markdownDescription": "要啟用逐步執行屬性和運算子的旗標。此選項預設為 'true'。", "generateOptionsSchema.env.description": "傳遞給程式的環境變數。", "generateOptionsSchema.envFile.markdownDescription": "檔案傳遞給程式的環境變數。例如 '${workspaceFolder}/.env'", + "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "當 true (預設狀態) 時,偵錯工具會模擬簡單屬性和方法的執行,以嘗試更快評估。", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "當為 true (預設狀態) 時,偵錯工具會自動呼叫屬性 'get' 方法及其他隱含函式呼叫。", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "當為 true (預設狀態) 時,偵錯工具會自動呼叫 'ToString' 來格式化物件。如果 'allowImplicitFuncEval' 為 'false',則此選項沒有作用。", + "generateOptionsSchema.expressionEvaluationOptions.description": "控制偵錯工具如何在資料提示、偵錯檢視的 'Watch' 和 'Variables' 區段,或在偵錯主控台中評估運算式的選項。", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "當為 true 時,偵錯工具會在變數視窗中顯示物件的原始結構。", "generateOptionsSchema.externalConsole.markdownDescription": "屬性 'externalConsole' 已逾時,請改用 'console'。此選項預設為 'false'。", "generateOptionsSchema.justMyCode.markdownDescription": "啟用時 (預設),偵錯工具只會顯示使用者程式碼 (「我的程式碼」) 中的步驟,會忽略系統程式碼及其他已最佳化或沒有偵錯符號的程式碼。[詳細資訊](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "要傳遞至命令以開啟瀏覽器的引數。只有當平台特定元素 ('osx'、'linux' 或 'windows') 未指定 'args' 的值時,才會使用此功能。使用 ${auto-detect-url} 自動使用伺服器正在接聽的位址。", From 2d9a3f340c1019ca1fddbf39e9271f546040a9e1 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Wed, 8 May 2024 12:46:09 -0700 Subject: [PATCH 28/35] Remove commented out code --- src/lsptoolshost/roslynLanguageClient.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lsptoolshost/roslynLanguageClient.ts b/src/lsptoolshost/roslynLanguageClient.ts index bb2effa29..5dad3ca0a 100644 --- a/src/lsptoolshost/roslynLanguageClient.ts +++ b/src/lsptoolshost/roslynLanguageClient.ts @@ -21,8 +21,6 @@ import { languageServerOptions } from '../shared/options'; export class RoslynLanguageClient extends LanguageClient { private readonly _disposables: CompositeDisposable; - //private readonly Map< - constructor( id: string, name: string, From 12f5e997c4fba982268b2f3eb8bfa98740673d36 Mon Sep 17 00:00:00 2001 From: David Barbet Date: Wed, 8 May 2024 13:55:08 -0700 Subject: [PATCH 29/35] Enable xamltools preview by default --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b0aefdaa6..6da5f1554 100644 --- a/package.json +++ b/package.json @@ -1722,7 +1722,7 @@ "dotnet.enableXamlToolsPreview": { "scope": "machine-overridable", "type": "boolean", - "default": false, + "default": true, "description": "%configuration.dotnet.enableXamlToolsPreview%" }, "dotnet.projects.binaryLogPath": { From 27cd24f4aa2d3e11f1deddd1741d1825f061e2bd Mon Sep 17 00:00:00 2001 From: David Barbet Date: Wed, 8 May 2024 14:34:47 -0700 Subject: [PATCH 30/35] Also change default value in options.ts --- src/shared/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/options.ts b/src/shared/options.ts index 49972e749..b81d9ec24 100644 --- a/src/shared/options.ts +++ b/src/shared/options.ts @@ -404,7 +404,7 @@ class LanguageServerOptionsImpl implements LanguageServerOptions { return readOption<{ [key: string]: string }>('dotnet.server.componentPaths', {}); } public get enableXamlToolsPreview() { - return readOption('dotnet.enableXamlToolsPreview', false); + return readOption('dotnet.enableXamlToolsPreview', true); } public get suppressLspErrorToasts() { return readOption('dotnet.server.suppressLspErrorToasts', false); From 9b0a59166f5be689d3b17fde5c121781bff46bfe Mon Sep 17 00:00:00 2001 From: dotnet-bot Date: Wed, 8 May 2024 23:35:50 +0000 Subject: [PATCH 31/35] Localization result of 861cedcd455f6479227551182da53108928574da. --- package.nls.cs.json | 13 +++++++++---- package.nls.de.json | 5 +++++ package.nls.es.json | 5 +++++ package.nls.fr.json | 5 +++++ package.nls.it.json | 5 +++++ package.nls.ja.json | 13 +++++++++---- package.nls.ko.json | 5 +++++ package.nls.pl.json | 5 +++++ package.nls.pt-br.json | 5 +++++ package.nls.ru.json | 5 +++++ package.nls.tr.json | 5 +++++ package.nls.zh-cn.json | 5 +++++ package.nls.zh-tw.json | 5 +++++ 13 files changed, 73 insertions(+), 8 deletions(-) diff --git a/package.nls.cs.json b/package.nls.cs.json index bc577256c..5a98094a5 100644 --- a/package.nls.cs.json +++ b/package.nls.cs.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Pro členy, které jste nedávno vybrali, proveďte automatické dokončování názvů objektů.", "configuration.dotnet.defaultSolution.description": "Cesta výchozího řešení, které se má otevřít v pracovním prostoru. Můžete přeskočit nastavením na „zakázat“. (Dříve omnisharp.defaultLaunchSolution)", "configuration.dotnet.dotnetPath": "Zadává cestu k adresáři instalace dotnet, která se má použít místo výchozí systémové instalace. To má vliv pouze na instalaci dotnet, která se má použít k hostování samotného jazykového serveru. Příklad: /home/username/mycustomdotnetdirectory", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Zvýrazněte související komponenty JSON pod kurzorem.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Zvýraznit související komponenty regulárního výrazu pod kurzorem.", "configuration.dotnet.implementType.insertionBehavior": "Umístění vložení vlastností, událostí a metod při implementaci rozhraní nebo abstraktní třídy.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "Vynutí načtení projektů pouze s rozšířením jazyka C#. To může být užitečné při použití starších typů projektů, které jazyk C# Dev Kit nepodporuje. (Vyžaduje opětovné načtení okna)", "configuration.dotnet.projects.enableAutomaticRestore": "Povolí automatické obnovení balíčku NuGet, pokud rozšíření zjistí, že chybí prostředky.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Zobrazit informace o poznámkách při zobrazení symbolu.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "Nastaví cestu ke složce, do které se zapisují výpisy stavu systému, pokud dojde k chybovému ukončení jazykového serveru. Musí být zapisovatelný uživatelem.", "configuration.dotnet.server.extensionPaths": "Přepsat pro cestu k jazykovému serveru -- argumenty rozšíření", "configuration.dotnet.server.path": "Určuje absolutní cestu ke spustitelnému souboru serveru (LSP nebo O#). Ponechání prázdné vede k použití verze připnuté k rozšíření C#. (Dříve omnisharp.path)", "configuration.dotnet.server.startTimeout": "Určuje časový limit (v ms), aby se klient úspěšně spustil a připojil k jazykovému serveru.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "Nastaví úroveň protokolování pro jazykový server", "configuration.dotnet.server.waitForDebugger": "Při spuštění serveru předá příznak --debug, aby bylo možné připojit ladicí program. (Dříve omnisharp.waitForDebugger)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Hledat symboly v referenčních sestaveních Ovlivňuje funkce, které vyžadují vyhledávání symbolů, například přidání importů.", @@ -104,10 +109,10 @@ "generateOptionsSchema.env.description": "Proměnné prostředí se předaly programu.", "generateOptionsSchema.envFile.markdownDescription": "Proměnné prostředí předané do programu souborem. Příklad: ${workspaceFolder}/.env", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Při hodnotě true (výchozí stav) se ladicí program pokusí o rychlejší vyhodnocení tím, že provede simulaci provádění jednoduchých vlastností a metod.", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "Při hodnotě true (výchozí stav) ladicí program automaticky zavolá metody „get“ vlastnosti a další implicitní volání funkce.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "Když se nastaví na true (výchozí stav), ladicí program automaticky zavolá ToString pro formátování objektů. Tato možnost nemá žádný vliv, pokud má „allowImplicitFuncEval“ hodnotu „false“.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Možnosti řízení způsobu, jakým ladicí program vyhodnocuje výrazy v datových tipech, v oddílech „Watch“ a „Variables“ v zobrazení ladění nebo v konzole ladění.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "Při hodnotě true ladicí program zobrazí nezpracovanou strukturu objektů v oknech proměnných.", "generateOptionsSchema.externalConsole.markdownDescription": "Atribut externalConsole je zastaralý.Použijte místo něj argument console. Výchozí hodnota této možnosti je false.", "generateOptionsSchema.justMyCode.markdownDescription": "Pokud je tato možnost povolená (výchozí), ladicí program zobrazí a vkročí do uživatelského kódu (Můj kód), přičemž ignoruje systémový kód a další kód, který je optimalizovaný nebo který nemá symboly ladění. [Další informace](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Argumenty, které se mají předat příkazu pro otevření prohlížeče. Používá se jenom v případě, že element specifický pro platformu (osx, linux nebo windows) neurčuje hodnotu pro args. Pomocí ${auto-detect-url} můžete automaticky použít adresu, na které server naslouchá.", diff --git a/package.nls.de.json b/package.nls.de.json index b3ca586ca..2605a7d03 100644 --- a/package.nls.de.json +++ b/package.nls.de.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Führen Sie die automatische Vervollständigung des Objektnamens für die Elemente aus, die Sie kürzlich ausgewählt haben.", "configuration.dotnet.defaultSolution.description": "Der Pfad der Standardlösung, die im Arbeitsbereich geöffnet werden soll, oder auf \"deaktivieren\" festlegen, um sie zu überspringen. (Zuvor \"omnisharp.defaultLaunchSolution\")", "configuration.dotnet.dotnetPath": "Gibt den Pfad zu einem dotnet-Installationsverzeichnis an, das anstelle des Standardsystems verwendet werden soll. Dies wirkt sich nur auf die dotnet-Installation aus, die zum Hosten des Sprachservers selbst verwendet werden soll. Beispiel: \"/home/username/mycustomdotnetdirectory\".", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Zugehörige JSON-Komponenten unter dem Cursor markieren.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Zugehörige Komponenten regulärer Ausdrücke unter dem Cursor markieren.", "configuration.dotnet.implementType.insertionBehavior": "Die Einfügeposition von Eigenschaften, Ereignissen und Methoden beim Implementieren der Schnittstelle oder abstrakten Klasse.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "Erzwingt, dass Projekte nur mit der C#-Erweiterung geladen werden. Dies kann nützlich sein, wenn Legacy-Projekttypen verwendet werden, die vom C# Dev Kit nicht unterstützt werden. (Erfordert erneutes Laden des Fensters)", "configuration.dotnet.projects.enableAutomaticRestore": "Aktiviert die automatische NuGet-Wiederherstellung, wenn die Erweiterung erkennt, dass Ressourcen fehlen.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Beschreibungsinformationen beim Anzeigen des Symbols anzeigen.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "Legt einen Ordnerpfad fest, in den Absturzabbilder geschrieben werden, wenn der Sprachserver abstürzt. Muss vom Benutzer beschreibbar sein.", "configuration.dotnet.server.extensionPaths": "Außerkraftsetzung für Pfad zu Sprachserver --extension-Argumenten", "configuration.dotnet.server.path": "Gibt den absoluten Pfad zur ausführbaren Serverdatei (LSP oder O#) an. Wenn sie leer gelassen wird, wird die an die C#-Erweiterung angeheftete Version verwendet. (Zuvor \"omnisharp.path\")", "configuration.dotnet.server.startTimeout": "Gibt ein Timeout (in ms) an, mit dem der Client erfolgreich gestartet und eine Verbindung mit dem Sprachserver hergestellt werden kann.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "Legt den Protokolliergrad für den Sprachserver fest.", "configuration.dotnet.server.waitForDebugger": "Übergibt das Flag \"--debug\" beim Starten des Servers, damit ein Debugger angefügt werden kann. (Zuvor \"omnisharp.waitForDebugger\")", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Symbole in Verweisassemblys suchen. Dies wirkt sich auf Features aus, die eine Symbolsuche erfordern, z. B. Importe hinzufügen.", diff --git a/package.nls.es.json b/package.nls.es.json index a28724048..352d57b76 100644 --- a/package.nls.es.json +++ b/package.nls.es.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Realice la finalización automática del nombre de objeto para los miembros que ha seleccionado recientemente.", "configuration.dotnet.defaultSolution.description": "Ruta de acceso de la solución predeterminada que se va a abrir en el área de trabajo o se establece en \"deshabilitar\" para omitirla. (Anteriormente \"omnisharp.defaultLaunchSolution\")", "configuration.dotnet.dotnetPath": "Especifica la ruta de acceso a un directorio de instalación de dotnet que se va a usar en lugar del predeterminado del sistema. Esto solo influye en la instalación de dotnet que se va a usar para hospedar el propio servidor de idioma. Ejemplo: \"/home/username/mycustomdotnetdirectory\".", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Resaltar los componentes JSON relacionados bajo el cursor.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Resaltar los componentes de expresiones regulares relacionados bajo el cursor.", "configuration.dotnet.implementType.insertionBehavior": "Ubicación de inserción de propiedades, eventos y métodos cuando se implementa una interfaz o una clase abstracta.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "Fuerza la carga de proyectos solo con la extensión de C#. Esto puede ser útil cuando se usan tipos de proyecto heredados que no son compatibles con el kit de desarrollo de C#. (Requiere volver a cargar la ventana)", "configuration.dotnet.projects.enableAutomaticRestore": "Habilita la restauración automática de NuGet si la extensión detecta que faltan activos.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Mostrar información de comentarios cuando se muestra el símbolo.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "Establece una ruta de acceso de carpeta en la que se escriben los volcados de memoria si el servidor de lenguaje se bloquea. El usuario debe poder escribir en él.", "configuration.dotnet.server.extensionPaths": "Invalidación de la ruta de acceso a los argumentos --extension del servidor de lenguaje", "configuration.dotnet.server.path": "Especifica la ruta absoluta al ejecutable del servidor (LSP u O#). Cuando se deja vacío, se utiliza la versión anclada a la extensión C#. (Anteriormente \"omnisharp.path\")", "configuration.dotnet.server.startTimeout": "Especifica un tiempo de espera (en ms) para que el cliente se inicie correctamente y se conecte al servidor de lenguaje.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "Establece el nivel de registro para el servidor de lenguaje", "configuration.dotnet.server.waitForDebugger": "Pasa la marca --debug al iniciar el servidor para permitir que se adjunte un depurador. (Anteriormente \"omnisharp.waitForDebugger\")", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Buscar símbolos en ensamblados de referencia. Afecta a las características y requiere la búsqueda de símbolos, como agregar importaciones.", diff --git a/package.nls.fr.json b/package.nls.fr.json index 7d675e9d8..48f199a90 100644 --- a/package.nls.fr.json +++ b/package.nls.fr.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Effectuez la complétion automatique du nom d’objet pour les membres que vous avez récemment sélectionnés.", "configuration.dotnet.defaultSolution.description": "Le chemin d’accès de la solution par défaut à ouvrir dans l’espace de travail, ou la valeur ’disable’ pour l’ignorer. (Précédemment `omnisharp.defaultLaunchSolution`)", "configuration.dotnet.dotnetPath": "Spécifie le chemin d’accès à un répertoire d’installation de dotnet à utiliser à la place du répertoire par défaut du système. Cela n’a d’influence que sur l’installation dotnet à utiliser pour héberger le serveur de langues lui-même. Exemple : \"/home/username/mycustomdotnetdirect\" : \"/home/nom d’utilisateur/monrépertoiredotnetpersonnalisé\".", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Mettez en surbrillance les composants JSON associés sous le curseur.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Mettre en surbrillance les composants d’expression régulière associés sous le curseur.", "configuration.dotnet.implementType.insertionBehavior": "Emplacement d’insertion des propriétés, des événements et des méthodes lors de l’implémentation d’une interface ou d’une classe abstraite.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "Force le chargement des projets avec l'extension C# uniquement. Cela peut être utile lors de l’utilisation de types de projets hérités qui ne sont pas pris en charge par C# Dev Kit. (Nécessite le rechargement de la fenêtre)", "configuration.dotnet.projects.enableAutomaticRestore": "Active la restauration automatique de NuGet si l’extension détecte que des actifs sont manquants.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Afficher les informations sur les remarques lors de l’affichage du symbole.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "Définit un chemin de dossier dans lequel les vidages sur incident sont écrits en cas de panne du serveur de langue. Doit être accessible en écriture par l'utilisateur.", "configuration.dotnet.server.extensionPaths": "Remplacer le chemin d’accès au serveur de langage --extension arguments", "configuration.dotnet.server.path": "Spécifie le chemin absolu du fichier exécutable du serveur (LSP ou O#). Lorsqu’elle est laissée vide, la version épinglée à l’extension C# est utilisée. (Précédemment `omnisharp.path`)", "configuration.dotnet.server.startTimeout": "Spécifie un délai d'attente (en ms) pour que le client démarre et se connecte avec succès au serveur de langue.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "Définit le niveau de journalisation pour le serveur de langage", "configuration.dotnet.server.waitForDebugger": "Passe le drapeau – debug lors du lancement du serveur pour permettre à un débogueur d’être attaché. (Précédemment `omnisharp.waitForDebugger`)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Rechercher des symboles dans les assemblys de référence. Elle affecte les fonctionnalités nécessitant une recherche de symboles, comme l’ajout d’importations.", diff --git a/package.nls.it.json b/package.nls.it.json index fb10cc7f5..73ff6b39c 100644 --- a/package.nls.it.json +++ b/package.nls.it.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Consente di eseguire il completamento automatico del nome dell'oggetto per i membri selezionati di recente.", "configuration.dotnet.defaultSolution.description": "Percorso della soluzione predefinita da aprire nell'area di lavoro o impostare su 'disabilita' per ignorarla. (In precedenza “omnisharp.defaultLaunchSolution”)", "configuration.dotnet.dotnetPath": "Specifica il percorso di una directory di installazione dotnet da usare al posto di quella predefinita del sistema. Ciò influisce solo sull'installazione di dotnet da usare per ospitare il server di linguaggio stesso. Esempio: \"/home/username/mycustomdotnetdirectory\".", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Evidenziare i componenti JSON correlati sotto il cursore.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Evidenzia i componenti dell'espressione regolare correlati sotto il cursore.", "configuration.dotnet.implementType.insertionBehavior": "La posizione di inserimento di proprietà, eventi e metodi quando si implementa un'interfaccia o una classe astratta.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "Forza il caricamento dei progetti solo con l'estensione C#. Può essere utile quando si usano tipi di progetto legacy non supportati dal Kit di sviluppo C#. (Richiede il ricaricamento della finestra)", "configuration.dotnet.projects.enableAutomaticRestore": "Abilita il ripristino automatico di NuGet se l'estensione rileva che mancano asset.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Mostra le informazioni sulle note quando viene visualizzato il simbolo.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "Imposta un percorso cartella in cui vengono scritti i dump di arresto anomalo del sistema in caso di arresto anomalo del server di linguaggio. Deve essere scrivibile dall'utente.", "configuration.dotnet.server.extensionPaths": "Eseguire l’override per il percorso del server di linguaggio --argomenti estensione", "configuration.dotnet.server.path": "Specifica il percorso assoluto dell'eseguibile del server (LSP od O#). Se lasciato vuoto, viene usata la versione aggiunta all'estensione C#. (In precedenza “omnisharp.path”)", "configuration.dotnet.server.startTimeout": "Specifica un timeout (in ms) per l'avvio del client e la sua connessione al server di linguaggio.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "Imposta il livello di registrazione per il server di linguaggio", "configuration.dotnet.server.waitForDebugger": "Passa il flag --debug all'avvio del server per consentire il collegamento di un debugger. (In precedenza “omnisharp.waitForDebugger”)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Cerca simboli negli assembly di riferimento. Influisce sulle funzionalità che richiedono la ricerca di simboli, ad esempio l'aggiunta di importazioni.", diff --git a/package.nls.ja.json b/package.nls.ja.json index 17f0cb405..97e3e297e 100644 --- a/package.nls.ja.json +++ b/package.nls.ja.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "最近選択したメンバーの自動オブジェクト名の完了を実行します。", "configuration.dotnet.defaultSolution.description": "ワークスペースで開く既定のソリューションのパス。スキップするには 'disable' に設定します。(以前の `omnisharp.defaultLaunchSolution`)", "configuration.dotnet.dotnetPath": "既定のシステム ディレクトリの代わりに使用する dotnet インストール ディレクトリへのパスを指定します。これは、言語サーバー自体をホストするために使用する dotnet インストールにのみ影響します。例: \"/home/username/mycustomdotnetdirectory\"。", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "カーソルの下にある関連する JSON コンポーネントをハイライトします。", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "カーソルの下にある関連する正規表現コンポーネントをハイライトします。", "configuration.dotnet.implementType.insertionBehavior": "インターフェイスまたは抽象クラスを実装する場合の、プロパティ、イベント、メソッドの挿入場所です。", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "C# 拡張機能のみを使用してプロジェクトを強制的に読み込みます。 これは、C# Dev Kit でサポートされていないレガシ プロジェクトの種類を使用する場合に役立ちます。(ウィンドウの再読み込みが必要)", "configuration.dotnet.projects.enableAutomaticRestore": "拡張機能で資産が見つからないと検出された場合に、NuGet の自動復元を有効にします。", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "シンボルを表示するときに注釈情報を表示します。", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "言語サーバーがクラッシュした場合にクラッシュ ダンプの書き込み先フォルダー パスを設定します。ユーザーによる書き込みが可能であることが必要です。", "configuration.dotnet.server.extensionPaths": "言語サーバーへのパスのオーバーライド --拡張引数", "configuration.dotnet.server.path": "サーバー (LSP または O#) 実行可能ファイルに絶対パスを指定します。空のままにすると、C# 拡張機能にピン留めされたバージョンが使用されます。(以前の `omnisharp.path`)", "configuration.dotnet.server.startTimeout": "クライアントが正常に起動して言語サーバーに接続するためのタイムアウト (ミリ秒) を指定します。", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "言語サーバーのログ記録レベルを設定する", "configuration.dotnet.server.waitForDebugger": "デバッガーのアタッチを許可するために、サーバーを起動するときに --debug フラグを渡します。(以前の `omnisharp.waitForDebugger`)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "参照アセンブリ内のシンボルを検索します。影響を受ける機能には、インポートの追加などのシンボル検索が必要です。", @@ -104,10 +109,10 @@ "generateOptionsSchema.env.description": "プログラムに渡される環境変数。", "generateOptionsSchema.envFile.markdownDescription": "ファイルによってプログラムに渡される環境変数。例: `${workspaceFolder}/.env`", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "true (既定の状態) の場合、デバッガーは単純なプロパティとメソッドの実行をシミュレーションすることで、より高速な評価を試みます。", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "true (既定の状態) の場合、デバッガーはプロパティ 'get' メソッドやその他の暗黙的な関数呼び出しを自動的に呼び出します。", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "true (既定の状態) の場合、デバッガーは自動的に 'ToString' を呼び出してオブジェクトをフォーマットします。'allowImplicitFuncEval' が 'false' の場合、このオプションは効果がありません。", + "generateOptionsSchema.expressionEvaluationOptions.description": "データ ヒント、デバッグ ビューの 'Watch' セクションと 'Variables' セクション、またはデバッグ コンソールでデバッガーが式を評価する方法を制御するオプション。", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "true の場合、デバッガーは変数ウィンドウにオブジェクトの生の構造を表示します。", "generateOptionsSchema.externalConsole.markdownDescription": "属性 `externalConsole` は非推奨です。代わりに `console` を使用してください。このオプションの既定値は `false` です。", "generateOptionsSchema.justMyCode.markdownDescription": "有効 (既定) の場合、デバッガーはユーザー コード (\"マイ コード\") のみを表示してステップ インし、最適化されたシステム コードやその他のコード、またはデバッグ シンボルを含まないコードを無視します。[詳細情報](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "ブラウザーを開くためにコマンドに渡す引数。これは、プラットフォーム固有の要素 ('osx'、'linux'、または 'windows') で 'args' の値が指定されていない場合にのみ使用されます。${auto-detect-url} を使用して、サーバーがリッスンしているアドレスを自動的に使用します。", diff --git a/package.nls.ko.json b/package.nls.ko.json index 8621858c3..06b284012 100644 --- a/package.nls.ko.json +++ b/package.nls.ko.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "최근에 선택한 멤버에 대해 자동 개체 이름 완성을 수행합니다.", "configuration.dotnet.defaultSolution.description": "작업 영역에서 열릴 기본 솔루션의 경로, 건너뛰려면 '비활성화'로 설정하세요(이전 `omnisharp.defaultLaunchSolution`).", "configuration.dotnet.dotnetPath": "기본 시스템 대신 사용할 dotnet 설치 디렉터리를 지정합니다. 이는 언어 서버 자체를 호스팅하는 데 사용할 dotnet 설치에만 영향을 줍니다(예: \"/home/username/mycustomdotnetdirectory\").", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "커서 아래에서 관련 JSON 구성 요소를 강조 표시합니다.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "커서 아래의 관련 정규식 구성 요소를 강조 표시합니다.", "configuration.dotnet.implementType.insertionBehavior": "인터페이스 또는 추상 클래스를 구현할 때 속성, 이벤트 및 메서드의 삽입 위치입니다.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "프로젝트가 C# 확장으로만 로드되도록 합니다. C# 개발 키트에서 지원되지 않는 레거시 프로젝트 형식을 사용할 때 유용할 수 있습니다(창 다시 로드 필요).", "configuration.dotnet.projects.enableAutomaticRestore": "확장에서 자산이 누락된 것을 감지하는 경우 자동 NuGet 복원을 사용하도록 설정합니다.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "기호를 표시할 때 설명 정보를 표시합니다.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "언어 서버가 충돌하는 경우 크래시 덤프가 기록되는 폴더 경로를 설정합니다. 사용자가 쓸 수 있어야 합니다.", "configuration.dotnet.server.extensionPaths": "언어 서버 --extension 인수 경로에 대한 재정의", "configuration.dotnet.server.path": "서버(LSP 또는 O#) 실행 파일의 절대 경로를 지정합니다. 비어 있으면 C# 확장에 고정된 버전이 사용됩니다(이전 `omnisharp.path`).", "configuration.dotnet.server.startTimeout": "클라이언트가 언어 서버를 시작하고 연결하기 위한 시간 제한(밀리초)을 지정합니다.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "언어 서버의 로깅 수준을 설정합니다.", "configuration.dotnet.server.waitForDebugger": "디버거 연결을 허용하기 위해 서버를 시작할 때 --debug 플래그를 전달합니다(이전 `omnisharp.waitForDebugger`).", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "참조 어셈블리에서 기호를 검색합니다. 가져오기 추가와 같은 기호 검색이 필요한 기능에 영향을 줍니다.", diff --git a/package.nls.pl.json b/package.nls.pl.json index e7b920b50..464424a02 100644 --- a/package.nls.pl.json +++ b/package.nls.pl.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Wykonaj automatyczne uzupełnianie nazw obiektów dla elementów członkowskich, które zostały ostatnio wybrane.", "configuration.dotnet.defaultSolution.description": "Ścieżka domyślnego rozwiązania, która ma zostać otwarta w obszarze roboczym, lub ustawiona na wartość „wyłącz”, aby je pominąć. (Poprzednio „omnisharp.defaultLaunchSolution”)", "configuration.dotnet.dotnetPath": "Określa ścieżkę do katalogu instalacyjnego dotnet, który ma być używany zamiast domyślnego katalogu systemowego. Ma to wpływ tylko na instalację dotnet używaną do hostowania samego serwera językowego. Przykład: „/home/username/mycustomdotnetdirectory”.", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Wyróżnij powiązane składniki JSON pod kursorem.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Wyróżnij powiązane składniki wyrażenia regularnego pod kursorem.", "configuration.dotnet.implementType.insertionBehavior": "Lokalizacja wstawiania właściwości, zdarzeń i metod podczas implementowania interfejsu lub klasy abstrakcyjnej.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "Wymusza ładowanie projektów tylko z rozszerzeniem języka C#. Może to być przydatne w przypadku korzystania ze starszych typów projektów, które nie są obsługiwane przez zestaw C# Dev Kit. (Wymaga ponownego załadowania okna)", "configuration.dotnet.projects.enableAutomaticRestore": "Włącza automatyczne przywracanie pakietu NuGet, jeśli rozszerzenie wykryje brak zasobów.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Pokaż informacje o uwagach podczas wyświetlania symbolu.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "Ustawia ścieżkę folderu, w której są zapisywane zrzuty awaryjne w przypadku awarii serwera języka. Użytkownik musi mieć możliwość zapisu.", "configuration.dotnet.server.extensionPaths": "Przesłoń ścieżkę do serwera językowego --argumenty rozszerzenia", "configuration.dotnet.server.path": "Określa ścieżkę bezwzględną do pliku wykonywalnego serwera (LSP lub O#). W przypadku pozostawienia tej wartości pustej, używana jest wersja przypięta do rozszerzenia języka C#. (Wcześniej „omnisharp.path”)", "configuration.dotnet.server.startTimeout": "Określa limit czasu (w ms) dla pomyślnego uruchomienia klienta i nawiązania połączenia z serwerem języka.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "Ustawia poziom rejestrowania dla serwera języka", "configuration.dotnet.server.waitForDebugger": "Przekazuje flagę --debug podczas uruchamiania serwera, aby umożliwić dołączenie debugera. (Wcześniej „omnisharp.waitForDebugger”)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Wyszukaj symbole w zestawach odwołań. Ma to wpływ na funkcje wymagające wyszukiwania symboli, takie jak dodawanie importów.", diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index 8972f47fd..1c89869c7 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Execute a conclusão automática do nome do objeto para os membros que você selecionou recentemente.", "configuration.dotnet.defaultSolution.description": "O caminho da solução padrão a ser aberta no workspace ou definido como 'desabilitado' para ignorá-la. (Anteriormente `omnisharp.defaultLaunchSolution`)", "configuration.dotnet.dotnetPath": "Especifica o caminho para um diretório de instalação dotnet a ser usado em vez do sistema padrão. Isso influencia apenas a instalação do dotnet a ser usada para hospedar o próprio servidor de idiomas. Exemplo: \"/home/username/mycustomdotnetdirectory\".", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Destaque os componentes JSON relacionados sob o cursor.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Destaque os componentes de expressão regular relacionados sob o cursor.", "configuration.dotnet.implementType.insertionBehavior": "O local de inserção de propriedades, eventos e métodos Ao implementar interface ou classe abstrata.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "Força o carregamento dos projetos somente com a extensão C#. Isso pode ser útil ao usar tipos de projetos herdados que não são suportados pelo C# Dev Kit. (Requer recarga da janela)", "configuration.dotnet.projects.enableAutomaticRestore": "Habilita a restauração automática do NuGet se a extensão detectar que os ativos estão ausentes.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Mostrar informações de comentários ao exibir o símbolo.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "Define um caminho de pasta onde os despejos de memória serão gravados se o servidor de idioma travar. Deve ser gravável pelo usuário.", "configuration.dotnet.server.extensionPaths": "Substituir o caminho para os argumentos --extension do servidor de idiomas", "configuration.dotnet.server.path": "Especifica o caminho absoluto para o executável do servidor (LSP ou O#). Quando deixado em branco, a versão fixada na extensão C# é usada. (Anteriormente `omnisharp.path`)", "configuration.dotnet.server.startTimeout": "Especifica um tempo limite (em ms) para o cliente iniciar e conectar-se com êxito ao servidor de idioma.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "Define o nível de log para o servidor de idiomas", "configuration.dotnet.server.waitForDebugger": "Passa o sinalizador --debug ao iniciar o servidor para permitir que um depurador seja anexado. (Anteriormente `omnisharp.waitForDebugger`)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Pesquisar símbolos em montagens de referência. Afeta os recursos que exigem pesquisa de símbolos, como adicionar importações.", diff --git a/package.nls.ru.json b/package.nls.ru.json index 9b75d33ac..4045e5e5a 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Выполните автоматическое завершение имен объектов для выбранных элементов.", "configuration.dotnet.defaultSolution.description": "Путь к решению по умолчанию, которое будет открыто в рабочей области. Или задайте значение \"Отключить\", чтобы пропустить его. (Ранее — \"omnisharp.defaultLaunchSolution\")", "configuration.dotnet.dotnetPath": "Указывает путь к каталогу установки dotnet для использования вместо стандартного системного каталога. Это влияет только на установку dotnet, используемую для размещения самого языкового сервера. Пример: \"/home/username/mycustomdotnetdirectory\".", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Выделить связанные компоненты JSON под курсором.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Выделение связанных компонентов регулярных выражений под курсором.", "configuration.dotnet.implementType.insertionBehavior": "Расположение вставки свойств, событий и методов. При реализации интерфейса или абстрактного класса.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "Принудительно загружает проекты только с расширением C#. Это может быть полезно при использовании устаревших типов проектов, которые не поддерживаются C# Dev Kit. (Требуется перезагрузка окна)", "configuration.dotnet.projects.enableAutomaticRestore": "Включает автоматическое восстановление NuGet при обнаружении расширением отсутствия ресурсов.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Показывать примечания при отображении символа.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "Задает путь к папке, в которую записываются аварийные дампы в случае сбоя языкового сервера. Должен быть доступен для записи пользователем.", "configuration.dotnet.server.extensionPaths": "Переопределить путь к аргументам --extension сервера языка", "configuration.dotnet.server.path": "Указывает абсолютный путь к исполняемому файлу сервера (LSP или O#). Если оставить поле пустым, используется версия, закрепленная в расширении C#. (Ранее — \"omnisharp.path\")", "configuration.dotnet.server.startTimeout": "Указывает время ожидания (в миллисекундах) для запуска клиента и его подключения к языковому серверу.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "Задает уровень ведения журнала для языкового сервера", "configuration.dotnet.server.waitForDebugger": "Передает флаг --debug при запуске сервера, чтобы разрешить подключение отладчика. (Ранее — \"omnisharp.waitForDebugger\")", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Поиск символов в эталонных сборках. Он влияет на функции, для которых требуется поиск символов, например добавление импортов.", diff --git a/package.nls.tr.json b/package.nls.tr.json index f6595386f..6eb208b1c 100644 --- a/package.nls.tr.json +++ b/package.nls.tr.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Yakın zamanda seçtiğiniz üyeler için otomatik nesne adı tamamlama gerçekleştirin.", "configuration.dotnet.defaultSolution.description": "Varsayılan çözümün yolu, çalışma alanında açılacak veya atlamak için 'devre dışı' olarak ayarlanacak. (Daha önce 'omnisharp.defaultLaunchSolution')", "configuration.dotnet.dotnetPath": "Varsayılan sistem dizini yerine kullanılacak bir dotnet kurulum dizininin yolunu belirtir. Bu, yalnızca dil sunucusunun kendisini barındırmak için kullanılacak dotnet kurulumunu etkiler. Örnek: \"/home/username/mycustomdotnetdirectory\".", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "İmlecin altındaki ilgili JSON bileşenlerini vurgula.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "İmleç altındaki ilgili normal ifade bileşenlerini vurgula.", "configuration.dotnet.implementType.insertionBehavior": "Arabirim veya soyut sınıf uygulanırken özellikler, olaylar ve yöntemlerin eklenme konumu.", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "Projeleri yalnızca C# uzantısıyla yüklenmeye zorlar. Bu, C# Dev Kit tarafından desteklenmeyen eski proje türlerini kullanırken yararlı olabilir. (Pencerenin yeniden yüklenmesi gerekir)", "configuration.dotnet.projects.enableAutomaticRestore": "Uzantı varlıkların eksik olduğunu algılarsa otomatik NuGet geri yükleme işlemini etkinleştirir.", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "Simge görüntülendiğinde açıklama bilgilerini göster.", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "Dil sunucusunun çökmesi durumunda kilitlenme dökümlerinin yazılacağı klasör yolunu ayarlar. Kullanıcı tarafından yazılabilir olmalıdır.", "configuration.dotnet.server.extensionPaths": "Dil sunucusu --extension bağımsız değişkenleri yolunu geçersiz kıl", "configuration.dotnet.server.path": "Sunucunun (LSP veya O#) yürütülebilir dosyasının mutlak yolunu belirtir. Boş bırakıldığında C# Uzantısına sabitlenen sürüm kullanılır. (Önceden 'omnisharp.path')", "configuration.dotnet.server.startTimeout": "İstemcinin başarılı bir şekilde başlatılması ve dil sunucusuna bağlanması için zaman aşımını (ms cinsinden) belirtir.", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "Dil sunucusu için günlük düzeyini ayarlar", "configuration.dotnet.server.waitForDebugger": "Bir hata ayıklayıcının eklenmesine izin vermek için sunucuyu başlatırken --debug bayrağını iletir. (Önceden 'omnisharp.waitForDebugger')", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Başvuru derlemeleri içinde sembolleri arama. İçeri aktarma ekleme gibi sembol arama gerektiren özellikleri etkiler.", diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index ed03e483c..88d399377 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "对最近选择的成员执行自动对象名称完成。", "configuration.dotnet.defaultSolution.description": "要在工作区中打开的默认解决方案的路径,或者设置为“禁用”以跳过它。(之前为 \"omnisharp.defaultLaunchSolution\")", "configuration.dotnet.dotnetPath": "指定要使用的 dotnet 安装目录的路径,而不是默认的系统目录。这仅影响用于承载语言服务器本身的 dotnet 安装。示例: \"/home/username/mycustomdotnetdirectory\"。", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "突出显示光标下的相关 JSON 组件。", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "突出显示光标下的相关正则表达式组件。", "configuration.dotnet.implementType.insertionBehavior": "实现接口或抽象类时属性、事件和方法的插入位置。", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "仅强制使用 C# 扩展加载项目。使用 C# Dev Kit 不支持的旧项目类型时,这可能很有用。(需要重新加载窗口)", "configuration.dotnet.projects.enableAutomaticRestore": "如果扩展检测到缺少资产,则启用“自动 NuGet 还原”。", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "显示符号时显示备注信息。", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "设置在语言服务器崩溃时在其中写入故障转储的文件夹路径。用户必须可以写入。", "configuration.dotnet.server.extensionPaths": "替代语言服务器 --extension 参数的路径", "configuration.dotnet.server.path": "指定服务器(LSP 或 O#)可执行文件的绝对路径。如果留空,会使用固定到 C# 扩展的版本。(之前为 \"omnisharp.path\")", "configuration.dotnet.server.startTimeout": "为客户端指定一个超时 (以毫秒为单位),以成功启动并连接到语言服务器。", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "设置语言服务器的日志记录级别", "configuration.dotnet.server.waitForDebugger": "启动服务器时传递 --debug 标志,以允许附加调试器。(之前为 \"omnisharp.waitForDebugger\")", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "在引用程序集中搜索符号。它会影响需要符号搜索的功能,例如添加导入。", diff --git a/package.nls.zh-tw.json b/package.nls.zh-tw.json index 48d70c944..29d75c50d 100644 --- a/package.nls.zh-tw.json +++ b/package.nls.zh-tw.json @@ -43,6 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "為您最近選取的成員執行自動物件名稱完成。", "configuration.dotnet.defaultSolution.description": "要在工作區中開啟的預設解決方案路徑,或設為 [停用] 以略過它。(先前為 `omnisharp.defaultLaunchSolution`)", "configuration.dotnet.dotnetPath": "指定要使用的 dotnet 安裝目錄路徑,而非系統預設的路徑。這只會影響用來裝載語言伺服器本身的 dotnet 安裝。範例: \"/home/username/mycustomdotnetdirectory”。", + "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "反白資料指標下的相關 JSON 元件。", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "反白資料指標下的相關規則運算式元件。", "configuration.dotnet.implementType.insertionBehavior": "實作介面或抽象類別時,屬性、事件和方法的插入位置。", @@ -62,10 +63,14 @@ "configuration.dotnet.preferCSharpExtension": "強制專案僅以 C# 延伸模組載入。使用 C# 開發人員套件不支援的舊版專案類型時,這會很有用。(需要重新載入視窗)", "configuration.dotnet.projects.enableAutomaticRestore": "如果延伸模組偵測到資產遺失,則啟用自動 NuGet 還原。", "configuration.dotnet.quickInfo.showRemarksInQuickInfo": "顯示符號時顯示備註資訊。", + "configuration.dotnet.server.componentPaths": "Allows overriding the folder path for built in components of the language server (for example, override the .roslynDevKit path in the extension directory to use locally built components)", + "configuration.dotnet.server.componentPaths.roslynDevKit": "Overrides the folder path for the .roslynDevKit component of the language server", + "configuration.dotnet.server.componentPaths.xamlTools": "Overrides the folder path for the .xamlTools component of the language server", "configuration.dotnet.server.crashDumpPath": "設定當語言伺服器當機時要寫入當機傾印的資料夾路徑。必須可由使用者寫入。", "configuration.dotnet.server.extensionPaths": "覆寫語言伺服器 --extension 引數的路徑", "configuration.dotnet.server.path": "指定伺服器 (LSP 或 O#) 可執行檔的絕對路徑。保留空白時,會使用釘選到 C# 延伸模組的版本。(先前為 `omnisharp.path`)", "configuration.dotnet.server.startTimeout": "指定用戶端順利啟動並連接到語言伺服器的逾時 (毫秒)。", + "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.server.trace": "設定語言伺服器的記錄層次", "configuration.dotnet.server.waitForDebugger": "啟動伺服器時傳遞 --debug 旗標,以允許附加偵錯工具。(先前為 `omnisharp.waitForDebugger`)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "在參考組件中搜尋符號。這會影響需要符號搜尋的功能,例如新增匯入。", From 2941b4422b4b521190cdd98074f155b7f21c79cf Mon Sep 17 00:00:00 2001 From: David Barbet Date: Thu, 9 May 2024 14:55:05 -0700 Subject: [PATCH 32/35] Update Roslyn and CHANGELOG.md --- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9fe46b4c..ce81810d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,21 @@ - Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876) # Latest +* XAML IntelliSense for .NET MAUI (Issue: [#565](https://github.com/microsoft/vscode-dotnettools/issues/565)) + * Controlled by preview feature flag `dotnet.enableXamlToolsPreview` which is on by default + * Requires C# Dev Kit and .NET MAUI extensions +* Update Roslyn to 4.11.0-2.24259.4 (PR: [#7117](https://github.com/dotnet/vscode-csharp/pull/7117)) + * Shrink the size and remove unnecessary dependencies in the build host (PR: [#73393](https://github.com/dotnet/roslyn/pull/73393)) + * Make fix-all code action more parallel (PR: [#73356](https://github.com/dotnet/roslyn/pull/73356)) + * Allow use of more Hot Reload brokered services by LSP (for VS Code) (PR: [#73240](https://github.com/dotnet/roslyn/pull/73240)) + * Improve parallel processing in FAR (PR: [#73253](https://github.com/dotnet/roslyn/pull/73253)) + * Improve parallel processing in NavTo (PR: [#73249](https://github.com/dotnet/roslyn/pull/73249)) +* Add temporary option, `dotnet.server.suppressLspErrorToasts` to allow suppression of recoverable LSP error toasts (PR: [#7106](https://github.com/dotnet/vscode-csharp/pull/7106)) +* Update Debugger to v2.30.0 (PR: [#7101](https://github.com/dotnet/vscode-csharp/pull/7101)) + * Adds support for disabling implict evaluation of properties and functions (Issue: [#3173](https://github.com/dotnet/vscode-csharp/pull/3173)) +* Don't download razor telemetry if disabled by vscode (PR: [#7092](https://github.com/dotnet/vscode-csharp/pull/7092)) + +# 2.29.11 * List solution filter files (.slnf) in the 'Open Solution' command. (PR: [#7082](https://github.com/dotnet/vscode-csharp/pull/7082)) * No longer activate on the presence of .sln or .slnf files (PR: [#7081](https://github.com/dotnet/vscode-csharp/pull/7081)) * Update Debugger Packages to v2.28.1 (PR: [#7072](https://github.com/dotnet/vscode-csharp/pull/7072)) diff --git a/package.json b/package.json index 6367e1d7e..f6e1859e2 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ } }, "defaults": { - "roslyn": "4.11.0-2.24229.10", + "roslyn": "4.11.0-2.24259.4", "omniSharp": "1.39.11", "razor": "7.0.0-preview.24178.4", "razorOmnisharp": "7.0.0-preview.23363.1", From ea4616da6d27a73a20f3aa2883dee673e56b4700 Mon Sep 17 00:00:00 2001 From: dotnet-bot Date: Thu, 9 May 2024 23:51:00 +0000 Subject: [PATCH 33/35] Localization result of 9f6675fd0a4dc7f43a0e00ac4dae9aebf2e4202f. --- package.nls.cs.json | 2 +- package.nls.de.json | 8 ++++---- package.nls.es.json | 8 ++++---- package.nls.fr.json | 10 +++++----- package.nls.ja.json | 2 +- package.nls.ko.json | 10 +++++----- package.nls.pl.json | 8 ++++---- package.nls.pt-br.json | 8 ++++---- package.nls.ru.json | 2 +- package.nls.tr.json | 8 ++++---- package.nls.zh-cn.json | 8 ++++---- 11 files changed, 37 insertions(+), 37 deletions(-) diff --git a/package.nls.cs.json b/package.nls.cs.json index 5a98094a5..4332585e3 100644 --- a/package.nls.cs.json +++ b/package.nls.cs.json @@ -70,7 +70,7 @@ "configuration.dotnet.server.extensionPaths": "Přepsat pro cestu k jazykovému serveru -- argumenty rozšíření", "configuration.dotnet.server.path": "Určuje absolutní cestu ke spustitelnému souboru serveru (LSP nebo O#). Ponechání prázdné vede k použití verze připnuté k rozšíření C#. (Dříve omnisharp.path)", "configuration.dotnet.server.startTimeout": "Určuje časový limit (v ms), aby se klient úspěšně spustil a připojil k jazykovému serveru.", - "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", + "configuration.dotnet.server.suppressLspErrorToasts": "Potlačí zobrazování informačních zpráv o chybách, pokud na serveru dojde k chybě, ze které se dá zotavit.", "configuration.dotnet.server.trace": "Nastaví úroveň protokolování pro jazykový server", "configuration.dotnet.server.waitForDebugger": "Při spuštění serveru předá příznak --debug, aby bylo možné připojit ladicí program. (Dříve omnisharp.waitForDebugger)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Hledat symboly v referenčních sestaveních Ovlivňuje funkce, které vyžadují vyhledávání symbolů, například přidání importů.", diff --git a/package.nls.de.json b/package.nls.de.json index 2605a7d03..84cc18137 100644 --- a/package.nls.de.json +++ b/package.nls.de.json @@ -109,10 +109,10 @@ "generateOptionsSchema.env.description": "Umgebungsvariablen, die an das Programm übergeben werden.", "generateOptionsSchema.envFile.markdownDescription": "Umgebungsvariablen, die von einer Datei an das Programm übergeben werden. Beispiel: \"${workspaceFolder}/.env\"", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Bei \"true\" (Standardzustand) versucht der Debugger eine schnellere Auswertung, indem er die Ausführung einfacher Eigenschaften und Methoden simuliert.", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "Bei WAHR (Standardzustand) ruft der Debugger automatisch „Abruf“-Methoden der Eigenschaft und andere implizite Funktionsaufrufe auf.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "Bei WAHR (Standardzustand) ruft der Debugger automatisch „ToString“ auf, um Objekte zu formatieren. Diese Option hat keine Auswirkung, wenn „allowImplicitFuncEval“ auf FALSCH festgelegt ist.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Optionen zum Steuern, wie der Debugger Ausdrücke in Datentipps, in den Abschnitten „Überwachen“ und „Variablen“ der Debugansicht oder im Debugging-Konsole auswertet.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "Bei WAHR zeigt der Debugger die rohe Struktur von Objekten in Variablenfenstern an.", "generateOptionsSchema.externalConsole.markdownDescription": "Das Attribut \"externalConsole\" ist veraltet. Verwenden Sie stattdessen \"console\". Diese Option ist standardmäßig auf \"false\" festgelegt.", "generateOptionsSchema.justMyCode.markdownDescription": "Wenn diese Option aktiviert ist (Standardeinstellung), wird der Debugger nur angezeigt und in den Benutzercode (\"Mein Code\") eingeschritten. Dabei werden Systemcode und anderer Code ignoriert, der optimiert ist oder über keine Debugsymbole verfügt. [Weitere Informationen](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Die Argumente, die an den Befehl übergeben werden sollen, um den Browser zu öffnen. Dies wird nur verwendet, wenn das plattformspezifische Element (\"osx\", \"linux\" oder \"windows\") keinen Wert für \"args\" angibt. Verwenden Sie ${auto-detect-url}, um automatisch die Adresse zu verwenden, an der der Server lauscht.", diff --git a/package.nls.es.json b/package.nls.es.json index 352d57b76..3bb7d4ff2 100644 --- a/package.nls.es.json +++ b/package.nls.es.json @@ -109,10 +109,10 @@ "generateOptionsSchema.env.description": "Variables de entorno pasadas al programa.", "generateOptionsSchema.envFile.markdownDescription": "Variables de entorno pasadas al programa por un archivo. Por ejemplo, \"${workspaceFolder}/.env\"", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Cuando es true (el estado predeterminado), el depurador intentará una evaluación más rápida simulando la ejecución de propiedades y métodos simples.", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "Cuando es true (el estado predeterminado), el depurador llamará automáticamente a los métodos \"get\" de la propiedad y a otras llamadas de función implícitas.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "Cuando es true (el estado predeterminado), el depurador llamará automáticamente a \"ToString\" para dar formato a los objetos. Esta opción no tiene ningún efecto si \"allowImplicitFuncEval\" es \"false\".", + "generateOptionsSchema.expressionEvaluationOptions.description": "Opciones para controlar cómo el depurador evalúa las expresiones en las sugerencias de datos, las secciones \"Inspección\" y \"Variables\" de la vista de depuración, o en la Consola de depuración.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "Cuando sea true, el depurador mostrará la estructura sin procesar de los objetos en las ventanas de variables.", "generateOptionsSchema.externalConsole.markdownDescription": "El atributo \"externalConsole\" está en desuso; use \"console\" en su lugar. El valor predeterminado de esta opción es \"false\".", "generateOptionsSchema.justMyCode.markdownDescription": "Cuando está habilitado (valor predeterminado), el depurador solo muestra y avanza en el código de usuario (\"Mi código\"), omitiendo el código del sistema y otro código que está optimizado o que no tiene símbolos de depuración. [Obtener más información](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Argumentos que se van a pasar al comando para abrir el explorador. Solo se usa si el elemento específico de la plataforma (“osx”, “linux” o “windows”) no especifica un valor para “args”. Use ${auto-detect-url} para usar automáticamente la dirección a la que escucha el servidor.", diff --git a/package.nls.fr.json b/package.nls.fr.json index 48f199a90..2962f72fc 100644 --- a/package.nls.fr.json +++ b/package.nls.fr.json @@ -70,7 +70,7 @@ "configuration.dotnet.server.extensionPaths": "Remplacer le chemin d’accès au serveur de langage --extension arguments", "configuration.dotnet.server.path": "Spécifie le chemin absolu du fichier exécutable du serveur (LSP ou O#). Lorsqu’elle est laissée vide, la version épinglée à l’extension C# est utilisée. (Précédemment `omnisharp.path`)", "configuration.dotnet.server.startTimeout": "Spécifie un délai d'attente (en ms) pour que le client démarre et se connecte avec succès au serveur de langue.", - "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", + "configuration.dotnet.server.suppressLspErrorToasts": "Supprime l’affichage des notifications toast d’erreur si le serveur a rencontré une erreur récupérable.", "configuration.dotnet.server.trace": "Définit le niveau de journalisation pour le serveur de langage", "configuration.dotnet.server.waitForDebugger": "Passe le drapeau – debug lors du lancement du serveur pour permettre à un débogueur d’être attaché. (Précédemment `omnisharp.waitForDebugger`)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Rechercher des symboles dans les assemblys de référence. Elle affecte les fonctionnalités nécessitant une recherche de symboles, comme l’ajout d’importations.", @@ -109,10 +109,10 @@ "generateOptionsSchema.env.description": "Variables d'environnement passées au programme.", "generateOptionsSchema.envFile.markdownDescription": "Variables d’environnement passées au programme par un fichier. Par ex., « ${workspaceFolder}/.env »", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Quand la valeur est true (état par défaut), le débogueur tente une évaluation plus rapide en simulant l’exécution de propriétés et de méthodes simples.", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "Quand la valeur est true (état par défaut), le débogueur appelle automatiquement les méthodes « get » de la propriété et d’autres appels de fonction implicites.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "Quand la valeur est true (état par défaut), le débogueur appelle automatiquement « ToString » pour mettre en forme les objets. Cette option n’a aucun effet si « allowImplicitFuncEval » a la valeur « false ».", + "generateOptionsSchema.expressionEvaluationOptions.description": "Options permettant de contrôler la manière dont le débogueur évalue les expressions dans les astuces de données, les sections « Regarde » et « Variables » de la vue de débogage ou dans la console de débogage.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "Quand la valeur est True, le débogueur affiche la structure brute des objets dans les fenêtres de variables.", "generateOptionsSchema.externalConsole.markdownDescription": "L’attribut « externalConsole » est déprécié. Utilisez plutôt « console ». Cette option a la valeur par défaut « false ».", "generateOptionsSchema.justMyCode.markdownDescription": "Lorsqu’il est activé (valeur par défaut), le débogueur affiche uniquement le code utilisateur (« Mon code »), en ignorant le code système et tout autre code optimisé ou qui n’a pas de symboles de débogage. [Pour en savoir plus](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Arguments à passer à la commande pour ouvrir le navigateur. Ceci est utilisé uniquement si l’élément spécifique à la plateforme ('osx', 'linux' ou 'windows') ne spécifie pas de valeur pour 'args'. Utilisez ${auto-detect-url} pour utiliser automatiquement l’adresse que le serveur écoute.", diff --git a/package.nls.ja.json b/package.nls.ja.json index 97e3e297e..9d8323736 100644 --- a/package.nls.ja.json +++ b/package.nls.ja.json @@ -70,7 +70,7 @@ "configuration.dotnet.server.extensionPaths": "言語サーバーへのパスのオーバーライド --拡張引数", "configuration.dotnet.server.path": "サーバー (LSP または O#) 実行可能ファイルに絶対パスを指定します。空のままにすると、C# 拡張機能にピン留めされたバージョンが使用されます。(以前の `omnisharp.path`)", "configuration.dotnet.server.startTimeout": "クライアントが正常に起動して言語サーバーに接続するためのタイムアウト (ミリ秒) を指定します。", - "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", + "configuration.dotnet.server.suppressLspErrorToasts": "サーバーで回復可能なエラーが発生した場合に、エラー トーストが表示されないようにします。", "configuration.dotnet.server.trace": "言語サーバーのログ記録レベルを設定する", "configuration.dotnet.server.waitForDebugger": "デバッガーのアタッチを許可するために、サーバーを起動するときに --debug フラグを渡します。(以前の `omnisharp.waitForDebugger`)", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "参照アセンブリ内のシンボルを検索します。影響を受ける機能には、インポートの追加などのシンボル検索が必要です。", diff --git a/package.nls.ko.json b/package.nls.ko.json index 06b284012..c478d767f 100644 --- a/package.nls.ko.json +++ b/package.nls.ko.json @@ -70,7 +70,7 @@ "configuration.dotnet.server.extensionPaths": "언어 서버 --extension 인수 경로에 대한 재정의", "configuration.dotnet.server.path": "서버(LSP 또는 O#) 실행 파일의 절대 경로를 지정합니다. 비어 있으면 C# 확장에 고정된 버전이 사용됩니다(이전 `omnisharp.path`).", "configuration.dotnet.server.startTimeout": "클라이언트가 언어 서버를 시작하고 연결하기 위한 시간 제한(밀리초)을 지정합니다.", - "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", + "configuration.dotnet.server.suppressLspErrorToasts": "서버에서 복구 가능한 오류가 발생하는 경우 오류 알림이 표시되지 않도록 합니다.", "configuration.dotnet.server.trace": "언어 서버의 로깅 수준을 설정합니다.", "configuration.dotnet.server.waitForDebugger": "디버거 연결을 허용하기 위해 서버를 시작할 때 --debug 플래그를 전달합니다(이전 `omnisharp.waitForDebugger`).", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "참조 어셈블리에서 기호를 검색합니다. 가져오기 추가와 같은 기호 검색이 필요한 기능에 영향을 줍니다.", @@ -109,10 +109,10 @@ "generateOptionsSchema.env.description": "프로그램에 전달된 환경 변수입니다.", "generateOptionsSchema.envFile.markdownDescription": "파일에 의해 프로그램에 전달되는 환경 변수입니다(예: `${workspaceFolder}/.env`).", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "true(기본 상태)인 경우 디버거는 간단한 속성 및 메서드 실행을 시뮬레이션하여 더 빠른 평가를 시도합니다.", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "true(기본 상태)이면 디버거가 속성 'get' 메서드 및 기타 암시적 함수 호출을 자동으로 호출합니다.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "true(기본 상태)이면 디버거가 자동으로 'ToString'을 호출하여 개체의 서식을 지정합니다. 'allowImplicitFuncEval'이 'false'인 경우에는 이 옵션이 적용되지 않습니다.", + "generateOptionsSchema.expressionEvaluationOptions.description": "데이터 팁, 디버그 뷰의 '조사식' 및 '변수' 섹션 또는 디버그 콘솔 디버거가 식을 평가하는 방법을 제어하는 옵션입니다.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "true이면 디버거는 변수 창에 개체의 원시 구조를 표시합니다.", "generateOptionsSchema.externalConsole.markdownDescription": "`externalConsole` 속성은 더 이상 사용되지 않습니다. 대신 `console`을 사용하세요. 이 옵션의 기본값은 `false`입니다.", "generateOptionsSchema.justMyCode.markdownDescription": "활성화된 경우(기본값) 디버거는 사용자 코드(\"내 코드\")만 표시하고 단계적으로 들어가며 시스템 코드 및 최적화되었거나 디버깅 기호가 없는 기타 코드는 무시합니다. [정보 더 보기](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "브라우저를 여는 명령에 전달할 인수입니다. 플랫폼별 요소(`osx`, `linux` 또는 `windows`)가 `args`에 대한 값을 지정하지 않는 경우에만 사용됩니다. ${auto-detect-url}을(를) 사용하여 서버가 수신하는 주소를 자동으로 사용하세요.", diff --git a/package.nls.pl.json b/package.nls.pl.json index 464424a02..54d396ae1 100644 --- a/package.nls.pl.json +++ b/package.nls.pl.json @@ -109,10 +109,10 @@ "generateOptionsSchema.env.description": "Zmienne środowiskowe przekazywane do programu.", "generateOptionsSchema.envFile.markdownDescription": "Zmienne środowiskowe przekazywane do programu przez plik, np. „${workspaceFolder}/.env”", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "W przypadku wartości true (stan domyślny) debuger podejmie próbę szybszego obliczania, symulując wykonywanie prostych właściwości i metod.", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "W przypadku wartości true (stan domyślny) debuger automatycznie wywoła metody „pobierz” właściwości i inne niejawne wywołania funkcji.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "W przypadku wartości true (stan domyślny) debuger automatycznie wywoła metodę „DoCiągu” w celu sformatowania obiektów. Ta opcja nie ma żadnego efektu, jeśli właściwość „allowImplicitFuncEval” ma wartość „false”.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Opcje umożliwiające kontrolowanie sposobu oceniania wyrażeń przez debugera w poradach dotyczących danych, sekcjach „Wyrażenie kontrolne” i „Zmienne” widoku debugowania lub w konsoli debugowania.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "W przypadku wartości true debuger wyświetli nieprzetworzoną strukturę obiektów w oknach zmiennych.", "generateOptionsSchema.externalConsole.markdownDescription": "Atrybut „externalConsole” jest przestarzały. Użyj zamiast niego atrybutu „console”. Ta opcja jest ustawiona domyślnie na wartość „false”.", "generateOptionsSchema.justMyCode.markdownDescription": "Gdy ta opcja jest włączona (wartość domyślna), debuger wyświetla tylko kod użytkownika dotyczący informacji o krokach („Mój kod”), ignorując kod systemowy i inny zoptymalizowany kod lub który nie ma symboli debugowania. [Więcej informacji](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Argumenty do przekazania do polecenia w celu otwarcia przeglądarki. Jest to używane tylko wtedy, gdy element specyficzny dla platformy („osx”, „linux” lub „windows”) nie określa wartości dla elementu „args”. Użyj *polecenia ${auto-detect-url}, aby automatycznie używać adresu, na którym nasłuchuje serwer.", diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index 1c89869c7..237f9e2fb 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -109,10 +109,10 @@ "generateOptionsSchema.env.description": "Variáveis de ambiente passadas para o programa.", "generateOptionsSchema.envFile.markdownDescription": "Variáveis de ambiente passadas para o programa por um arquivo. Por exemplo. `${workspaceFolder}/.env`", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "Quando verdadeiro (o estado padrão), o depurador tentará uma avaliação mais rápida simulando a execução de propriedades e métodos simples.", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "Quando true (o estado padrão), o depurador chamará automaticamente os métodos de propriedade `get` e outras chamadas de função implícitas.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "Quando true (o estado padrão), o depurador chamará automaticamente `ToString` para formatar objetos. Esta opção não terá efeito se `allowImplicitFuncEval` for `false`.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Opções para controlar como o depurador avalia expressões em dicas de dados, nas seções \"Inspeção\" e \"Variáveis\" da exibição de depuração ou no Console de Depuração.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "Quando for verdadeiro, o depurador mostrará a estrutura bruta de objetos em janelas de variáveis.", "generateOptionsSchema.externalConsole.markdownDescription": "O atributo `externalConsole` está preterido, use `console` em seu lugar. Esta opção padrão é `false`.", "generateOptionsSchema.justMyCode.markdownDescription": "Quando ativado (o padrão), o depurador apenas exibe e entra no código do usuário (\"Meu Código\"), ignorando o código do sistema e outros códigos otimizados ou que não possuem símbolos de depuração. [Mais informações](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Os argumentos a serem passados ao comando para abrir o navegador. Isso é usado apenas se o elemento específico da plataforma (`osx`, `linux` ou `windows`) não especificar um valor para `args`. Use ${auto-detect-url} para usar automaticamente o endereço que o servidor está ouvindo.", diff --git a/package.nls.ru.json b/package.nls.ru.json index 4045e5e5a..fb5af0395 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -70,7 +70,7 @@ "configuration.dotnet.server.extensionPaths": "Переопределить путь к аргументам --extension сервера языка", "configuration.dotnet.server.path": "Указывает абсолютный путь к исполняемому файлу сервера (LSP или O#). Если оставить поле пустым, используется версия, закрепленная в расширении C#. (Ранее — \"omnisharp.path\")", "configuration.dotnet.server.startTimeout": "Указывает время ожидания (в миллисекундах) для запуска клиента и его подключения к языковому серверу.", - "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", + "configuration.dotnet.server.suppressLspErrorToasts": "Подавляет появление всплывающих сообщений об ошибках, если сервер обнаруживает устранимую ошибку.", "configuration.dotnet.server.trace": "Задает уровень ведения журнала для языкового сервера", "configuration.dotnet.server.waitForDebugger": "Передает флаг --debug при запуске сервера, чтобы разрешить подключение отладчика. (Ранее — \"omnisharp.waitForDebugger\")", "configuration.dotnet.symbolSearch.searchReferenceAssemblies": "Поиск символов в эталонных сборках. Он влияет на функции, для которых требуется поиск символов, например добавление импортов.", diff --git a/package.nls.tr.json b/package.nls.tr.json index 6eb208b1c..5d1df61b0 100644 --- a/package.nls.tr.json +++ b/package.nls.tr.json @@ -109,10 +109,10 @@ "generateOptionsSchema.env.description": "Programa geçirilen ortam değişkenleri.", "generateOptionsSchema.envFile.markdownDescription": "Bir dosya tarafından programa geçirilen ortam değişkenleri. Ör. '${workspaceFolder}/.env'", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "True olduğunda (varsayılan durum), hata ayıklayıcısı basit özelliklerin ve yöntemlerin yürütülmesinin simülasyonunu yaparak daha hızlı değerlendirmeyi dener.", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "Değer ‘true’ (varsayılan durum) olduğunda, hata ayıklayıcısı `get` özelliği yöntemlerini ve diğer örtük işlev çağrılarını otomatik olarak çağırır.", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "Değer ‘true’ (varsayılan durum) olduğunda, hata ayıklayıcısı nesneleri biçimlendirmek için `ToString` işlevini otomatik olarak çağırır. `allowImplicitFuncEval` işlevinin değeri `false` ise bu seçenek etkin olmaz.", + "generateOptionsSchema.expressionEvaluationOptions.description": "Hata ayıklayıcısının veri ipuçlarındaki, hata ayıklama görünümünün ‘İzleme’ ve ‘Değişkenler’ bölümlerinde veya Hata Ayıklama Konsolundaki ifadeleri değerlendirme yöntemini kontrol etme seçenekleri.", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "Değer ‘true’ olduğunda, hata ayıklayıcısı nesnelerin ham yapısını değişkenler penceresinde gösterir.", "generateOptionsSchema.externalConsole.markdownDescription": "`externalConsole` özniteliği kullanım dışı, bunun yerine `console` özniteliğini kullanın. Bu seçenek varsayılan olarak `false` değerini alır.", "generateOptionsSchema.justMyCode.markdownDescription": "Etkinleştirildiğinde (varsayılan) hata ayıklayıcısı, sistem kodunu ve iyileştirilmiş ya da hata ayıklama sembollerine sahip olmayan diğer kodu yok sayarak yalnızca kullanıcı kodunu (\"Kodum\") görüntüler ve bu koda geçer. [Daha fazla bilgi](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "Tarayıcıyı açmak için komuta geçirilecek bağımsız değişkenler. Bu yalnızca platforma özgü öğe (`osx`, `linux` veya `windows`) `args` için bir değer belirtmiyorsa kullanılır. Sunucunun dinlediği adresi otomatik olarak kullanmak için ${auto-detect-url} kullanın.", diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index 88d399377..67500bfc2 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -109,10 +109,10 @@ "generateOptionsSchema.env.description": "传递给程序的环境变量。", "generateOptionsSchema.envFile.markdownDescription": "文件传递给程序的环境变量。例如 \"${workspaceFolder}/.env\"", "generateOptionsSchema.expressionEvaluationOptions.allowFastEvaluate.description": "如果为 true (默认状态),调试器将尝试模拟简单属性和方法的执行以加快评估速度。", - "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "When true (the default state), the debugger will automatically call property `get` methods and other implicit function calls.", - "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "When true (the default state), the debugger will automatically call `ToString` to format objects. This option has no effect if `allowImplicitFuncEval` is `false`.", - "generateOptionsSchema.expressionEvaluationOptions.description": "Options to control how the debugger evaluates expressions in data tips, the debug view's 'Watch' and 'Variables' sections, or in the Debug Console.", - "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "When true, the debugger will show raw structure of objects in variables windows.", + "generateOptionsSchema.expressionEvaluationOptions.allowImplicitFuncEval.description": "如果为 true (默认状态),调试程序将自动调用属性 `get` 方法和其他隐式函数调用。", + "generateOptionsSchema.expressionEvaluationOptions.allowToString.markdownDescription": "如果为 true (默认状态),调试程序将自动调用 `ToString` 来设置对象的格式。如果 `allowImplicitFuncEval` 为 `false`,则此选项无效。", + "generateOptionsSchema.expressionEvaluationOptions.description": "用于控制调试程序如何在数据提示、调试视图的“监视”和“变量”部分或调试控制台中计算表达式的选项。", + "generateOptionsSchema.expressionEvaluationOptions.showRawValues.description": "如果为 true,调试程序将在变量窗口中显示对象的原始结构。", "generateOptionsSchema.externalConsole.markdownDescription": "特性 \"externalConsole\" 已弃用,请改用 \"console\"。此选项默认为 \"false\"。", "generateOptionsSchema.justMyCode.markdownDescription": "启用(默认)后,调试器仅显示并单步执行用户代码(“我的代码”),忽略系统代码和其他经过优化或没有调试符号的代码。[详细信息](https://aka.ms/VSCode-CS-LaunchJson-JustMyCode)", "generateOptionsSchema.launchBrowser.args.description": "要传递给命令以打开浏览器的参数。只有当平台特定的元素 (\"osx\"、\"linux\" 或 \"windows\") 没有为 \"args\" 指定值时,才使用此选项。使用 ${auto-detect-url} 以自动使用服务器正在侦听的地址。", From 87e3a4bf4760dd883035a333872c70dc2233c540 Mon Sep 17 00:00:00 2001 From: Marco Goertz Date: Fri, 17 May 2024 10:44:26 -0700 Subject: [PATCH 34/35] Bump xamlTools to latest signed release (17.11.34917.22): https://dev.azure.com/devdiv/DevDiv/_build?definitionId=10369&keywordFilter=main I verified the following: - onTypeFormat no longer causes exceptions when typing in XAML - Format Document/Selection works as expected - onAutoInsert no longer requires a space after the tag name to work - completion item documentation tooltips are back --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f6e1859e2..f7c3efa22 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "razor": "7.0.0-preview.24178.4", "razorOmnisharp": "7.0.0-preview.23363.1", "razorTelemetry": "7.0.0-preview.24178.4", - "xamlTools": "17.11.34907.35" + "xamlTools": "17.11.34917.22" }, "main": "./dist/extension", "l10n": "./l10n", From a086d16d666f5105c21bbc4178600c50e4808c29 Mon Sep 17 00:00:00 2001 From: Marco Goertz Date: Fri, 17 May 2024 11:44:35 -0700 Subject: [PATCH 35/35] Renamed xamlTools feature flag --- CHANGELOG.md | 2 +- package.json | 4 ++-- package.nls.cs.json | 2 +- package.nls.de.json | 2 +- package.nls.es.json | 2 +- package.nls.fr.json | 2 +- package.nls.it.json | 2 +- package.nls.ja.json | 2 +- package.nls.json | 2 +- package.nls.ko.json | 2 +- package.nls.pl.json | 2 +- package.nls.pt-br.json | 2 +- package.nls.ru.json | 2 +- package.nls.tr.json | 2 +- package.nls.zh-cn.json | 2 +- package.nls.zh-tw.json | 2 +- src/lsptoolshost/roslynLanguageServer.ts | 2 +- src/shared/options.ts | 8 ++++---- 18 files changed, 22 insertions(+), 22 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ce81810d0..ef1dedf4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ # Latest * XAML IntelliSense for .NET MAUI (Issue: [#565](https://github.com/microsoft/vscode-dotnettools/issues/565)) - * Controlled by preview feature flag `dotnet.enableXamlToolsPreview` which is on by default + * Controlled by feature flag `dotnet.enableXamlTools` which is on by default * Requires C# Dev Kit and .NET MAUI extensions * Update Roslyn to 4.11.0-2.24259.4 (PR: [#7117](https://github.com/dotnet/vscode-csharp/pull/7117)) * Shrink the size and remove unnecessary dependencies in the build host (PR: [#73393](https://github.com/dotnet/roslyn/pull/73393)) diff --git a/package.json b/package.json index f6e1859e2..061017701 100644 --- a/package.json +++ b/package.json @@ -1719,11 +1719,11 @@ "default": null, "description": "%configuration.dotnet.server.crashDumpPath%" }, - "dotnet.enableXamlToolsPreview": { + "dotnet.enableXamlTools": { "scope": "machine-overridable", "type": "boolean", "default": true, - "description": "%configuration.dotnet.enableXamlToolsPreview%" + "description": "%configuration.dotnet.enableXamlTools%" }, "dotnet.server.suppressLspErrorToasts": { "type": "boolean", diff --git a/package.nls.cs.json b/package.nls.cs.json index 4332585e3..5d7b9a582 100644 --- a/package.nls.cs.json +++ b/package.nls.cs.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Pro členy, které jste nedávno vybrali, proveďte automatické dokončování názvů objektů.", "configuration.dotnet.defaultSolution.description": "Cesta výchozího řešení, které se má otevřít v pracovním prostoru. Můžete přeskočit nastavením na „zakázat“. (Dříve omnisharp.defaultLaunchSolution)", "configuration.dotnet.dotnetPath": "Zadává cestu k adresáři instalace dotnet, která se má použít místo výchozí systémové instalace. To má vliv pouze na instalaci dotnet, která se má použít k hostování samotného jazykového serveru. Příklad: /home/username/mycustomdotnetdirectory", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Zvýrazněte související komponenty JSON pod kurzorem.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Zvýraznit související komponenty regulárního výrazu pod kurzorem.", "configuration.dotnet.implementType.insertionBehavior": "Umístění vložení vlastností, událostí a metod při implementaci rozhraní nebo abstraktní třídy.", diff --git a/package.nls.de.json b/package.nls.de.json index 84cc18137..c9e8f4f43 100644 --- a/package.nls.de.json +++ b/package.nls.de.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Führen Sie die automatische Vervollständigung des Objektnamens für die Elemente aus, die Sie kürzlich ausgewählt haben.", "configuration.dotnet.defaultSolution.description": "Der Pfad der Standardlösung, die im Arbeitsbereich geöffnet werden soll, oder auf \"deaktivieren\" festlegen, um sie zu überspringen. (Zuvor \"omnisharp.defaultLaunchSolution\")", "configuration.dotnet.dotnetPath": "Gibt den Pfad zu einem dotnet-Installationsverzeichnis an, das anstelle des Standardsystems verwendet werden soll. Dies wirkt sich nur auf die dotnet-Installation aus, die zum Hosten des Sprachservers selbst verwendet werden soll. Beispiel: \"/home/username/mycustomdotnetdirectory\".", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Zugehörige JSON-Komponenten unter dem Cursor markieren.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Zugehörige Komponenten regulärer Ausdrücke unter dem Cursor markieren.", "configuration.dotnet.implementType.insertionBehavior": "Die Einfügeposition von Eigenschaften, Ereignissen und Methoden beim Implementieren der Schnittstelle oder abstrakten Klasse.", diff --git a/package.nls.es.json b/package.nls.es.json index 3bb7d4ff2..77e691aba 100644 --- a/package.nls.es.json +++ b/package.nls.es.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Realice la finalización automática del nombre de objeto para los miembros que ha seleccionado recientemente.", "configuration.dotnet.defaultSolution.description": "Ruta de acceso de la solución predeterminada que se va a abrir en el área de trabajo o se establece en \"deshabilitar\" para omitirla. (Anteriormente \"omnisharp.defaultLaunchSolution\")", "configuration.dotnet.dotnetPath": "Especifica la ruta de acceso a un directorio de instalación de dotnet que se va a usar en lugar del predeterminado del sistema. Esto solo influye en la instalación de dotnet que se va a usar para hospedar el propio servidor de idioma. Ejemplo: \"/home/username/mycustomdotnetdirectory\".", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Resaltar los componentes JSON relacionados bajo el cursor.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Resaltar los componentes de expresiones regulares relacionados bajo el cursor.", "configuration.dotnet.implementType.insertionBehavior": "Ubicación de inserción de propiedades, eventos y métodos cuando se implementa una interfaz o una clase abstracta.", diff --git a/package.nls.fr.json b/package.nls.fr.json index 2962f72fc..2e4ca58c1 100644 --- a/package.nls.fr.json +++ b/package.nls.fr.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Effectuez la complétion automatique du nom d’objet pour les membres que vous avez récemment sélectionnés.", "configuration.dotnet.defaultSolution.description": "Le chemin d’accès de la solution par défaut à ouvrir dans l’espace de travail, ou la valeur ’disable’ pour l’ignorer. (Précédemment `omnisharp.defaultLaunchSolution`)", "configuration.dotnet.dotnetPath": "Spécifie le chemin d’accès à un répertoire d’installation de dotnet à utiliser à la place du répertoire par défaut du système. Cela n’a d’influence que sur l’installation dotnet à utiliser pour héberger le serveur de langues lui-même. Exemple : \"/home/username/mycustomdotnetdirect\" : \"/home/nom d’utilisateur/monrépertoiredotnetpersonnalisé\".", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Mettez en surbrillance les composants JSON associés sous le curseur.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Mettre en surbrillance les composants d’expression régulière associés sous le curseur.", "configuration.dotnet.implementType.insertionBehavior": "Emplacement d’insertion des propriétés, des événements et des méthodes lors de l’implémentation d’une interface ou d’une classe abstraite.", diff --git a/package.nls.it.json b/package.nls.it.json index 73ff6b39c..5d4d57112 100644 --- a/package.nls.it.json +++ b/package.nls.it.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Consente di eseguire il completamento automatico del nome dell'oggetto per i membri selezionati di recente.", "configuration.dotnet.defaultSolution.description": "Percorso della soluzione predefinita da aprire nell'area di lavoro o impostare su 'disabilita' per ignorarla. (In precedenza “omnisharp.defaultLaunchSolution”)", "configuration.dotnet.dotnetPath": "Specifica il percorso di una directory di installazione dotnet da usare al posto di quella predefinita del sistema. Ciò influisce solo sull'installazione di dotnet da usare per ospitare il server di linguaggio stesso. Esempio: \"/home/username/mycustomdotnetdirectory\".", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Evidenziare i componenti JSON correlati sotto il cursore.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Evidenzia i componenti dell'espressione regolare correlati sotto il cursore.", "configuration.dotnet.implementType.insertionBehavior": "La posizione di inserimento di proprietà, eventi e metodi quando si implementa un'interfaccia o una classe astratta.", diff --git a/package.nls.ja.json b/package.nls.ja.json index 9d8323736..f02574453 100644 --- a/package.nls.ja.json +++ b/package.nls.ja.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "最近選択したメンバーの自動オブジェクト名の完了を実行します。", "configuration.dotnet.defaultSolution.description": "ワークスペースで開く既定のソリューションのパス。スキップするには 'disable' に設定します。(以前の `omnisharp.defaultLaunchSolution`)", "configuration.dotnet.dotnetPath": "既定のシステム ディレクトリの代わりに使用する dotnet インストール ディレクトリへのパスを指定します。これは、言語サーバー自体をホストするために使用する dotnet インストールにのみ影響します。例: \"/home/username/mycustomdotnetdirectory\"。", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "カーソルの下にある関連する JSON コンポーネントをハイライトします。", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "カーソルの下にある関連する正規表現コンポーネントをハイライトします。", "configuration.dotnet.implementType.insertionBehavior": "インターフェイスまたは抽象クラスを実装する場合の、プロパティ、イベント、メソッドの挿入場所です。", diff --git a/package.nls.json b/package.nls.json index d21a02dfc..c528a5af9 100644 --- a/package.nls.json +++ b/package.nls.json @@ -34,7 +34,7 @@ "configuration.dotnet.server.trace": "Sets the logging level for the language server", "configuration.dotnet.server.extensionPaths": "Override for path to language server --extension arguments", "configuration.dotnet.server.crashDumpPath": "Sets a folder path where crash dumps are written to if the language server crashes. Must be writeable by the user.", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.server.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", "configuration.dotnet.projects.enableAutomaticRestore": "Enables automatic NuGet restore if the extension detects assets are missing.", "configuration.dotnet.preferCSharpExtension": "Forces projects to load with the C# extension only. This can be useful when using legacy project types that are not supported by C# Dev Kit. (Requires window reload)", diff --git a/package.nls.ko.json b/package.nls.ko.json index c478d767f..4cdf60ba5 100644 --- a/package.nls.ko.json +++ b/package.nls.ko.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "최근에 선택한 멤버에 대해 자동 개체 이름 완성을 수행합니다.", "configuration.dotnet.defaultSolution.description": "작업 영역에서 열릴 기본 솔루션의 경로, 건너뛰려면 '비활성화'로 설정하세요(이전 `omnisharp.defaultLaunchSolution`).", "configuration.dotnet.dotnetPath": "기본 시스템 대신 사용할 dotnet 설치 디렉터리를 지정합니다. 이는 언어 서버 자체를 호스팅하는 데 사용할 dotnet 설치에만 영향을 줍니다(예: \"/home/username/mycustomdotnetdirectory\").", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "커서 아래에서 관련 JSON 구성 요소를 강조 표시합니다.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "커서 아래의 관련 정규식 구성 요소를 강조 표시합니다.", "configuration.dotnet.implementType.insertionBehavior": "인터페이스 또는 추상 클래스를 구현할 때 속성, 이벤트 및 메서드의 삽입 위치입니다.", diff --git a/package.nls.pl.json b/package.nls.pl.json index 54d396ae1..ec3cd166a 100644 --- a/package.nls.pl.json +++ b/package.nls.pl.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Wykonaj automatyczne uzupełnianie nazw obiektów dla elementów członkowskich, które zostały ostatnio wybrane.", "configuration.dotnet.defaultSolution.description": "Ścieżka domyślnego rozwiązania, która ma zostać otwarta w obszarze roboczym, lub ustawiona na wartość „wyłącz”, aby je pominąć. (Poprzednio „omnisharp.defaultLaunchSolution”)", "configuration.dotnet.dotnetPath": "Określa ścieżkę do katalogu instalacyjnego dotnet, który ma być używany zamiast domyślnego katalogu systemowego. Ma to wpływ tylko na instalację dotnet używaną do hostowania samego serwera językowego. Przykład: „/home/username/mycustomdotnetdirectory”.", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Wyróżnij powiązane składniki JSON pod kursorem.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Wyróżnij powiązane składniki wyrażenia regularnego pod kursorem.", "configuration.dotnet.implementType.insertionBehavior": "Lokalizacja wstawiania właściwości, zdarzeń i metod podczas implementowania interfejsu lub klasy abstrakcyjnej.", diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index 237f9e2fb..4b2031ada 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Execute a conclusão automática do nome do objeto para os membros que você selecionou recentemente.", "configuration.dotnet.defaultSolution.description": "O caminho da solução padrão a ser aberta no workspace ou definido como 'desabilitado' para ignorá-la. (Anteriormente `omnisharp.defaultLaunchSolution`)", "configuration.dotnet.dotnetPath": "Especifica o caminho para um diretório de instalação dotnet a ser usado em vez do sistema padrão. Isso influencia apenas a instalação do dotnet a ser usada para hospedar o próprio servidor de idiomas. Exemplo: \"/home/username/mycustomdotnetdirectory\".", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Destaque os componentes JSON relacionados sob o cursor.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Destaque os componentes de expressão regular relacionados sob o cursor.", "configuration.dotnet.implementType.insertionBehavior": "O local de inserção de propriedades, eventos e métodos Ao implementar interface ou classe abstrata.", diff --git a/package.nls.ru.json b/package.nls.ru.json index fb5af0395..ffb32b11b 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Выполните автоматическое завершение имен объектов для выбранных элементов.", "configuration.dotnet.defaultSolution.description": "Путь к решению по умолчанию, которое будет открыто в рабочей области. Или задайте значение \"Отключить\", чтобы пропустить его. (Ранее — \"omnisharp.defaultLaunchSolution\")", "configuration.dotnet.dotnetPath": "Указывает путь к каталогу установки dotnet для использования вместо стандартного системного каталога. Это влияет только на установку dotnet, используемую для размещения самого языкового сервера. Пример: \"/home/username/mycustomdotnetdirectory\".", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Выделить связанные компоненты JSON под курсором.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Выделение связанных компонентов регулярных выражений под курсором.", "configuration.dotnet.implementType.insertionBehavior": "Расположение вставки свойств, событий и методов. При реализации интерфейса или абстрактного класса.", diff --git a/package.nls.tr.json b/package.nls.tr.json index 5d1df61b0..f9eda3a8a 100644 --- a/package.nls.tr.json +++ b/package.nls.tr.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "Yakın zamanda seçtiğiniz üyeler için otomatik nesne adı tamamlama gerçekleştirin.", "configuration.dotnet.defaultSolution.description": "Varsayılan çözümün yolu, çalışma alanında açılacak veya atlamak için 'devre dışı' olarak ayarlanacak. (Daha önce 'omnisharp.defaultLaunchSolution')", "configuration.dotnet.dotnetPath": "Varsayılan sistem dizini yerine kullanılacak bir dotnet kurulum dizininin yolunu belirtir. Bu, yalnızca dil sunucusunun kendisini barındırmak için kullanılacak dotnet kurulumunu etkiler. Örnek: \"/home/username/mycustomdotnetdirectory\".", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "İmlecin altındaki ilgili JSON bileşenlerini vurgula.", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "İmleç altındaki ilgili normal ifade bileşenlerini vurgula.", "configuration.dotnet.implementType.insertionBehavior": "Arabirim veya soyut sınıf uygulanırken özellikler, olaylar ve yöntemlerin eklenme konumu.", diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index 67500bfc2..24a21ce56 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "对最近选择的成员执行自动对象名称完成。", "configuration.dotnet.defaultSolution.description": "要在工作区中打开的默认解决方案的路径,或者设置为“禁用”以跳过它。(之前为 \"omnisharp.defaultLaunchSolution\")", "configuration.dotnet.dotnetPath": "指定要使用的 dotnet 安装目录的路径,而不是默认的系统目录。这仅影响用于承载语言服务器本身的 dotnet 安装。示例: \"/home/username/mycustomdotnetdirectory\"。", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "突出显示光标下的相关 JSON 组件。", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "突出显示光标下的相关正则表达式组件。", "configuration.dotnet.implementType.insertionBehavior": "实现接口或抽象类时属性、事件和方法的插入位置。", diff --git a/package.nls.zh-tw.json b/package.nls.zh-tw.json index 29d75c50d..95facd140 100644 --- a/package.nls.zh-tw.json +++ b/package.nls.zh-tw.json @@ -43,7 +43,7 @@ "configuration.dotnet.completion.showNameCompletionSuggestions": "為您最近選取的成員執行自動物件名稱完成。", "configuration.dotnet.defaultSolution.description": "要在工作區中開啟的預設解決方案路徑,或設為 [停用] 以略過它。(先前為 `omnisharp.defaultLaunchSolution`)", "configuration.dotnet.dotnetPath": "指定要使用的 dotnet 安裝目錄路徑,而非系統預設的路徑。這只會影響用來裝載語言伺服器本身的 dotnet 安裝。範例: \"/home/username/mycustomdotnetdirectory”。", - "configuration.dotnet.enableXamlToolsPreview": "[Experimental] Enables XAML tools when using C# Dev Kit", + "configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit", "configuration.dotnet.highlighting.highlightRelatedJsonComponents": "反白資料指標下的相關 JSON 元件。", "configuration.dotnet.highlighting.highlightRelatedRegexComponents": "反白資料指標下的相關規則運算式元件。", "configuration.dotnet.implementType.insertionBehavior": "實作介面或抽象類別時,屬性、事件和方法的插入位置。", diff --git a/src/lsptoolshost/roslynLanguageServer.ts b/src/lsptoolshost/roslynLanguageServer.ts index ca1ea3823..ee189f646 100644 --- a/src/lsptoolshost/roslynLanguageServer.ts +++ b/src/lsptoolshost/roslynLanguageServer.ts @@ -826,7 +826,7 @@ export class RoslynLanguageServer { args.push('--sessionId', getSessionId()); // Also include the Xaml Dev Kit extensions, if enabled. - if (languageServerOptions.enableXamlToolsPreview) { + if (languageServerOptions.enableXamlTools) { getComponentPaths('xamlTools', languageServerOptions).forEach((path) => additionalExtensionPaths.push(path) ); diff --git a/src/shared/options.ts b/src/shared/options.ts index b81d9ec24..2f06d67a5 100644 --- a/src/shared/options.ts +++ b/src/shared/options.ts @@ -78,7 +78,7 @@ export interface LanguageServerOptions { readonly analyzerDiagnosticScope: string; readonly compilerDiagnosticScope: string; readonly componentPaths: { [key: string]: string } | null; - readonly enableXamlToolsPreview: boolean; + readonly enableXamlTools: boolean; readonly suppressLspErrorToasts: boolean; } @@ -403,8 +403,8 @@ class LanguageServerOptionsImpl implements LanguageServerOptions { public get componentPaths() { return readOption<{ [key: string]: string }>('dotnet.server.componentPaths', {}); } - public get enableXamlToolsPreview() { - return readOption('dotnet.enableXamlToolsPreview', true); + public get enableXamlTools() { + return readOption('dotnet.enableXamlTools', true); } public get suppressLspErrorToasts() { return readOption('dotnet.server.suppressLspErrorToasts', false); @@ -503,5 +503,5 @@ export const LanguageServerOptionsThatTriggerReload: ReadonlyArray