diff --git a/.github/workflows/branch-snap.yml b/.github/workflows/branch-snap.yml index 53ecc9b91f..17640ea2f2 100644 --- a/.github/workflows/branch-snap.yml +++ b/.github/workflows/branch-snap.yml @@ -28,8 +28,8 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v4 with: - node-version: '18.x' - - name: Install dependencies + node-version: '24.x' + - name: Install dependencies run: npm ci - name: Update version.json run: | @@ -59,8 +59,8 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v4 with: - node-version: '18.x' - - name: Install dependencies + node-version: '24.x' + - name: Install dependencies run: npm ci - name: Update version.json for release run: npx gulp updateVersionForStableRelease diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 546d9036ac..17b8a521a7 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -28,13 +28,13 @@ jobs: # Install Node.js (required for TypeScript compilation and npm packages) - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' cache: 'npm' # Install .NET SDK (required for some build components and MSBuild tasks) - uses: actions/setup-dotnet@v4 with: - dotnet-version: '8.0.x' + dotnet-version: '10.0.x' # Install npm dependencies - name: Install dependencies @@ -52,4 +52,4 @@ jobs: - name: Install dependencies run: gulp installDependencies - + diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 8f3bc05360..1628a2041e 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -22,7 +22,7 @@ jobs: - name: Install NodeJS uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '24.x' - name: Install dependencies run: npm ci - name: Update CHANGELOG diff --git a/CHANGELOG.md b/CHANGELOG.md index a5b57b58c3..3b6b251a5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,11 +3,35 @@ - Diagnostics related feature requests and improvements [#5951](https://github.com/dotnet/vscode-csharp/issues/5951) - Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876) +# 2.114.x +* Adjust Select Project Context editor menu item location (PR: [#8907](https://github.com/dotnet/vscode-csharp/pull/8907)) +* Replace vsts-npm-auth with ado-npm-auth in documentation and scripts (PR: [#8906](https://github.com/dotnet/vscode-csharp/pull/8906)) +* Clarify vsts-npm-auth only required when adding new packages (PR: [#8850](https://github.com/dotnet/vscode-csharp/pull/8850)) +* Update Razor to 10.0.0-preview.26075.11 (PR: [#8914](https://github.com/dotnet/vscode-csharp/pull/8914)) + * Add IndentByTwo attribute indent style option for Razor formatting (PR: [#12700](https://github.com/dotnet/razor/pull/12700)) + * Fix ordering logic for folding ranges, to fix expression bodied method folding (PR: [#12695](https://github.com/dotnet/razor/pull/12695)) +* Update Roslyn to 5.4.0-2.26076.6 (PR: [#8921](https://github.com/dotnet/vscode-csharp/pull/8921)) + * [EnC] Use default encoding stored in the PDB for creating committed document SourceText (PR: [#81912](https://github.com/dotnet/roslyn/pull/81912)) + * Fix setting checksum algorithm when mapping projects (PR: [#82051](https://github.com/dotnet/roslyn/pull/82051)) + * Fix race in AbstractFormatEngine.GetChainedFormattingRules (PR: [#82079](https://github.com/dotnet/roslyn/pull/82079)) + * Fix crash when seeing if code can be converted to collection expressions (PR: [#82104](https://github.com/dotnet/roslyn/pull/82104)) + * feat: foreach completion (PR: [#81850](https://github.com/dotnet/roslyn/pull/81850)) + * Use document structure in breadcrumbs, sticky scroll, and outline in VSCode (PR: [#81993](https://github.com/dotnet/roslyn/pull/81993)) + * Keep comments when converting coalesce expressions (PR: [#82062](https://github.com/dotnet/roslyn/pull/82062)) + * Adds an analyzer/fixer to inform the user when the compiler silently inserts a fallible explicit cast. (PR: [#82039](https://github.com/dotnet/roslyn/pull/82039)) + * Don't offer "Use coalesce expression" when if-statement contains directives (PR: [#82041](https://github.com/dotnet/roslyn/pull/82041)) + * Fix detection of embedded c# code (PR: [#82033](https://github.com/dotnet/roslyn/pull/82033)) + * Fix issue with 'remove unnecessary suppression' and field/property initializers (PR: [#81899](https://github.com/dotnet/roslyn/pull/81899)) + * Extensions: RemovedUnusedMembers should analyze symbol usages within extension blocks too (PR: [#81996](https://github.com/dotnet/roslyn/pull/81996)) + * Don't offer 'use ??' when pointers are involved (PR: [#81988](https://github.com/dotnet/roslyn/pull/81988)) + * Add 'find references' support for collection-expression-builder methods. (PR: [#81770](https://github.com/dotnet/roslyn/pull/81770)) + * Support inference in collection expressions (PR: [#77534](https://github.com/dotnet/roslyn/pull/77534)) + # 2.113.x * Add explorer context menu item for changing project context (PR: [#8896](https://github.com/dotnet/vscode-csharp/pull/8896)) * Small fixes for project context selector (PR: [#8889](https://github.com/dotnet/vscode-csharp/pull/8889)) * Update Razor to 10.0.0-preview.26066.2 (PR: [#8894](https://github.com/dotnet/vscode-csharp/pull/8894)) - * Ignore case when parsing enum values in settings in VS Code (PR: [#12667](https://github.com/dotnet/razor/pull/12667)) + * Ignore case when parsing enum values in settings in VS Code (PR: [#12667](https://github.com/dotnet/razor/pull/12667)) # 2.112.x * Add project context refresh support (PR: [#8876](https://github.com/dotnet/vscode-csharp/pull/8876)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a6cd528c00..7b9294cdf7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,10 +23,10 @@ Setting up your local development environment for the vscode-csharp repository i Before you start, make sure you have the following software installed on your machine: -* Node.js v20 ([v20.17.0 LTS](https://nodejs.org/en/blog/release/v20.17.0)). +* Node.js v24 ([24.13.0 LTS](https://nodejs.org/en/blog/release/v24.13.0)). * Note - Building with higher major versions of Node.js is not advised - it may work but we do not test it. * Npm (The version shipped with node is fine) -* .NET 8.0 SDK (dotnet should be on your path) +* .NET 10.0 SDK (dotnet should be on your path) Once you have these installed, you can navigate to the cloned vscode-csharp repository to proceed with building, running, and testing the repository. @@ -38,11 +38,11 @@ Follow these steps to build, run, and test the repository: If you have the ability to run powershell, you can invoke "init.ps1" from the root of the repo. If not, the following steps will get build going for you as well: -1. Run `npm install -g vsts-npm-auth`, then run `vsts-npm-auth -config .npmrc` - This command will configure your credentials for the next command. - a. If you have already authenticated before, but the token expired, you may need to run `vsts-npm-auth -config .npmrc -f` instead. -2. Run `npm i` - This command installs the project dependencies. -3. Run `npm i -g gulp` - This command installs Gulp globally. -4. Run `gulp installDependencies` - This command downloads the various dependencies as specified by the version in the [package.json](package.json) file. +1. Run `npm i` - This command installs the project dependencies. +2. Run `npm i -g gulp` - This command installs Gulp globally. +3. Run `gulp installDependencies` - This command downloads the various dependencies as specified by the version in the [package.json](package.json) file. + +**Note**: Authentication with `ado-npm-auth` is only required when adding new packages to the feeds. For regular development with existing dependencies, authentication is not necessary. See the [Updating NPM packages](#updating-npm-packages) section for details. You can now run `code .` - This command opens the project in Visual Studio Code. @@ -155,8 +155,12 @@ Add the following lines to your `settings.json`. Replace `` with ### Updating NPM packages We use the .NET eng AzDo artifacts feed https://dnceng.pkgs.visualstudio.com/public/_packaging/dotnet-public-npm/npm/registry/ with upstreams to the public npm registry. -Auth is required in order to pull new packages from the upstream. This can be done by running `vsts-npm-auth -config .npmrc`. -If you need to renew authorization, you can force it via `vsts-npm-auth -config .npmrc -F` + +**Note**: Authentication is only required when adding new packages to the feeds. For installing existing dependencies during regular development, authentication is not necessary. + +To add new packages, you must authenticate by running: +1. `npm install -g ado-npm-auth` (if not already installed) +2. `ado-npm-auth -c .npmrc` ## Creating VSIX Packages for the Extension diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 62f00b16cf..b575061661 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -40,6 +40,8 @@ pr: # Changes to documentation are not functional changes. - '**.md' - CODEOWNERS + # Changes to init.ps1 is not exercised in CI + - 'init.ps1' # Changes to the vesion is not a functional change. The extension version is updated by the branch-snap GH action. - 'version.json' # Changes to text files (e.g. third party notices) are not functional changes. diff --git a/azure-pipelines/build-vsix.yml b/azure-pipelines/build-vsix.yml index 89b0468956..50e99a7eb7 100644 --- a/azure-pipelines/build-vsix.yml +++ b/azure-pipelines/build-vsix.yml @@ -138,7 +138,6 @@ stages: displayName: Use .NET Core sdk 8.0.x inputs: version: 8.0.x - # If we're in an official build, install the signing plugin - ${{ if eq(parameters.isOfficial, true) }}: - task: MicroBuildSigningPlugin@4 diff --git a/azure-pipelines/green-insertion.yml b/azure-pipelines/green-insertion.yml index e07723e7e5..5a139584d6 100644 --- a/azure-pipelines/green-insertion.yml +++ b/azure-pipelines/green-insertion.yml @@ -31,11 +31,7 @@ jobs: vmImage: ubuntu-latest steps: - checkout: none - - task: NodeTool@0 - displayName: ⚙️ Install Node.js - inputs: - versionSource: spec - versionSpec: 16.x + - template: /azure-pipelines/install-node.yml@self - powershell: | "registry=https://pkgs.dev.azure.com/devdiv/DevDiv/_packaging/vs-green/npm/registry/`nalways-auth=true`n" | Tee-Object -FilePath '$(Pipeline.Workspace)/.npmrc' displayName: ⚙️ Prepare for publish diff --git a/azure-pipelines/install-node.yml b/azure-pipelines/install-node.yml index 72aaac84b8..8e3a9529ba 100644 --- a/azure-pipelines/install-node.yml +++ b/azure-pipelines/install-node.yml @@ -1,5 +1,5 @@ steps: - task: NodeTool@0 - displayName: 'Install Node.js 20.x' + displayName: 'Install Node.js 24.x' inputs: - versionSpec: '20.x' \ No newline at end of file + versionSpec: '24.x' diff --git a/azure-pipelines/loc.yml b/azure-pipelines/loc.yml index 438e3b5ac0..d12735f869 100644 --- a/azure-pipelines/loc.yml +++ b/azure-pipelines/loc.yml @@ -58,17 +58,13 @@ extends: condition: ${{ parameters.publishLocalizationFile }} artifactName: l10n steps: - - task: NodeTool@0 - displayName: 'Install Node.js 18.x' - inputs: - # Octokit client needs 18.x to have 'fetch' function. - versionSpec: '18.x' + - template: /azure-pipelines/install-node.yml@self - checkout: self clean: true submodules: true fetchTags: false fetchDepth: 0 - - pwsh: | + - pwsh: | npm install npm install -g gulp --globalconfig $(Build.SourcesDirectory)/.npmrc displayName: 'Install tools' diff --git a/init.ps1 b/init.ps1 index 82ed5dd331..1a748e3606 100644 --- a/init.ps1 +++ b/init.ps1 @@ -22,18 +22,12 @@ function Run-Command($command, $arguments, $errorMsg) { Push-Location $PSScriptRoot try { - Write-Host "`n[1/5] Installing vsts-npm-auth globally..." -ForegroundColor Cyan - Run-Command "npm" @("install", "-g", "vsts-npm-auth") "Failed to install vsts-npm-auth." + Write-Host "`n[1/5] Installing ado-npm-auth globally..." -ForegroundColor Cyan + Run-Command "npm" @("install", "-g", "ado-npm-auth") "Failed to install ado-npm-auth." Write-Host "`n[2/5] Authenticating with Azure DevOps..." -ForegroundColor Cyan if (Test-Path ".npmrc") { - try { - Run-Command "vsts-npm-auth" @("-config", ".npmrc") "Initial authentication failed." - } - catch { - Write-Host "Initial authentication failed. Trying with force (-f) flag..." -ForegroundColor DarkYellow - Run-Command "vsts-npm-auth" @("-config", ".npmrc", "-f") "Forced authentication failed." - } + Run-Command "ado-npm-auth" @("-c", ".npmrc") "Authentication failed." } else { Write-Host ".npmrc file not found in the current directory." -ForegroundColor Red throw ".npmrc file not found in the current directory." diff --git a/l10n/bundle.l10n.cs.json b/l10n/bundle.l10n.cs.json index cf4d24fead..4ec8ebc7b2 100644 --- a/l10n/bundle.l10n.cs.json +++ b/l10n/bundle.l10n.cs.json @@ -56,6 +56,7 @@ "Expected behavior": "Očekávané chování", "Extension": "Rozšíření", "Extensions": "Rozšíření", + "Failed to change context for {0}: {1}": "Nepodařilo se změnit kontext pro {0}: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Nepovedlo se dokončit instalaci rozšíření C#. Podívejte se na chybu v okně výstupu níže.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "Nepovedlo se provést příkaz dotnet-trace: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "Nepovedlo se nainstalovat dotnet-trace, může být potřeba ho nainstalovat ručně. Podrobnosti najdete ve výstupu jazyka C#.", @@ -98,6 +99,7 @@ "Nested Code Action": "Akce vnořeného kódu", "No": "Ne", "No executable projects": "Žádné spustitelné projekty", + "No file selected to change project context.": "Nebyl vybrán žádný soubor pro změnu kontextu projektu.", "No launchable target found for '{0}'": "Pro „{0}“ se nenašel žádný spustitelný cíl", "No launchable target found.": "Nenašel se žádný spustitelný cíl.", "No process was selected.": "Nebyl vybrán žádný proces.", diff --git a/l10n/bundle.l10n.de.json b/l10n/bundle.l10n.de.json index 3fa7507967..67a24ec8ad 100644 --- a/l10n/bundle.l10n.de.json +++ b/l10n/bundle.l10n.de.json @@ -56,6 +56,7 @@ "Expected behavior": "Erwartetes Verhalten", "Extension": "Erweiterung", "Extensions": "Erweiterungen", + "Failed to change context for {0}: {1}": "Fehler beim Ändern des Kontexts für {0}: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Fehler beim Abschließen der Installation der C#-Erweiterung. Den Fehler finden Sie unten im Ausgabefenster.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "dotnet-trace-Befehl konnte nicht ausgeführt werden: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "dotnet-trace konnte nicht installiert werden, möglicherweise ist eine manuelle Installation erforderlich. Details finden Sie in der C#-Ausgabe.", @@ -98,6 +99,7 @@ "Nested Code Action": "Geschachtelte Codeaktion", "No": "Nein", "No executable projects": "Keine ausführbaren Projekte", + "No file selected to change project context.": "Es wurde keine Datei ausgewählt, um den Projektkontext zu ändern.", "No launchable target found for '{0}'": "Für \"{0}\" wurde kein startbares Ziel gefunden.", "No launchable target found.": "Kein startbares Ziel gefunden.", "No process was selected.": "Es wurde kein Prozess ausgewählt.", diff --git a/l10n/bundle.l10n.es.json b/l10n/bundle.l10n.es.json index 81c57aa232..3b1d054f88 100644 --- a/l10n/bundle.l10n.es.json +++ b/l10n/bundle.l10n.es.json @@ -56,6 +56,7 @@ "Expected behavior": "Comportamiento esperado", "Extension": "Extension", "Extensions": "Extensiones", + "Failed to change context for {0}: {1}": "No se pudo cambiar el contexto de {0}: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "No se pudo completar la instalación de la extensión de C#. Vea el error en la ventana de salida siguiente.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "Error al ejecutar el comando dotnet-trace: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "Error al instalar dotnet-trace, puede que sea necesario instalarlo manualmente. Consulte la salida de C# para obtener más información.", @@ -98,6 +99,7 @@ "Nested Code Action": "Acción de código anidado", "No": "No", "No executable projects": "No hay proyectos ejecutables", + "No file selected to change project context.": "No se ha seleccionado ningún archivo para cambiar el contexto del proyecto.", "No launchable target found for '{0}'": "No se encontró ningún destino para '{0}' que se pueda iniciar.", "No launchable target found.": "No se encontró ningún destino que se pueda iniciar.", "No process was selected.": "No se seleccionó ningún proceso.", diff --git a/l10n/bundle.l10n.fr.json b/l10n/bundle.l10n.fr.json index 20fd45bac2..aea5536e3c 100644 --- a/l10n/bundle.l10n.fr.json +++ b/l10n/bundle.l10n.fr.json @@ -56,6 +56,7 @@ "Expected behavior": "Comportement attendu", "Extension": "Extension", "Extensions": "Extensions", + "Failed to change context for {0}: {1}": "Échec du changement de contexte pour {0} : {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Échec de l’installation de l’extension C#. Consultez l’erreur dans la fenêtre sortie ci-dessous.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "Échec de l’exécution de la commande dotnet-trace : {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "Échec de l’installation de dotnet-trace, vous devrez peut-être l’installer manuellement. Consultez la sortie C# pour plus de détails.", @@ -98,6 +99,7 @@ "Nested Code Action": "Action de code imbriqué", "No": "Non", "No executable projects": "Aucun projet exécutable", + "No file selected to change project context.": "Aucun fichier sélectionné pour changer le contexte du projet.", "No launchable target found for '{0}'": "Aucune cible pouvant être lancée n’a été trouvée pour « {0} »", "No launchable target found.": "Aucune cible pouvant être lancée n’a été trouvée.", "No process was selected.": "Aucun processus n’a été sélectionné.", diff --git a/l10n/bundle.l10n.it.json b/l10n/bundle.l10n.it.json index b09d9551de..a5c81570e1 100644 --- a/l10n/bundle.l10n.it.json +++ b/l10n/bundle.l10n.it.json @@ -56,6 +56,7 @@ "Expected behavior": "Comportamento previsto", "Extension": "Estensione", "Extensions": "Estensioni", + "Failed to change context for {0}: {1}": "Non è stato possibile cambiare il contesto per {0}: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Non è stato possibile completare l'installazione dell'estensione C#. Vedere l'errore nella finestra di output seguente.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "Non è possibile eseguire il comando dotnet-trace: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "Installazione di dotnet-trace non riuscita. Potrebbe essere necessario installarlo manualmente. Per altri dettagli, vedere l'output C#.", @@ -98,6 +99,7 @@ "Nested Code Action": "Azione codice annidato", "No": "No", "No executable projects": "Nessun progetto eseguibile", + "No file selected to change project context.": "Nessun file selezionato per cambiare il contesto del progetto.", "No launchable target found for '{0}'": "Non è stata trovata alcuna destinazione avviabile per '{0}'", "No launchable target found.": "Non è stata trovata alcuna destinazione avviabile.", "No process was selected.": "Nessun processo selezionato.", diff --git a/l10n/bundle.l10n.ja.json b/l10n/bundle.l10n.ja.json index ba036e9a91..af74e7f7f3 100644 --- a/l10n/bundle.l10n.ja.json +++ b/l10n/bundle.l10n.ja.json @@ -56,6 +56,7 @@ "Expected behavior": "予期された動作", "Extension": "拡張機能", "Extensions": "拡張機能", + "Failed to change context for {0}: {1}": "{0} のコンテキストを変更できませんでした: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "C# 拡張機能のインストールを完了できませんでした。以下の出力ウィンドウでエラーを確認してください。", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "dotnet-trace コマンドを実行できませんでした: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "dotnet-trace をインストールできませんでした。手動でインストールする必要がある可能性があります。詳細については、C# の出力を参照してください。", @@ -98,6 +99,7 @@ "Nested Code Action": "入れ子になったコード アクション", "No": "いいえ", "No executable projects": "実行可能なプロジェクトがありません", + "No file selected to change project context.": "プロジェクト コンテキストを変更するファイルが選択されていません。", "No launchable target found for '{0}'": "'{0}' 向けに起動可能なターゲットが見つかりません", "No launchable target found.": "起動可能なターゲットが見つかりません。", "No process was selected.": "プロセスが選択されていません。", diff --git a/l10n/bundle.l10n.ko.json b/l10n/bundle.l10n.ko.json index 86031129bc..893b4226cb 100644 --- a/l10n/bundle.l10n.ko.json +++ b/l10n/bundle.l10n.ko.json @@ -56,6 +56,7 @@ "Expected behavior": "예상 동작", "Extension": "확장", "Extensions": "확장", + "Failed to change context for {0}: {1}": "{0}의 컨텍스트를 변경하지 못했습니다. {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "C# 확장 설치를 완료하지 못했습니다. 아래 출력 창에서 오류를 확인하세요.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "dotnet-trace 명령을 실행하지 못했습니다. {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "dotnet-trace를 설치하지 못했습니다. 수동으로 설치해야 할 수 있습니다. 자세한 내용은 C# 출력을 참조하세요.", @@ -98,6 +99,7 @@ "Nested Code Action": "중첩 코드 동작", "No": "아니요", "No executable projects": "실행 가능한 프로젝트 없음", + "No file selected to change project context.": "프로젝트 컨텍스트를 변경할 파일을 선택하지 않았습니다.", "No launchable target found for '{0}'": "'{0}'에 대해 실행 가능한 대상이 없습니다.", "No launchable target found.": "시작할 수 있는 대상을 찾을 수 없습니다.", "No process was selected.": "선택된 프로세스가 없습니다.", diff --git a/l10n/bundle.l10n.pl.json b/l10n/bundle.l10n.pl.json index a040da5f40..f252840737 100644 --- a/l10n/bundle.l10n.pl.json +++ b/l10n/bundle.l10n.pl.json @@ -56,6 +56,7 @@ "Expected behavior": "Oczekiwane zachowanie", "Extension": "Rozszerzenie", "Extensions": "Rozszerzenia", + "Failed to change context for {0}: {1}": "Nie można zmienić kontekstu dla {0}: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Nie można ukończyć instalacji rozszerzenia języka C#. Zobacz błąd w poniższym oknie danych wyjściowych.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "Nie można wykonać polecenia dotnet-trace: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "Nie można zainstalować polecenia dotnet-trace. Może być konieczne zainstalowanie go ręcznie. Aby uzyskać szczegółowe informacje, zobacz dane wyjściowe języka C#.", @@ -98,6 +99,7 @@ "Nested Code Action": "Akcja kodu zagnieżdżonego", "No": "Nie", "No executable projects": "Brak projektów wykonywalnych", + "No file selected to change project context.": "Nie wybrano pliku do zmiany kontekstu projektu.", "No launchable target found for '{0}'": "Nie znaleziono elementu docelowego możliwego do uruchomienia w przypadku „{0}”", "No launchable target found.": "Nie znaleziono elementu docelowego możliwego do uruchomienia.", "No process was selected.": "Nie wybrano żadnego procesu.", diff --git a/l10n/bundle.l10n.pt-br.json b/l10n/bundle.l10n.pt-br.json index 42c2a8afe7..27a1f71bbd 100644 --- a/l10n/bundle.l10n.pt-br.json +++ b/l10n/bundle.l10n.pt-br.json @@ -56,6 +56,7 @@ "Expected behavior": "Comportamento esperado", "Extension": "Extensão", "Extensions": "Extensões", + "Failed to change context for {0}: {1}": "Falha ao alterar o contexto para {0}: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Falha ao concluir a instalação da extensão C#. Confira o erro na janela de saída abaixo.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "Falha ao executar o comando dotnet-trace:{0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "Falha ao instalar o dotnet-trace; pode ser necessário instalá-lo manualmente. Veja a saída do C# para mais detalhes.", @@ -98,6 +99,7 @@ "Nested Code Action": "Ação de Código Aninhado", "No": "Não", "No executable projects": "Nenhum projeto executável", + "No file selected to change project context.": "Nenhum arquivo selecionado para alterar o contexto do projeto.", "No launchable target found for '{0}'": "Nenhum destino inicializável encontrado para \"{0}\"", "No launchable target found.": "Nenhum alvo inicializável encontrado.", "No process was selected.": "Nenhum processo foi selecionado.", diff --git a/l10n/bundle.l10n.ru.json b/l10n/bundle.l10n.ru.json index 46873dd403..e1eccff79e 100644 --- a/l10n/bundle.l10n.ru.json +++ b/l10n/bundle.l10n.ru.json @@ -56,6 +56,7 @@ "Expected behavior": "Ожидаемое поведение", "Extension": "Расширение", "Extensions": "Расширения", + "Failed to change context for {0}: {1}": "Не удалось изменить контекст для {0}: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "Не удалось завершить установку расширения C#. См. ошибку в окне вывода ниже.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "Не удалось выполнить команду dotnet-trace: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "Не удалось установить dotnet-trace. Возможно, требуется установка вручную. Дополнительные сведения см. в выходных данных C#.", @@ -98,6 +99,7 @@ "Nested Code Action": "Действие вложенного кода", "No": "Нет", "No executable projects": "Нет исполняемых проектов", + "No file selected to change project context.": "Файл для изменения контекста проекта не выбран.", "No launchable target found for '{0}'": "Не найдена запускаемая цель для \"{0}\"", "No launchable target found.": "Не найден целевой объект, доступный для запуска.", "No process was selected.": "Процесс не выбран.", diff --git a/l10n/bundle.l10n.tr.json b/l10n/bundle.l10n.tr.json index d767259150..9c19ebd15c 100644 --- a/l10n/bundle.l10n.tr.json +++ b/l10n/bundle.l10n.tr.json @@ -56,6 +56,7 @@ "Expected behavior": "Beklenen davranış", "Extension": "Uzantı", "Extensions": "Uzantılar", + "Failed to change context for {0}: {1}": "{0} için bağlam değiştirilemedi: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "C# uzantısının yüklenmesi tamamlanamadı. Lütfen aşağıdaki çıkış penceresindeki hataya bakın.", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "dotnet-trace komutu yürütülemedi: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "dotnet-trace yüklenemedi, el ile yüklenmesi gerekebilir. Ayrıntılar için C# çıktısına bakın.", @@ -98,6 +99,7 @@ "Nested Code Action": "İç İçe Kod Eylemi", "No": "Hayır", "No executable projects": "Yürütülebilir proje yok", + "No file selected to change project context.": "Proje bağlamını değiştirmek için dosya seçilmedi.", "No launchable target found for '{0}'": "'{0}' için başlatılabilir hedef bulunamadı.", "No launchable target found.": "Başlatılabilir hedef bulunamadı.", "No process was selected.": "İşlem seçilmedi.", diff --git a/l10n/bundle.l10n.zh-cn.json b/l10n/bundle.l10n.zh-cn.json index ba60fd1b6a..b9f7e05671 100644 --- a/l10n/bundle.l10n.zh-cn.json +++ b/l10n/bundle.l10n.zh-cn.json @@ -56,6 +56,7 @@ "Expected behavior": "预期行为", "Extension": "扩展", "Extensions": "扩展", + "Failed to change context for {0}: {1}": "无法更改 {0} 的上下文: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "无法完成 C# 扩展的安装。请在下面的输出窗口中查看错误。", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "未能执行 dotnet-trace 命令: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "未能安装 dotnet-trace,可能需要手动安装。有关详细信息,请参阅 C# 输出。", @@ -98,6 +99,7 @@ "Nested Code Action": "嵌套代码操作", "No": "否", "No executable projects": "无可执行项目", + "No file selected to change project context.": "未选择要更改项目上下文的文件。", "No launchable target found for '{0}'": "找不到 \"{0}\" 的可启动目标", "No launchable target found.": "找不到可启动的目标。", "No process was selected.": "未选择任何进程。", diff --git a/l10n/bundle.l10n.zh-tw.json b/l10n/bundle.l10n.zh-tw.json index c27da02a73..47fee41b53 100644 --- a/l10n/bundle.l10n.zh-tw.json +++ b/l10n/bundle.l10n.zh-tw.json @@ -56,6 +56,7 @@ "Expected behavior": "預期的行為", "Extension": "延伸模組", "Extensions": "延伸模組", + "Failed to change context for {0}: {1}": "無法變更 {0} 的內容: {1}", "Failed to complete the installation of the C# extension. Please see the error in the output window below.": "無法完成 C# 延伸模組的安裝。請參閱下列輸出視窗中的錯誤。", "Failed to execute dotnet-trace command: {0}/dotnet-trace is a command name and should not be localized": "無法執行 dotnet-trace 命令: {0}", "Failed to install dotnet-trace, it may need to be manually installed. See C# output for details./dotnet-trace is a command name and should not be localized": "無法安裝 dotnet-trace,可能需要手動安裝。如需詳細資訊,請參閱 C# 輸出。", @@ -98,6 +99,7 @@ "Nested Code Action": "巢狀程式碼動作", "No": "否", "No executable projects": "沒有可執行的專案", + "No file selected to change project context.": "未選取要變更專案內容的檔案。", "No launchable target found for '{0}'": "'{0}' 找不到可啟動的目標", "No launchable target found.": "找不到可啟動的目標。", "No process was selected.": "未選取處理序。", diff --git a/msbuild/global.json b/msbuild/global.json index bcb55ab5eb..d88274b947 100644 --- a/msbuild/global.json +++ b/msbuild/global.json @@ -1,9 +1,9 @@ { "sdk": { - "version": "8.0.415", + "version": "10.0.101", "rollForward": "latestMajor" }, "msbuild-sdks": { "Microsoft.Build.NoTargets": "3.7.0" } -} \ No newline at end of file +} diff --git a/package-lock.json b/package-lock.json index 4e05f460d9..7241576c93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,7 +41,7 @@ "@types/fs-extra": "11.0.4", "@types/gulp": "4.0.5", "@types/minimist": "1.2.1", - "@types/node": "20.14.8", + "@types/node": "24.10.8", "@types/semver": "7.3.13", "@types/tmp": "0.0.33", "@types/uuid": "^9.0.1", @@ -3579,13 +3579,13 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.14.8", - "resolved": "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/@types/node/-/node-20.14.8.tgz", - "integrity": "sha1-RcJqKl3ibDU0qVBFMN2zsnzgMaw=", + "version": "24.10.8", + "resolved": "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/@types/node/-/node-24.10.8.tgz", + "integrity": "sha1-m1KdMuflrbdLE9H8m4NhXpoSpwE=", "dev": true, "license": "MIT", "dependencies": { - "undici-types": "~5.26.4" + "undici-types": "~7.16.0" } }, "node_modules/@types/normalize-package-data": { @@ -13625,9 +13625,9 @@ } }, "node_modules/undici-types": { - "version": "5.26.5", - "resolved": "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha1-vNU5iT0AtW6WT9JlekhmsiGmVhc=", + "version": "7.16.0", + "resolved": "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha1-/8zf82rqSITL/OmnUKBYAiT1ikY=", "dev": true, "license": "MIT" }, @@ -16972,12 +16972,12 @@ "dev": true }, "@types/node": { - "version": "20.14.8", - "resolved": "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/@types/node/-/node-20.14.8.tgz", - "integrity": "sha1-RcJqKl3ibDU0qVBFMN2zsnzgMaw=", + "version": "24.10.8", + "resolved": "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/@types/node/-/node-24.10.8.tgz", + "integrity": "sha1-m1KdMuflrbdLE9H8m4NhXpoSpwE=", "dev": true, "requires": { - "undici-types": "~5.26.4" + "undici-types": "~7.16.0" } }, "@types/normalize-package-data": { @@ -24270,9 +24270,9 @@ "dev": true }, "undici-types": { - "version": "5.26.5", - "resolved": "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/undici-types/-/undici-types-5.26.5.tgz", - "integrity": "sha1-vNU5iT0AtW6WT9JlekhmsiGmVhc=", + "version": "7.16.0", + "resolved": "https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public-npm/npm/registry/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha1-/8zf82rqSITL/OmnUKBYAiT1ikY=", "dev": true }, "unicorn-magic": { diff --git a/package.json b/package.json index 6fa4d29432..1344d1d532 100644 --- a/package.json +++ b/package.json @@ -40,9 +40,9 @@ "workspace" ], "defaults": { - "roslyn": "5.4.0-2.26062.9", + "roslyn": "5.4.0-2.26076.6", "omniSharp": "1.39.14", - "razor": "10.0.0-preview.26066.2", + "razor": "10.0.0-preview.26075.11", "razorOmnisharp": "7.0.0-preview.23363.1", "xamlTools": "18.3.11128.18" }, @@ -123,7 +123,7 @@ "@types/fs-extra": "11.0.4", "@types/gulp": "4.0.5", "@types/minimist": "1.2.1", - "@types/node": "20.14.8", + "@types/node": "24.10.8", "@types/semver": "7.3.13", "@types/tmp": "0.0.33", "@types/uuid": "^9.0.1", @@ -1527,31 +1527,42 @@ "tags": [ "preview" ] + } + } + }, + { + "title": "Razor", + "id": "ms-dotnettools.csharp.razor", + "order": 10, + "properties": { + "razor.format.codeBlockBraceOnNextLine": { + "type": "boolean", + "scope": "window", + "default": false, + "description": "%configuration.razor.razor.format.codeBlockBraceOnNextLine%" }, - "razor.languageServer.directory": { + "razor.format.attributeIndentStyle": { "type": "string", - "scope": "machine-overridable", - "description": "%configuration.razor.languageServer.directory%", - "order": 90 + "default": "alignWithFirst", + "enum": [ + "alignWithFirst", + "indentByOne", + "indentByTwo" + ], + "description": "%configuration.razor.razor.format.attributeIndentStyle%" }, - "razor.languageServer.debug": { + "razor.completion.commitElementsWithSpace": { "type": "boolean", - "scope": "machine-overridable", + "scope": "window", "default": false, - "description": "%configuration.razor.languageServer.debug%", - "order": 90 - }, - "razor.languageServer.suppressLspErrorToasts": { - "type": "boolean", - "default": true, - "description": "%configuration.razor.languageServer.suppressLspErrorToasts%" + "description": "%configuration.razor.razor.completion.commitElementsWithSpace%" } } }, { "title": "OmniSharp", "id": "ms-dotnettools.csharp.omniSharp", - "order": 10, + "order": 11, "properties": { "dotnet.server.useOmnisharp": { "type": "boolean", @@ -1754,27 +1765,6 @@ "scope": "window", "default": true, "description": "%configuration.omnisharp.razor.format.enable%" - }, - "razor.format.codeBlockBraceOnNextLine": { - "type": "boolean", - "scope": "window", - "default": false, - "description": "%configuration.omnisharp.razor.format.codeBlockBraceOnNextLine%" - }, - "razor.format.attributeIndentStyle": { - "type": "string", - "default": "alignWithFirst", - "enum": [ - "alignWithFirst", - "indentByOne" - ], - "description": "%configuration.omnisharp.razor.format.attributeIndentStyle%" - }, - "razor.completion.commitElementsWithSpace": { - "type": "boolean", - "scope": "window", - "default": false, - "description": "%configuration.omnisharp.razor.completion.commitElementsWithSpace%" } } } @@ -5628,19 +5618,19 @@ ], "editor/context": [ { - "command": "dotnet.test.runTestsInContext", - "when": "editorLangId == csharp && (dotnet.server.activationContext == 'Roslyn' || dotnet.server.activationContext == 'OmniSharp')", + "command": "csharp.changeProjectContextEditor", + "when": "(resourceLangId == csharp || resourceLangId == aspnetcorerazor) && (dotnet.server.activationContext == 'Roslyn' || dotnet.server.activationContext == 'RoslynDevKit')", "group": "2_dotnet@1" }, { - "command": "dotnet.test.debugTestsInContext", + "command": "dotnet.test.runTestsInContext", "when": "editorLangId == csharp && (dotnet.server.activationContext == 'Roslyn' || dotnet.server.activationContext == 'OmniSharp')", - "group": "2_dotnet@2" + "group": "3_dotnet@1" }, { - "command": "csharp.changeProjectContextEditor", - "when": "(resourceLangId == csharp || resourceLangId == aspnetcorerazor) && (dotnet.server.activationContext == 'Roslyn' || dotnet.server.activationContext == 'RoslynDevKit')", - "group": "2_dotnet@1" + "command": "dotnet.test.debugTestsInContext", + "when": "editorLangId == csharp && (dotnet.server.activationContext == 'Roslyn' || dotnet.server.activationContext == 'OmniSharp')", + "group": "3_dotnet@2" } ], "explorer/context": [ diff --git a/package.nls.cs.json b/package.nls.cs.json index 9e2286a1ac..78272d5e63 100644 --- a/package.nls.cs.json +++ b/package.nls.cs.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "Připojení k procesu .NET 5+ nebo .NET Core", "command.csharp.changeProjectContext": "Změna kontextu projektu aktivního dokumentu", + "command.csharp.changeProjectContextEditor": "Vybrat kontext projektu", + "command.csharp.changeProjectContextFileExplorer": "Vybrat kontext projektu", "command.csharp.downloadDebugger": "Stáhnout ladicí program .NET Core", "command.csharp.listProcess": "Vypsat proces pro připojení", "command.csharp.listRemoteDockerProcess": "Výpis procesů v připojení Dockeru", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "Určuje cestu k instalaci modulu runtime Mono, která se má použít, když je možnost useModernNet nastavená na false, místo výchozí systémové instalace. Příklad: /Library/Frameworks/Mono.framework/Versions/Current", "configuration.omnisharp.projectFilesExcludePattern": "Vzor vyloučení, který používá server OmniSharp k vyhledání všech souborů projektu", "configuration.omnisharp.projectLoadTimeout": "Doba, po kterou bude Visual Studio Code čekat na spuštění serveru OmniSharp. Čas je vyjádřen v sekundách.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Určuje, jestli se má potvrdit pomocný element značky a elementy komponenty s mezerou.", "configuration.omnisharp.razor.devmode": "Vynutí spuštění rozšíření v režimu, který umožňuje místní vývoj Razor.VSCode.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Určuje styl odsazení pro atributy HTML a značek komponent v souborech Razor.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Vynutí, aby levá složená závorka za direktivou @code nebo @functions byla na následujícím řádku.", "configuration.omnisharp.razor.format.enable": "Umožňuje povolit nebo zakázat výchozí formátovací modul Razor.", "configuration.omnisharp.razor.plugin.path": "Přepíše cestu ke knihovně DLL modulu plug-in Razor.", "configuration.omnisharp.sdkIncludePrereleases": "Určuje, jestli se mají při určování verze, která se má použít pro načtení projektu, zahrnout verze Preview sady .NET SDK. Použije se, pokud je parametr useModernNet nastavený na hodnotu true.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "Určuje, jestli má server OmniSharp používat nastavení editoru VS Code pro formátování kódu C# (použití tabulátorů, velikost odsazení).", "configuration.omnisharp.useModernNet.description": "Použijte build serveru OmniSharp pro .NET 6. Tato verze _nepodporuje_ projekty .NET Framework, které nejsou ve stylu sady SDK, včetně Unity. U projektů Framework, .NET Core a .NET 5+, které jsou ve stylu sady SDK, byste měli zaznamenat výrazné zlepšení výkonu.", "configuration.omnisharp.useModernNet.title": "Použít build serveru OmniSharp pro .NET 6", - "configuration.razor.languageServer.debug": "Určuje, jestli se má při spouštění jazykového serveru čekat na připojení ladění.", - "configuration.razor.languageServer.directory": "Přepíše cestu k adresáři jazykového serveru Razor.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Potlačí zobrazování informačních zpráv o chybách, pokud na serveru dojde k chybě, ze které se dá zotavit.", - "configuration.razor.server.trace": "Určuje úroveň protokolování, která se má použít pro server Razor.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "Připojte ladicí program .NET (coreclr) ke spuštěným procesům. Můžete to provést také pomocí příkazu „Připojit k procesu .NET 5+ nebo .NET Core“.", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Tento fragment kódu se používá ke spuštění nového procesu v ladicím programu Blazor WebAssembly (blazorwasm), který určuje cestu ke spustitelnému souboru, který se má spustit. Ve většině případů je „.NET: Spustit projekt jazyka C#“ fragment kódu lepší volbou, ale tento fragment kódu lze použít k úplné kontrole nad všemi možnostmi spuštění. Tento fragment kódu je pro hostované projekty Blazor, což je projekt, který má back-endovou aplikaci ASP.NET Core pro obsluhu svých souborů.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Tento fragment kódu slouží ke spuštění nového procesu v ladicím programu Blazor WebAssembly (blazorwasm). Ve většině případů je „.NET: Spustit projekt jazyka C#“ fragment kódu lepší volbou, ale tento fragment kódu lze použít k úplné kontrole nad všemi možnostmi spuštění. Tento fragment kódu je pro samostatné projekty Blazor, což je projekt, který nemá back-endovou aplikaci ASP.NET Core pro obsluhu svých souborů.", diff --git a/package.nls.de.json b/package.nls.de.json index fc0ff1f0f5..3a2f92fa24 100644 --- a/package.nls.de.json +++ b/package.nls.de.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "An einen .NET 5+ oder .NET Core-Prozess anfügen", "command.csharp.changeProjectContext": "Projektkontext des aktiven Dokuments ändern", + "command.csharp.changeProjectContextEditor": "Projektkontext auswählen", + "command.csharp.changeProjectContextFileExplorer": "Projektkontext auswählen", "command.csharp.downloadDebugger": ".NET Core-Debugger herunterladen", "command.csharp.listProcess": "Prozess zum Anfügen auflisten", "command.csharp.listRemoteDockerProcess": "Prozesse für Docker-Verbindung auflisten", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "Gibt den Pfad zu einer Mono-Installation an, die statt der standardmäßigen Systeminstallation verwendet werden soll, wenn „useModernNet“ auf FALSE festgelegt ist. Beispiel: „/Library/Frameworks/Mono.framework/Versions/Current“", "configuration.omnisharp.projectFilesExcludePattern": "Das von OmniSharp verwendete Ausschlussmuster zum Auffinden aller Projektdateien.", "configuration.omnisharp.projectLoadTimeout": "Die Zeit, die Visual Studio Code auf den Start des OmniSharp-Servers wartet. Die Zeit wird in Sekunden ausgedrückt.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Gibt an, ob ein Commit für das Taghilfsprogramm und Komponentenelemente mit einem Leerzeichen ausgeführt werden soll.", "configuration.omnisharp.razor.devmode": "Erzwingt die Ausführung der Erweiterung in einem Modus, der die lokale Razor.VSCode-Entwicklung ermöglicht.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Legt den Einrückungsstil für HTML- und Komponenten-Tag-Attribute in Razor-Dateien fest.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Erzwingt, dass die öffnende geschweifte Klammer nach einer @code- oder @functions-Anweisung in der folgenden Zeile steht.", "configuration.omnisharp.razor.format.enable": "Razor-Standardformatierer aktivieren/deaktivieren.", "configuration.omnisharp.razor.plugin.path": "Überschreibt den Pfad zur Razor-Plug-In-DLL.", "configuration.omnisharp.sdkIncludePrereleases": "Gibt an, ob Vorschauversionen des .NET SDK einbezogen werden sollen, wenn bestimmt wird, welche Version zum Laden des Projekts verwendet werden soll. Gilt, wenn „useModernNet“ auf TRUE festgelegt ist.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "Gibt an, ob OmniSharp VS Code-Editoreinstellungen für C#-Codeformatierung verwenden soll (Verwendung von Registerkarten, Einzugsgröße).", "configuration.omnisharp.useModernNet.description": "Verwenden Sie den OmniSharp-Build für .NET 6. Diese Version unterstützt _keine_ .NET Framework-Projekte, die nicht im SDK-Stil vorliegen, einschließlich Unity. Framework-Projekte im SDK-Stil, .NET Core- und .NET 5+-Projekte sollten erhebliche Leistungsverbesserungen aufweisen.", "configuration.omnisharp.useModernNet.title": ".NET 6-Build von OmniSharp verwenden", - "configuration.razor.languageServer.debug": "Gibt an, ob beim Starten des Sprachservers auf die Debuganfügung gewartet werden soll.", - "configuration.razor.languageServer.directory": "Überschreibt den Pfad zum Razor-Sprachserver-Verzeichnis.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Unterdrückt, dass Fehler-Popups angezeigt werden, wenn auf dem Server ein wiederherstellbarer Fehler auftritt.", - "configuration.razor.server.trace": "Gibt den Protokolliergrad an, der für den Razor-Server verwendet werden soll.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "Fügen Sie den .NET-Debugger (coreclr) an einen laufenden Prozess an. Dies kann auch mit dem Befehl \"An einen .NET 5+- oder .NET Core-Prozess anfügen\" erfolgen.", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Dieser Codeschnipsel wird verwendet, um einen neuen Prozess unter dem Blazor WebAssembly-Debugger (blazorwasm) zu starten. Dabei wird der Pfad zu der ausführbaren Datei angegeben, die gestartet werden soll. In den meisten Fällen ist der Codeschnipsel \".NET: C#-Projekt starten\" die bessere Wahl. Dieser Codeschnipsel kann jedoch verwendet werden, um Vollzugriff auf alle Startoptionen zu erhalten. Dieser Codeschnipsel ist für gehostete Blazor-Projekte vorgesehen. Dabei handelt es sich um ein Projekt, das im Back-End über eine ASP.NET Core-App zum Verarbeiten der Dateien verfügt.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Dieser Codeschnipsel wird verwendet, um einen neuen Prozess unter dem Blazor WebAssembly-Debugger (blazorwasm) zu starten. In den meisten Fällen ist der Codeschnipsel \".NET: C#-Projekt starten\" die bessere Wahl. Dieser Codeschnipsel kann jedoch verwendet werden, um Vollzugriff auf alle Startoptionen zu erhalten. Dieser Codeschnipsel ist für eigenständige Blazor-Projekte vorgesehen. Dabei handelt es sich um ein Projekt, das im Back-End über keine ASP.NET Core-App zum Verarbeiten der Dateien verfügt.", diff --git a/package.nls.es.json b/package.nls.es.json index a23f90746d..f2a8cd8737 100644 --- a/package.nls.es.json +++ b/package.nls.es.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "Adjuntar a un proceso de .NET 5 (o posterior) o .NET Core", "command.csharp.changeProjectContext": "Cambiar el contexto del proyecto del documento activo", + "command.csharp.changeProjectContextEditor": "Seleccionar contexto de proyecto", + "command.csharp.changeProjectContextFileExplorer": "Seleccionar contexto de proyecto", "command.csharp.downloadDebugger": "Descargar depurador de .NET Core", "command.csharp.listProcess": "Enumerar proceso que se va a adjuntar", "command.csharp.listRemoteDockerProcess": "Enumerar procesos en conexión de Docker", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "Especifica la ruta de acceso a una instalación mono que se va a usar cuando \"useModernNet\" se establece en false, en lugar del sistema predeterminado. Ejemplo: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "configuration.omnisharp.projectFilesExcludePattern": "Patrón de exclusión usado por OmniSharp para buscar todos los archivos de proyecto.", "configuration.omnisharp.projectLoadTimeout": "Tiempo Visual Studio Code esperará a que se inicie el servidor OmniSharp. El tiempo se expresa en segundos.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Especifica si se deben confirmar los elementos auxiliares de etiquetas y componentes con un espacio.", "configuration.omnisharp.razor.devmode": "Fuerza la extensión a ejecutarse en un modo que habilita el desarrollo local de Razor.VSCode.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Especifica el estilo de sangría de los atributos html y de etiqueta de componente en los archivos de Razor.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Fuerza la llave de apertura después de una directiva @code o @functions a estar en la línea siguiente.", "configuration.omnisharp.razor.format.enable": "Habilite o deshabilite el formateador Razor predeterminado.", "configuration.omnisharp.razor.plugin.path": "Invalida la ruta de acceso al archivo DLL del complemento Razor.", "configuration.omnisharp.sdkIncludePrereleases": "Especifica si se deben incluir versiones preliminares del SDK de .NET al determinar la versión que se va a usar para la carga del proyecto. Se aplica cuando \"useModernNet\" se establece en true.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "Especifica si OmniSharp debe usar la configuración VS Code del editor para el formato de código de C# (uso de tabulaciones, tamaño de sangría).", "configuration.omnisharp.useModernNet.description": "Use la compilación de OmniSharp para .NET 6. Esta versión no admite proyectos de .NET Framework que no sean de tipo SDK, incluido Unity. Los proyectos framework de estilo SDK, .NET Core y .NET 5+ deben ver mejoras significativas en el rendimiento.", "configuration.omnisharp.useModernNet.title": "Usar la compilación de .NET 6 de OmniSharp", - "configuration.razor.languageServer.debug": "Especifica si se debe esperar a que se adjunte la depuración al iniciar el servidor de lenguaje.", - "configuration.razor.languageServer.directory": "Invalida la ruta de acceso al directorio del servidor de lenguaje Razor.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Suprime la visualización de notificaciones del sistema de error si el servidor encuentra un error recuperable.", - "configuration.razor.server.trace": "Especifica el nivel de registro que se va a usar para el servidor Razor.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "Adjunte el depurador de .NET (coreclr) a un proceso en ejecución. Esto también se puede hacer mediante el comando \"Asociar a un proceso de .NET 5+ o .NET Core\".", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Este fragmento de código se usa para iniciar un nuevo proceso en el depurador Blazor WebAssembly (blazorwasm), especificando la ruta de acceso al ejecutable que se va a iniciar. En la mayoría de los casos, \".NET: Launch C# project\" (Iniciar proyecto de C#) es una mejor opción, pero este fragmento de código se puede usar para tener control total sobre todas las opciones de inicio. Este fragmento de código es para proyectos de Blazor hospedados, que es un proyecto que tiene un back-end ASP.NET aplicación Core para atender sus archivos.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Este fragmento de código se usa para iniciar un nuevo proceso en el depurador WebAssembly de Blazor (blazorwasm). En la mayoría de los casos, \".NET: Launch C# project\" (Iniciar proyecto de C#) es una mejor opción, pero este fragmento de código se puede usar para tener control total sobre todas las opciones de inicio. Este fragmento de código es para proyectos independientes de Blazor, que es un proyecto que no tiene un back-end ASP.NET aplicación core para atender sus archivos.", diff --git a/package.nls.fr.json b/package.nls.fr.json index bd175471f7..3ca2374c73 100644 --- a/package.nls.fr.json +++ b/package.nls.fr.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "Attacher à un processus .NET 5+ ou .NET Core", "command.csharp.changeProjectContext": "Modifier le contexte du projet du document actif", + "command.csharp.changeProjectContextEditor": "Sélectionner le contexte du projet", + "command.csharp.changeProjectContextFileExplorer": "Sélectionner le contexte du projet", "command.csharp.downloadDebugger": "Télécharger le débogueur .NET Core", "command.csharp.listProcess": "Processus de liste pour la pièce jointe", "command.csharp.listRemoteDockerProcess": "Répertorier les processus sur la connexion Docker", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "Spécifie le chemin d'accès à une installation mono à utiliser lorsque « useModernNet » est défini sur false, au lieu de celui du système par défaut. Exemple : « /Library/Frameworks/Mono.framework/Versions/Current »", "configuration.omnisharp.projectFilesExcludePattern": "Modèle d’exclusion utilisé par OmniSharp pour rechercher tous les fichiers projet.", "configuration.omnisharp.projectLoadTimeout": "Le temps Visual Studio Code attend le démarrage du serveur OmniSharp. L’heure est exprimée en secondes.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Spécifie s’il faut valider les éléments tag helper et component avec un espace.", "configuration.omnisharp.razor.devmode": "Force l’extension à s’exécuter dans un mode qui active le développement Razor.VSCode local.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Spécifie le style d'indentation pour les attributs des balises HTML et des composants dans les fichiers Razor.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Force l'accolade ouverte après une directive @code ou @functions à se trouver sur la ligne suivante.", "configuration.omnisharp.razor.format.enable": "Activez/désactivez le formateur Razor par défaut.", "configuration.omnisharp.razor.plugin.path": "Remplace le chemin d’accès à la DLL du plug-in Razor.", "configuration.omnisharp.sdkIncludePrereleases": "Spécifie s’il faut inclure des versions préliminaires du Kit de développement logiciel (SDK) .NET lors de la détermination de la version à utiliser pour le chargement de projet. S'applique lorsque « useModernNet » est défini sur true.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "Spécifie si OmniSharp doit utiliser VS Code paramètres de l’éditeur pour la mise en forme du code C# (utilisation d’onglets, taille de retrait).", "configuration.omnisharp.useModernNet.description": "Utilisez la version OmniSharp pour .NET 6. Cette version _ne prend pas_ en charge les projets .NET Framework non de style SDK, y compris Unity. Les projets framework de style SDK, .NET Core et .NET 5+ doivent voir des améliorations significatives des performances.", "configuration.omnisharp.useModernNet.title": "Utiliser la version .NET 6 d'OmniSharp", - "configuration.razor.languageServer.debug": "Spécifie s’il faut attendre l’attachement du débogage au lancement du serveur de langage.", - "configuration.razor.languageServer.directory": "Remplace le chemin d’accès au répertoire du serveur de langage Razor.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Supprime l’affichage des notifications toast d’erreur si le serveur a rencontré une erreur récupérable.", - "configuration.razor.server.trace": "Spécifie le niveau de journalisation à utiliser pour le serveur Razor.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "Attachez le débogueur .NET (coreclr) à un processus en cours d'exécution. Cela peut également être fait à l'aide de la commande « Attacher à un processus .NET 5+ ou .NET Core ».", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Cet extrait est utilisé pour lancer un nouveau processus sous le débogueur Blazor WebAssembly (blazorwasm), en spécifiant le chemin d'accès à l'exécutable à lancer. Dans la plupart des cas, le \".NET : L'extrait \"Lancer le projet C#\" est un meilleur choix, mais cet extrait peut être utilisé pour avoir un contrôle total sur toutes les options de lancement. Cet extrait est destiné aux projets Blazor hébergés, qui sont un projet doté d'une application backend ASP.NET Core pour servir ses fichiers.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Cet extrait est utilisé pour lancer un nouveau processus sous le débogueur Blazor WebAssembly (blazorwasm). Dans la plupart des cas, le \".NET : L'extrait \"Lancer le projet C#\" est un meilleur choix, mais cet extrait peut être utilisé pour avoir un contrôle total sur toutes les options de lancement. Cet extrait concerne les projets Blazor autonomes, qui ne disposent pas d'une application backend ASP.NET Core pour servir ses fichiers.", diff --git a/package.nls.it.json b/package.nls.it.json index 5ec98279ea..f0f2376bbc 100644 --- a/package.nls.it.json +++ b/package.nls.it.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "Allega a un processo .NET 5+ o .NET Core", "command.csharp.changeProjectContext": "Modifica il contesto del progetto del documento attivo", + "command.csharp.changeProjectContextEditor": "Selezionare contesto progetto", + "command.csharp.changeProjectContextFileExplorer": "Selezionare contesto progetto", "command.csharp.downloadDebugger": "Scarica il debugger di .NET Core", "command.csharp.listProcess": "Elenca i processi per il collegamento", "command.csharp.listRemoteDockerProcess": "Elenca i processi nella connessione Docker", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "Specifica il percorso di un'installazione mono da utilizzare quando \"useModernNet\" è impostato su false, anziché su quello predefinito di sistema. Esempio: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "configuration.omnisharp.projectFilesExcludePattern": "Criterio di esclusione usato da OmniSharp per trovare tutti i file di progetto.", "configuration.omnisharp.projectLoadTimeout": "Tempo di attesa di Visual Studio Code per l'avvio del server OmniSharp. Il tempo è espresso in secondi.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Specifica se eseguire il commit dell'helper tag e degli elementi del componente con uno spazio.", "configuration.omnisharp.razor.devmode": "Forza l'esecuzione dell'estensione in una modalità che consente lo sviluppo di Razor.VSCode locale.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Specifica lo stile di rientro per gli attributi HTML e i tag dei componenti nei file Razor.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Forza la parentesi graffa aperta dopo una direttiva @code o @functions nella riga seguente.", "configuration.omnisharp.razor.format.enable": "Abilitare/disabilitare il formattatore Razor predefinito.", "configuration.omnisharp.razor.plugin.path": "Esegue l'override del percorso della DLL del plug-in Razor.", "configuration.omnisharp.sdkIncludePrereleases": "Specifica se includere le versioni di anteprima di .NET SDK quando si determina quale versione usare per il caricamento del progetto. Si applica quando \"useModernNet\" è impostato su true.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "Specifica se OmniSharp deve usare le impostazioni dell'editor VS Code per la formattazione del codice C# (uso di tabulazioni, dimensioni rientro).", "configuration.omnisharp.useModernNet.description": "Usare la build OmniSharp per .NET 6. Questa versione _non_ supporta i progetti .NET Framework non di tipo SDK, tra cui Unity. I progetti Framework, .NET Core e .NET 5+ di tipo SDK devono vedere miglioramenti significativi delle prestazioni.", "configuration.omnisharp.useModernNet.title": "Usare la build .NET 6 di OmniSharp", - "configuration.razor.languageServer.debug": "Specifica se attendere il collegamento di debug all'avvio del server di linguaggio.", - "configuration.razor.languageServer.directory": "Esegue l'override del percorso della directory del server di linguaggio Razor.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Impedisce la visualizzazione degli avvisi popup di errore se il server rileva un errore reversibile.", - "configuration.razor.server.trace": "Specifica il livello di registrazione da utilizzare per il server Razor.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "Collegare il debugger .NET (coreclr) a un processo in esecuzione. Questa operazione può essere eseguita anche utilizzando il comando \"Collega a un processo .NET 5+ o .NET Core\".", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Questo frammento di codice viene usato per avviare un nuovo processo nel debugger Blazor WebAssembly (blazorwasm), specificando il percorso dell'eseguibile da avviare. Nella maggior parte dei casi, il frammento di codice \".NET: Il frammento di codice Launch C# project\" è una scelta migliore, ma può essere utilizzato per avere il controllo completo su tutte le opzioni di avvio. Questo frammento di codice riguarda i progetti Blazor ospitati, ovvero un progetto che dispone di un'app ASP.NET Core back-end per gestire i file.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Questo frammento di codice viene usato per avviare un nuovo processo nel debugger Blazor WebAssembly (blazorwasm). Nella maggior parte dei casi, il frammento di codice \".NET: Il frammento di codice Launch C# project\" è una scelta migliore, ma può essere utilizzato per avere il controllo completo su tutte le opzioni di avvio. Questo frammento di codice è per progetti Blazor autonomi, ovvero un progetto che non dispone di un'app ASP.NET Core back-end per gestire i file.", diff --git a/package.nls.ja.json b/package.nls.ja.json index 9586f5cd80..b0de98f1bf 100644 --- a/package.nls.ja.json +++ b/package.nls.ja.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": ".NET 5 以降または .NET Core プロセスにアタッチする", "command.csharp.changeProjectContext": "アクティブなドキュメントのプロジェクト コンテキストを変更する", + "command.csharp.changeProjectContextEditor": "プロジェクト コンテキストの選択", + "command.csharp.changeProjectContextFileExplorer": "プロジェクト コンテキストの選択", "command.csharp.downloadDebugger": ".NET Core デバッガーをダウンロードする", "command.csharp.listProcess": "アタッチのプロセスをリスト表示する", "command.csharp.listRemoteDockerProcess": "Docker 接続のプロセスをリスト表示する", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "\"useModernNet\" が既定のシステムインストールではなく false に設定されている場合に使用する Mono インストールへのパスを指定します。例: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "configuration.omnisharp.projectFilesExcludePattern": "すべてのプロジェクト ファイルを検索するために OmniSharp で使用される除外パターン。", "configuration.omnisharp.projectLoadTimeout": "Visual Studio Code が OmniSharp サーバーの起動を待機する時間。時間は秒単位で表されます。", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "タグ ヘルパーとコンポーネント要素をスペースでコミットするかどうかを指定します。", "configuration.omnisharp.razor.devmode": "ローカル Razor.VSCode 開発を有効にするモードで拡張機能を強制的に実行します。", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Razor ファイルの HTML およびコンポーネント タグ属性のインデント スタイルを指定します。", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "@code または @functions ディレクティブの後の始め中かっこを強制的に次の行にします。", "configuration.omnisharp.razor.format.enable": "既定の Razor フォーマッタを有効または無効にします。", "configuration.omnisharp.razor.plugin.path": "Razor プラグイン dll へのパスをオーバーライドします。", "configuration.omnisharp.sdkIncludePrereleases": "プロジェクトの読み込みに使用するバージョンを決定するときに、.NET SDK のプレビュー バージョンを含めるかどうかを指定します。\"useModernNet\" が true に設定されている場合に適用されます。", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "OmniSharp で C# コードの書式設定 (タブ、インデント サイズの使用) に VS Code エディター設定を使用するかどうかを指定します。", "configuration.omnisharp.useModernNet.description": ".NET 6 用の OmniSharp ビルドを使用します。このバージョンは、Unity を含む SDK スタイルではない .NET Framework プロジェクトを _サポートしていません_。SDK スタイルの Framework、.NET Core、および .NET 5+ のプロジェクトでは、パフォーマンスが大幅に向上します。", "configuration.omnisharp.useModernNet.title": "OmniSharp の .NET 6 ビルドを使用する", - "configuration.razor.languageServer.debug": "言語サーバーの起動時にデバッグ アタッチを待機するかどうかを指定します。", - "configuration.razor.languageServer.directory": "Razor Language Server ディレクトリへのパスをオーバーライドします。", - "configuration.razor.languageServer.suppressLspErrorToasts": "サーバーで回復可能なエラーが発生した場合に、エラー トーストが表示されないようにします。", - "configuration.razor.server.trace": "Razor サーバーに使用するログ レベルを指定します。", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "実行中のプロセスに .NET デバッガー (coreclr) をアタッチします。これは、'.NET 5 以降または .NET Core プロセスにアタッチする' コマンドを使用して行うこともできます。", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "このスニペットは、起動する実行可能ファイルへのパスを指定して、Blazor WebAssembly デバッガー (blazorwasm) で新しいプロセスを起動するために使用されます。ほとんどの場合、\".NET: Launch C# プロジェクト\" スニペットの方が適切ですが、このスニペットを使用すると、すべての起動オプションを完全に制御できます。このスニペットは、ホストされている Blazor プロジェクト用です。これは、ファイルを提供するバックエンド ASP.NET Core アプリを持つプロジェクトです。", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "このスニペットは、Blazor WebAssembly デバッガー (blazorwasm) で新しいプロセスを起動するために使用されます。ほとんどの場合、\".NET: Launch C# プロジェクト\" スニペットの方が適切ですが、このスニペットを使用すると、すべての起動オプションを完全に制御できます。このスニペットは、スタンドアロン Blazor プロジェクト用です。これは、ファイルを提供するバックエンド ASP.NET Core アプリを持たないプロジェクトです。", diff --git a/package.nls.json b/package.nls.json index d789ed3b30..3713a14838 100644 --- a/package.nls.json +++ b/package.nls.json @@ -131,13 +131,9 @@ "configuration.omnisharp.razor.plugin.path": "Overrides the path to the Razor plugin dll.", "configuration.omnisharp.razor.devmode": "Forces the extension to run in a mode that enables local Razor.VSCode development.", "configuration.omnisharp.razor.format.enable": "Enable/disable default Razor formatter.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", - "configuration.razor.languageServer.directory": "Overrides the path to the Razor Language Server directory.", - "configuration.razor.languageServer.debug": "Specifies whether to wait for debug attach when launching the language server.", - "configuration.razor.server.trace": "Specifies the logging level to use for the Razor server.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Suppresses error toasts from showing up if the server encounters a recoverable error.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", "debuggers.coreclr.configurationSnippets.label.console-local": ".NET: Launch Executable file (Console)", "debuggers.coreclr.configurationSnippets.label.web-local": ".NET: Launch Executable file (Web)", "debuggers.coreclr.configurationSnippets.label.attach-local": ".NET: Attach to a .NET process", diff --git a/package.nls.ko.json b/package.nls.ko.json index 993521511c..7fc0c0cf14 100644 --- a/package.nls.ko.json +++ b/package.nls.ko.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": ".NET 5+ 또는 .NET Core 프로세스에 연결", "command.csharp.changeProjectContext": "활성 문서의 프로젝트 컨텍스트 변경", + "command.csharp.changeProjectContextEditor": "프로젝트 컨텍스트 선택", + "command.csharp.changeProjectContextFileExplorer": "프로젝트 컨텍스트 선택", "command.csharp.downloadDebugger": ".NET Core 디버거 다운로드", "command.csharp.listProcess": "연결 프로세스 나열", "command.csharp.listRemoteDockerProcess": "Docker 연결에 프로세스 나열", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "\"useModernNet\"이 false로 설정된 경우 기본 시스템 위치 대신 사용할 Mono 설치 경로를 지정합니다. 예: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "configuration.omnisharp.projectFilesExcludePattern": "모든 프로젝트 파일을 찾기 위해 OmniSharp에서 사용하는 제외 패턴입니다.", "configuration.omnisharp.projectLoadTimeout": "Visual Studio Code가 OmniSharp 서버가 시작될 때까지 기다리는 시간입니다. 시간은 초 단위로 표시됩니다.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "태그 도우미 및 구성 요소를 공백으로 커밋할지 여부를 지정합니다.", "configuration.omnisharp.razor.devmode": "확장이 로컬 Razor.VSCode 개발이 가능한 모드에서 실행되도록 강제합니다.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Razor 파일에서 HTML과 구성 요소 태그 속성의 들여쓰기 스타일을 지정합니다.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "@code 또는 @functions 지시문 뒤의 여는 중괄호를 다음 줄에 강제로 배치합니다.", "configuration.omnisharp.razor.format.enable": "기본 Razor 포맷터를 사용하거나 사용하지 않도록 설정합니다.", "configuration.omnisharp.razor.plugin.path": "Razor 플러그 인 dll의 경로를 재정의합니다.", "configuration.omnisharp.sdkIncludePrereleases": "프로젝트 로드에 사용할 버전을 결정할 때 .NET SDK의 미리 보기 버전을 포함할지 여부를 지정합니다. \"useModernNet\"이 true로 설정된 경우 적용됩니다.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "OmniSharp에서 C# 코드 서식 지정(탭 사용, 들여쓰기 크기)에 VS Code 편집기 설정을 사용해야 하는지 여부를 지정합니다.", "configuration.omnisharp.useModernNet.description": ".NET 6에 OmniSharp 빌드를 사용합니다. 이 버전은 Unity를 포함하여 SDK 스타일이 아닌 .NET Framework 프로젝트를 지원하지 _않습니다_. SDK 스타일 Framework, .NET Core, .NET 5 이상 프로젝트에서는 성능이 크게 향상됩니다.", "configuration.omnisharp.useModernNet.title": "OmniSharp의 .NET 6 빌드 사용", - "configuration.razor.languageServer.debug": "언어 서버를 시작할 때 디버그 연결을 기다릴지 여부를 지정합니다.", - "configuration.razor.languageServer.directory": "Razor 언어 서버 디렉터리의 경로를 재정의합니다.", - "configuration.razor.languageServer.suppressLspErrorToasts": "서버에서 복구 가능한 오류가 발생하는 경우 오류 알림이 표시되지 않도록 합니다.", - "configuration.razor.server.trace": "Razor 서버에 사용할 로깅 수준을 지정합니다.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "실행 중인 프로세스에 .NET 디버거(coreclr)를 연결합니다. 이 작업은 'Attach to a .NET 5+ or .NET Core process' 명령을 사용하여 수행할 수도 있습니다.", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "이 코드 조각은 Blazor WebAssembly 디버거(blazorwasm) 아래에서 새 프로세스를 시작하는 데 사용되며, 실행 파일의 경로를 지정합니다. 대부분의 경우 \".NET: Launch C# project\" 코드 조각이 더 나은 선택이지만, 이 코드 조각을 사용하면 모든 시작 옵션을 완전히 제어할 수 있습니다. 이 코드 조각은 파일을 처리할 백 엔드 ASP.NET Core 앱이 있는 프로젝트인 호스트된 Blazor 프로젝트용입니다.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "이 코드 조각은 Blazor WebAssembly 디버거(blazorwasm) 아래에서 새 프로세스를 시작하는 데 사용됩니다. 대부분의 경우 \".NET: Launch C# project\" 코드 조각이 더 나은 선택이지만, 이 코드 조각을 사용하면 모든 시작 옵션을 완전히 제어할 수 있습니다. 이 코드 조각은 파일을 처리할 백 엔드 ASP.NET Core 앱이 없는 프로젝트인 독립 실행형 Blazor 프로젝트용입니다.", diff --git a/package.nls.pl.json b/package.nls.pl.json index 07c781ac04..8e182d9924 100644 --- a/package.nls.pl.json +++ b/package.nls.pl.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "Dołączanie do procesu platformy .NET 5 lub .NET Core", "command.csharp.changeProjectContext": "Zmień kontekst projektu dokumentu aktywnego", + "command.csharp.changeProjectContextEditor": "Wybierz kontekst projektu", + "command.csharp.changeProjectContextFileExplorer": "Wybierz kontekst projektu", "command.csharp.downloadDebugger": "Pobierz debuger platformy .NET Core", "command.csharp.listProcess": "Wyświetl proces do dołączenia", "command.csharp.listRemoteDockerProcess": "Wyświetl listę procesów w połączeniu platformy Docker", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "Określa ścieżkę do instalacji mono, która ma być używana, gdy element „useModernNet” jest ustawiony na wartość false, a nie domyślną instalację systemową. Przykład: \"„/Library/Frameworks/Mono.framework/Versions/Current”", "configuration.omnisharp.projectFilesExcludePattern": "Wzorzec wykluczania używany przez element OmniSharp do znajdowania wszystkich plików projektu.", "configuration.omnisharp.projectLoadTimeout": "Czas, przez który edytor Visual Studio Code będzie oczekiwać na uruchomienie serwera OmniSharp. Czas jest wyrażony w sekundach.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Określa, czy zatwierdzać pomocnik tagów i elementy składników ze spacjami.", "configuration.omnisharp.razor.devmode": "Wymusza uruchomienie rozszerzenia w trybie umożliwiającym lokalne programowanie Razor.VSCode.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Określa styl wcięcia dla atrybutów tagów HTML i komponentów w plikach Razor.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Wymusza, aby otwierający nawias klamrowy po dyrektywie @code lub @functions był w następującym wierszu.", "configuration.omnisharp.razor.format.enable": "Włącz/wyłącz domyślny moduł formatowania Razor.", "configuration.omnisharp.razor.plugin.path": "Przesłania ścieżkę do biblioteki dll wtyczki Razor.", "configuration.omnisharp.sdkIncludePrereleases": "Określa, czy dołączać wersje zapoznawcze zestawu .NET SDK podczas określania wersji, która ma być używana do ładowania projektu. Ma zastosowanie, gdy właściwość „useModernNet” jest ustawiona na wartość true.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "Określa, czy element OmniSharp powinien używać ustawień edytora VS Code dla formatowania kodu języka C# (używać kart, rozmiaru wcięć).", "configuration.omnisharp.useModernNet.description": "Użyj kompilacji OmniSharp dla platformy .NET 6. Ta wersja _nie_ obsługuje projektów .NET Framework innych niż SDK, w tym aparat Unity. Projekty platformy w stylu zestawu SDK, platformy .NET Core i platformy .NET 5+ powinny widzieć znaczącą poprawę wydajności.", "configuration.omnisharp.useModernNet.title": "Użyj kompilacji .NET 6 elementu OmniSharp", - "configuration.razor.languageServer.debug": "Określa, czy czekać na dołączenie debugowania podczas uruchamiania serwera języka.", - "configuration.razor.languageServer.directory": "Przesłania ścieżkę do katalogu serwera języka Razor.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Pomija wyświetlanie wyskakujących powiadomień o błędach, jeśli serwer napotka błąd do odzyskania.", - "configuration.razor.server.trace": "Określa poziom rejestrowania, który ma być używany dla serwera Razor.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "Dołącz debuger platformy .NET (coreclr) do uruchomionego procesu. Można to również zrobić za pomocą polecenia „Dołącz do procesu .NET 5+ lub .NET Core”.", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Ten fragment kodu służy do uruchamiania nowego procesu w debugerze zestawu WebAssembly platformy Blazor (blazorwasm), określając ścieżkę do pliku wykonywalnego do uruchomienia. W większości przypadków „.NET: Fragment kodu „Launch C# project” (Uruchom projekt C#) jest lepszym wyborem, ale za pomocą tego fragmentu kodu można mieć pełną kontrolę nad wszystkimi opcjami uruchamiania. Ten fragment kodu jest przeznaczony dla hostowanych projektów Platformy Blazor, czyli projektu, który ma zaplecze ASP.NET aplikacji Core do obsługi plików.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Ten fragment kodu służy do uruchamiania nowego procesu w debugerze zestawu WebAssembly platformy Blazor (blazorwasm). W większości przypadków „.NET: Fragment kodu „Launch C# project” (Uruchom projekt C#) jest lepszym wyborem, ale za pomocą tego fragmentu kodu można mieć pełną kontrolę nad wszystkimi opcjami uruchamiania. Ten fragment kodu jest przeznaczony dla autonomicznych projektów Platformy Blazor, będących projektem, który nie ma aplikacji zaplecza ASP.NET Core do obsługi plików.", diff --git a/package.nls.pt-br.json b/package.nls.pt-br.json index 3757753d8c..51b1feb4eb 100644 --- a/package.nls.pt-br.json +++ b/package.nls.pt-br.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "Anexar a um processo .NET 5+ ou .NET Core", "command.csharp.changeProjectContext": "Alterar o contexto do projeto do documento ativo", + "command.csharp.changeProjectContextEditor": "Selecionar Contexto do Projeto", + "command.csharp.changeProjectContextFileExplorer": "Selecionar Contexto do Projeto", "command.csharp.downloadDebugger": "Baixar o Depurador .NET Core", "command.csharp.listProcess": "Listar processo para anexar", "command.csharp.listRemoteDockerProcess": "Listar processos na conexão Docker", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "Especifica o caminho para uma instalação mono a ser usada quando \"useModernNet\" estiver definido como falso, em vez de o padrão do sistema. Exemplo: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "configuration.omnisharp.projectFilesExcludePattern": "O padrão de exclusão usado pelo OmniSharp para localizar todos os arquivos do projeto.", "configuration.omnisharp.projectLoadTimeout": "O tempo que o Visual Studio Code aguardará para que o servidor OmniSharp seja iniciado. O tempo é expresso em segundos.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Especifica se o auxiliar de marca e os elementos de componente devem ser confirmados com um espaço.", "configuration.omnisharp.razor.devmode": "Força a extensão a ser executada em um modo que habilita o desenvolvimento local do Razor.VSCode.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Especifica o estilo de recuo para atributos de rótulo HTML e de componente em arquivos Razor.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Força a chave de abertura após uma diretiva @code ou @functions a estar na linha seguinte.", "configuration.omnisharp.razor.format.enable": "Habilitar/desabilitar o formatador padrão do Razor.", "configuration.omnisharp.razor.plugin.path": "Substitui o caminho da dll do plug-in Razor.", "configuration.omnisharp.sdkIncludePrereleases": "Especifica se as versões prévias do SDK do .NET devem ser incluídas ao determinar qual versão deve ser usada no carregamento do projeto. Aplica-se quando \"useModernNet\" é definido como verdadeiro.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "Especifica se o OmniSharp deve usar as configurações do editor VS Code para formatar o código C# (uso de tabulações, tamanho do recuo).", "configuration.omnisharp.useModernNet.description": "Use a compilação OmniSharp para .NET 6. Esta versão _não_ suporta projetos que não sejam do estilo SDK .NET Framework, incluindo Unity. Projetos do Framework no estilo SDK, .NET Core e .NET 5+ devem ver melhorias significativas de desempenho.", "configuration.omnisharp.useModernNet.title": "Usar a compilação do .NET 6 da OmniSharp", - "configuration.razor.languageServer.debug": "Especifica se é preciso aguardar o anexo de depuração ao iniciar o servidor de linguagem.", - "configuration.razor.languageServer.directory": "Substitui o caminho para o diretório do Servidor de Linguagem Razor.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Suprime a exibição de notificações do erro se o servidor encontrar um erro recuperável.", - "configuration.razor.server.trace": "Especifica o nível de log a ser usado para o servidor Razor.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "Anexe o depurador do .NET (coreclr) a um processo em execução. Isso também pode ser feito usando o comando 'Anexar a um processo do .NET 5+ ou do .NET Core'.", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Esse snippet é usado para iniciar um novo processo no depurador Blazor WebAssembly (blazorwasm), especificando o caminho para o executável a ser iniciado. Na maioria dos casos, o \".NET: O snippet de inicialização do projeto C# é uma opção melhor, mas esse snippet pode ser usado para ter controle total sobre todas as opções de inicialização. Esse snippet é para projetos hospedados do Blazor, que é um projeto que tem um aplicativo ASP.NET Core de back-end para atender aos seus arquivos.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Esse snippet é usado para iniciar um novo processo no depurador Blazor WebAssembly (blazorwasm). Na maioria dos casos, o \".NET: O snippet de inicialização do projeto C# é uma opção melhor, mas esse snippet pode ser usado para ter controle total sobre todas as opções de inicialização. Esse snippet é para projetos autônomos do Blazor, que é um projeto que não tem um aplicativo ASP.NET Core de back-end para atender aos seus arquivos.", diff --git a/package.nls.ru.json b/package.nls.ru.json index c266b4f2fe..02c9eb82a2 100644 --- a/package.nls.ru.json +++ b/package.nls.ru.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "Присоединение к процессу .NET 5+ или .NET Core.", "command.csharp.changeProjectContext": "Изменить контекст проекта активного документа", + "command.csharp.changeProjectContextEditor": "Выбор контекста проекта", + "command.csharp.changeProjectContextFileExplorer": "Выбор контекста проекта", "command.csharp.downloadDebugger": "Скачать отладчик .NET Core", "command.csharp.listProcess": "Перечислить процесс для вложения", "command.csharp.listRemoteDockerProcess": "Список процессов подключения к Docker", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "Указывает путь к установке Mono, которая используется, если для параметра \"useModernNet\" настроено значение false, а не системное значение по умолчанию. Пример: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "configuration.omnisharp.projectFilesExcludePattern": "Шаблон исключения, используемый OmniSharp для поиска всех файлов проекта.", "configuration.omnisharp.projectLoadTimeout": "Время, в течение которого Visual Studio Code будет ожидать запуск сервера OmniSharp. Время указывается в секундах.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Указывает, следует ли зафиксировать вспомогательное приложение тегов и элементы компонентов с пробелом.", "configuration.omnisharp.razor.devmode": "Принудительно запускает расширение в режиме, в котором включена локальная разработка Razor.VSCode.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Указывает стиль отступа для атрибутов HTML и тегов компонентов в файлах Razor.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Принудительно добавляет открывающую фигурную скобку после директивы @code или @functions на следующей строке.", "configuration.omnisharp.razor.format.enable": "Включить/отключить форматировщик Razor по умолчанию.", "configuration.omnisharp.razor.plugin.path": "Переопределяет путь к библиотеке DLL подключаемого модуля Razor.", "configuration.omnisharp.sdkIncludePrereleases": "Указывает, следует ли включать предварительные версии пакета SDK для .NET при определении версии, используемой для загрузки проекта. Применяется, если для параметра \"useModernNet\" настроено значение true.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "Указывает, следует ли OmniSharp использовать параметры редактора VS Code для форматирования кода C# (использование вкладок, размер отступа).", "configuration.omnisharp.useModernNet.description": "Используйте сборку OmniSharp для .NET 6. Эта версия _не_ поддерживает проекты .NET Framework не в стиле SDK, в том числе Unity. Проекты .NET Core, .NET 5+ и платформы .NET Framework в стиле SDK должны значительно повысить производительность.", "configuration.omnisharp.useModernNet.title": "Использовать сборку .NET 6 для OmniSharp", - "configuration.razor.languageServer.debug": "Указывает, следует ли ожидать подключения отладки при запуске языкового сервера.", - "configuration.razor.languageServer.directory": "Переопределяет путь к каталогу языкового сервера Razor.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Подавляет появление всплывающих сообщений об ошибках, если сервер обнаруживает устранимую ошибку.", - "configuration.razor.server.trace": "Задает уровень ведения журнала, который будет использоваться для сервера Razor.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "Присоедините отладчик .NET (coreclr) к запущенному процессу. Это также можно сделать с помощью команды \"Присоединение к процессу .NET 5+ или .NET Core\".", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Этот фрагмент кода используется для запуска нового процесса в отладчике Blazor WebAssembly (blazorwasm), указывая путь к исполняемому файлу для запуска. В большинстве случаев фрагмент кода \".NET: запуск проекта C#\" является более оптимальным вариантом, но этот фрагмент можно использовать для полного управления всеми параметрами запуска. Этот фрагмент кода предназначен для размещенных проектов Blazor, которые используют серверное приложение ASP.NET Core для обработки своих файлов.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Этот фрагмент кода используется для запуска нового процесса в отладчике Blazor WebAssembly (blazorwasm). В большинстве случаев фрагмент кода \".NET: запуск проекта C#\" является более оптимальным вариантом, но этот фрагмент можно использовать для полного управления всеми параметрами запуска. Этот фрагмент кода предназначен для автономных проектов Blazor, у которых нет серверного приложения ASP.NET Core для обработки своих файлов.", diff --git a/package.nls.tr.json b/package.nls.tr.json index 154ff58407..4787b6ea7b 100644 --- a/package.nls.tr.json +++ b/package.nls.tr.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": ".NET 5+ veya .NET Core işlemine ekleme", "command.csharp.changeProjectContext": "Etkin belgenin proje bağlamını değiştirin", + "command.csharp.changeProjectContextEditor": "Proje Bağlamı Seç", + "command.csharp.changeProjectContextFileExplorer": "Proje Bağlamı Seç", "command.csharp.downloadDebugger": ".NET Core Hata Ayıklayıcısını İndirin", "command.csharp.listProcess": "Ekleme işlemini listele", "command.csharp.listRemoteDockerProcess": "Docker bağlantısındaki işlemleri listeleme", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "\"useModernNet\" false olarak ayarlandığında, varsayılan sistem yerine kullanılacak mono kurulumunun yolunu belirtir. Örnek: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "configuration.omnisharp.projectFilesExcludePattern": "Tüm proje dosyalarını bulmak için OmniSharp tarafından kullanılan dışlama deseni.", "configuration.omnisharp.projectLoadTimeout": "Visual Studio Code'un OmniSharp sunucusunun başlamasını bekleyeceği süre. Süre saniye cinsinden ifade edilir.", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "Etiket yardımcısı ve bileşen öğelerinin bir boşlukla işlenip işlenmeyeceğini belirtir.", "configuration.omnisharp.razor.devmode": "Uzantıyı, yerel Razor.VSCode geliştirmeyi etkinleştiren bir modda çalışmaya zorlar.", - "configuration.omnisharp.razor.format.attributeIndentStyle": "Razor dosyalarındaki Html ve bileşen etiketi özniteliklerinin girinti stilini belirtir.", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "Açık küme ayracını bir @code veya @functions yönergesinden sonra aşağıdaki satırda olmaya zorlar.", "configuration.omnisharp.razor.format.enable": "Varsayılan Razor biçimlendiricisini etkinleştirin/devre dışı bırakın.", "configuration.omnisharp.razor.plugin.path": "Razor eklenti dll'sini geçersiz kılar.", "configuration.omnisharp.sdkIncludePrereleases": "Proje yükleme için hangi sürümün kullanılacağını belirlerken .NET SDK'nın önizleme sürümlerinin dahil edilip edilmeyeceğini belirtir. \"useModernNet\" true olarak ayarlandığında uygulanır.", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "OmniSharp'ın C# kod biçimlendirmesi için VS Code düzenleyici ayarlarını kullanıp kullanmayacağını belirtir (sekme kullanımı, girinti boyutu).", "configuration.omnisharp.useModernNet.description": ".NET 6 için OmniSharp derlemesini kullanın. Bu sürüm Unity dahil SDK stili olmayan .NET Framework projelerini desteklemiyor. SDK stili Framework, .NET Core ve .NET 5+ projeleri önemli performans iyileştirmeleri görüyor olmalıdır.", "configuration.omnisharp.useModernNet.title": "OmniSharp'ın .NET 6 derlemesi kullanın", - "configuration.razor.languageServer.debug": "Dil sunucusunu başlatırken hata ayıklama eklemesinin beklenip beklenmeyeceğini belirtir.", - "configuration.razor.languageServer.directory": "Razor Dil Sunucusu dizininin yolunu geçersiz kılıyor.", - "configuration.razor.languageServer.suppressLspErrorToasts": "Sunucu kurtarılabilir bir hatayla karşılaştığında hata bildirimlerinin görünmesini engeller.", - "configuration.razor.server.trace": "Razor sunucusu için kullanılacak günlük kaydı düzeyini belirtir.", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": ".NET hata ayıklayıcısını (coreclr) çalışan bir işleme ekleyin. Bu, '.NET 5+ veya .NET Core işlemine ekle' komutu kullanılarak da kullanılabilir.", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "Bu kod parçacığı, Blazor WebAssembly hata ayıklayıcısı (blazorwasm) altında, başlatılacak yürütülebilir dosyanın yolunu belirten yeni bir işlemi başlatmak için kullanılır. Çoğu durumda, \".NET: C# projesini başlat\" kod parçacığı daha iyi bir seçimdir, ancak bu kod parçacığı tüm başlatma seçenekleri üzerinde tam denetime sahip olmak için kullanılabilir. Bu kod parçacığı dosyalarını sunmak için arka uç ASP.NET Core uygulamasına sahip bir proje olan, barındırılan Blazor projeleri içindir.", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "Bu kod parçacığı, Blazor WebAssembly hata ayıklayıcısı (blazorwasm) altında yeni bir işlemi başlatmak için kullanılır. Çoğu durumda, \".NET: C# projesini başlat\" kod parçacığı daha iyi bir seçimdir, ancak bu kod parçacığı tüm başlatma seçenekleri üzerinde tam denetime sahip olmak için kullanılabilir. Bu kod parçacığı, dosyalarını sunmak için bir arka uç ASP.NET Core uygulamasına sahip olmayan bir proje olan tek başına Blazor projeleri içindir.", diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index 786ac8d679..b6d0e135fa 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "附加到 .NET 5+ 或 .NET Core 进程", "command.csharp.changeProjectContext": "更改活动文档的项目上下文", + "command.csharp.changeProjectContextEditor": "选择项目上下文", + "command.csharp.changeProjectContextFileExplorer": "选择项目上下文", "command.csharp.downloadDebugger": "下载 .NET Core 调试程序", "command.csharp.listProcess": "列出要附加的进程", "command.csharp.listRemoteDockerProcess": "列出 Docker 连接上的进程", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "指定当“useModernNet”设置为 false 时要使用的 Mono 安装路径,而不是默认的系统路径。示例:“/Library/Frameworks/Mono.framework/Versions/Current”", "configuration.omnisharp.projectFilesExcludePattern": "OmniSharp 用于查找所有项目文件的排除模式。", "configuration.omnisharp.projectLoadTimeout": "Visual Studio Code 等待 OmniSharp 服务器启动的时间。时间以秒来表示。", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "指定是否提交带有空格的标记帮助程序和组件元素。", "configuration.omnisharp.razor.devmode": "强制扩展以启用本地 Razor.VSCode 开发的模式运行。", - "configuration.omnisharp.razor.format.attributeIndentStyle": "指定 Razor 文件中 HTML 和组件标签属性的缩进样式。", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "强制将 @code 或 @functions 指令后的开括号放在下一行。", "configuration.omnisharp.razor.format.enable": "启用/禁用默认 Razor 格式化程序。", "configuration.omnisharp.razor.plugin.path": "替代 Razor 插件 dll 的路径。", "configuration.omnisharp.sdkIncludePrereleases": "指定在确定使用哪个版本进行项目加载时是否包含 .NET SDK 的预览版本。当“useModernNet”设置为 true 时适用。", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "指定 OmniSharp 是否应使用 VS Code 编辑器设置进行 C# 代码格式化(使用制表符、缩进大小)。", "configuration.omnisharp.useModernNet.description": "使用 .NET 6 版本的 OmniSharp。此版本不支持非 SDK 风格的 .NET Framework 项目,包括 Unity。SDK 样式的框架、.NET Core 和 .NET 5+ 项目应该会获得显著的性能提升。", "configuration.omnisharp.useModernNet.title": "使用 .NET 6 版本的 OmniSharp", - "configuration.razor.languageServer.debug": "指定在启动语言服务器时是否等待调试附加。", - "configuration.razor.languageServer.directory": "重写 Razor 语言服务器目录的路径。", - "configuration.razor.languageServer.suppressLspErrorToasts": "当服务器遇到可恢复错误时,禁止显示错误 toast。", - "configuration.razor.server.trace": "指定要用于 Razor 服务器的日志记录级别。", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "将 .NET 调试器 (coreclr) 附加到正在运行的进程。也可以使用“附加到 .NET 5+ 或 .NET Core 进程”命令完成此操作。", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "此代码片段用于在 Blazor WebAssembly 调试器 (blazorwasm) 下启动新进程,指定要启动的可执行文件的路径。在大多数情况下,“.NET: 启动 C# 项目”代码片段是更好的选择,但此代码片段可用于完全控制所有启动选项。此代码片段适用于托管的 Blazor 项目,该项目具有后端 ASP.NET 核心应用以提供其文件。", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "此代码片段用于在 Blazor WebAssembly 调试器 (blazorwasm) 下启动新进程。在大多数情况下,“.NET: 启动 C# 项目”代码片段是更好的选择,但此代码片段可用于完全控制所有启动选项。此代码片段适用于独立的 Blazor 项目,该项目不具有后端 ASP.NET 核心应用以提供其文件。", diff --git a/package.nls.zh-tw.json b/package.nls.zh-tw.json index 470df12781..b1d8d5e33e 100644 --- a/package.nls.zh-tw.json +++ b/package.nls.zh-tw.json @@ -1,6 +1,8 @@ { "command.csharp.attachToProcess": "連結至 .NET 5+ 或 .NET Core 程序", "command.csharp.changeProjectContext": "變更使用中文件的專案内容", + "command.csharp.changeProjectContextEditor": "選取專案内容", + "command.csharp.changeProjectContextFileExplorer": "選取專案内容", "command.csharp.downloadDebugger": "下載 .NET Core 偵錯工具", "command.csharp.listProcess": "列出連結的程序", "command.csharp.listRemoteDockerProcess": "列出 Docker 連線上的程序", @@ -115,10 +117,7 @@ "configuration.omnisharp.monoPath": "指定當 \"useModernNet\" 設定為 false 而非預設的系統時,要使用的 Mono 安裝的路徑。範例: \"/Library/Frameworks/Mono.framework/Versions/Current\"", "configuration.omnisharp.projectFilesExcludePattern": "OmniSharp 用來尋找所有專案檔案的排除模式。", "configuration.omnisharp.projectLoadTimeout": "Visual Studio Code 將等候 OmniSharp 伺服器啟動的時間。時間以秒表示。", - "configuration.omnisharp.razor.completion.commitElementsWithSpace": "指定是否以空格來認可標記協助程式和元件元素。", "configuration.omnisharp.razor.devmode": "強制延伸模組在啟用本機 Razor.VSCode 開發的模式中執行。", - "configuration.omnisharp.razor.format.attributeIndentStyle": "指定 Razor 檔案中 HTML 與元件標籤屬性的縮排風格。", - "configuration.omnisharp.razor.format.codeBlockBraceOnNextLine": "強制 @code 或 @functions 指示詞後的左大括號出現在下一行。", "configuration.omnisharp.razor.format.enable": "啟用/停用預設 Razor 格式器。", "configuration.omnisharp.razor.plugin.path": "覆寫 Razor 外掛程式 DLL 的路徑。", "configuration.omnisharp.sdkIncludePrereleases": "指定在決定要用於專案載入的版本時,是否要包含 .NET SDK 的預覽版本。當 \"useModernNet\" 設定為 true 時適用。", @@ -127,10 +126,9 @@ "configuration.omnisharp.useEditorFormattingSettings": "指定 OmniSharp 是否應該針對 C# 程式碼格式設定 (使用 Tab、縮排大小) 使用 VS Code 編輯器設定。", "configuration.omnisharp.useModernNet.description": "使用適用於 .NET 6 的 OmniSharp 組建。此版本不支援非 SDK 樣式的 .NET Framework 專案,包括 Unity。SDK 樣式的 Framework、.NET Core 和 .NET 5+ 專案應該會大幅提升效能。", "configuration.omnisharp.useModernNet.title": "使用 OmniSharp 的 .NET 6 版本", - "configuration.razor.languageServer.debug": "指定啟動語言伺服器時,是否要等候偵錯附加。", - "configuration.razor.languageServer.directory": "覆寫 Razor 語言伺服器目錄的路徑。", - "configuration.razor.languageServer.suppressLspErrorToasts": "如果伺服器發生可復原的錯誤,隱藏不顯示錯誤快顯通知。", - "configuration.razor.server.trace": "指定要用於 Razor 伺服器的記錄層級。", + "configuration.razor.razor.completion.commitElementsWithSpace": "Specifies whether to commit tag helper and component elements with a space.", + "configuration.razor.razor.format.attributeIndentStyle": "Specifies the indentation style for Html and component tag attributes in Razor files.", + "configuration.razor.razor.format.codeBlockBraceOnNextLine": "Forces the open brace after an @code or @functions directive to be on the following line.", "debuggers.coreclr.configurationSnippets.description.attach": "將 .NET 偵錯工具 (coreclr) 連結到執行中的流程。這也可以使用 'Attach to a .NET 5+ or .NET Core process' 命令來完成。", "debuggers.coreclr.configurationSnippets.description.blazor-hosted": "此程式碼片段可用來啟動 Blazor WebAssembly 偵錯工具 (blazorwasm) 下的新流程,並指定要啟動之可執行檔的路徑。在大部分情況下,「.NET: Launch C# project」程式碼片段是較佳的選擇,但此程式碼片段可用來完全控制所有啟動選項。此程式碼片段適用於裝載的 Blazor 專案,該專案是具有後端 ASP.NET Core 應用程式以提供其檔案服務的專案。", "debuggers.coreclr.configurationSnippets.description.blazor-standalone": "此程式碼片段可用來啟動 Blazor WebAssembly 偵錯工具 (blazorwasm) 下的新流程。在大部分情況下,「.NET: Launch C# project」程式碼片段是較佳的選擇,但此程式碼片段可用來完全控制所有啟動選項。此程式碼片段適用於獨立的 Blazor 專案,該專案是具有後端 ASP.NET Core 應用程式以提供其檔案服務的專案。", diff --git a/src/lsptoolshost/server/roslynLanguageServer.ts b/src/lsptoolshost/server/roslynLanguageServer.ts index 62b8b30c94..c82ed302ae 100644 --- a/src/lsptoolshost/server/roslynLanguageServer.ts +++ b/src/lsptoolshost/server/roslynLanguageServer.ts @@ -370,7 +370,8 @@ export class RoslynLanguageServer { } public async restart(): Promise { - await this._languageClient.restart(); + await this.stop(); + await this._languageClient.start(); } public workspaceDisplayName(): string { diff --git a/tasks/createTagsTasks.ts b/tasks/createTagsTasks.ts index b74cd211e9..871618717d 100644 --- a/tasks/createTagsTasks.ts +++ b/tasks/createTagsTasks.ts @@ -65,7 +65,7 @@ gulp.task('createTags:vscode-csharp', async (): Promise => { options, 'dotnet', 'vscode-csharp', - async (releaseCommit: string, githubPAT: string) => releaseCommit, + async (releaseCommit: string, _githubPAT: string) => releaseCommit, (releaseVersion: string, isPrerelease: boolean): [string, string] => { const prereleaseText = isPrerelease ? '-prerelease' : ''; return [`v${releaseVersion}${prereleaseText}`, releaseVersion]; diff --git a/tasks/snapTasks.ts b/tasks/snapTasks.ts index fa7ef62279..8516f974af 100644 --- a/tasks/snapTasks.ts +++ b/tasks/snapTasks.ts @@ -75,7 +75,7 @@ function addChangelogSection(version: string, additionalLines?: string[]): void const headerRegex = /^#+\s+.*$/gm; const matches = []; for (let i = 0; i < changelogLines.length; i++) { - const line = changelogLines.at(i); + const line = changelogLines[i]; const match = headerRegex.exec(line!); if (match) { matches.push({ line: i, text: match[0] }); @@ -201,7 +201,7 @@ const prRegex = /^\*.+\(PR: \[#(\d+)\]\(/; function findNextVersionHeaderLine(changelogLines: string[], startLine: number = 0): [number, string] { const headerRegex = /^#\s(\d+\.\d+)\.(x|\d+)$/; for (let i = startLine; i < changelogLines.length; i++) { - const line = changelogLines.at(i); + const line = changelogLines[i]; const match = headerRegex.exec(line!); if (match) { return [i, match[1]]; @@ -213,7 +213,7 @@ function findNextVersionHeaderLine(changelogLines: string[], startLine: number = function getPrIdsBetweenHeaders(changelogLines: string[], startLine: number, endLine: number): string[] { const prs: string[] = []; for (let i = startLine; i < endLine; i++) { - const line = changelogLines.at(i); + const line = changelogLines[i]; const match = prRegex.exec(line!); if (match) { prs.push(match[1]); diff --git a/test/lsptoolshost/integrationTests/documentSymbolProvider.integration.test.ts b/test/lsptoolshost/integrationTests/documentSymbolProvider.integration.test.ts index cff9c6e174..bfe1022cd5 100644 --- a/test/lsptoolshost/integrationTests/documentSymbolProvider.integration.test.ts +++ b/test/lsptoolshost/integrationTests/documentSymbolProvider.integration.test.ts @@ -32,78 +32,82 @@ describe(`Document Symbol Tests`, () => { test('Returns all elements', async () => { const symbols = await GetDocumentSymbols(fileUri); - expect(symbols).toHaveLength(5); + expect(symbols).toHaveLength(1); + + // Namespace Test + expect(symbols[0].name).toBe('Test'); + expect(symbols[0].kind).toBe(vscode.SymbolKind.Namespace); + expect(symbols[0].children).toHaveLength(5); + + const namespaceChildren = symbols[0].children; // Class C - expect(symbols[0].name).toBe('C'); - expect(symbols[0].detail).toBe('Test.C'); - expect(symbols[0].kind).toBe(vscode.SymbolKind.Class); + expect(namespaceChildren[0].name).toBe('C'); + expect(namespaceChildren[0].kind).toBe(vscode.SymbolKind.Class); // The range is the entire class, but the selection range is the class name - expect(symbols[0].range).toStrictEqual(new vscode.Range(new vscode.Position(4, 4), new vscode.Position(37, 5))); - expect(symbols[0].selectionRange).toStrictEqual( + expect(namespaceChildren[0].range).toStrictEqual( + new vscode.Range(new vscode.Position(4, 4), new vscode.Position(37, 5)) + ); + expect(namespaceChildren[0].selectionRange).toStrictEqual( new vscode.Range(new vscode.Position(4, 10), new vscode.Position(4, 11)) ); - expect(symbols[0].children).toHaveLength(20); + expect(namespaceChildren[0].children).toHaveLength(18); // Field _f - expect(symbols[0].children[0].name).toBe('_f'); - expect(symbols[0].children[0].kind).toBe(vscode.SymbolKind.Field); - - // Finalize - expect(symbols[0].children[3].name).toBe('~C'); - expect(symbols[0].children[3].kind).toBe(vscode.SymbolKind.Method); + expect(namespaceChildren[0].children[0].name).toBe('_f : int'); + expect(namespaceChildren[0].children[0].kind).toBe(vscode.SymbolKind.Field); // Ctor - expect(symbols[0].children[4].name).toBe('C'); - expect(symbols[0].children[4].kind).toBe(vscode.SymbolKind.Method); + expect(namespaceChildren[0].children[3].name).toBe('C()'); + expect(namespaceChildren[0].children[3].kind).toBe(vscode.SymbolKind.Method); - // EventHandler E1 - expect(symbols[0].children[5].name).toBe('E1'); - expect(symbols[0].children[5].kind).toBe(vscode.SymbolKind.Event); + // Finalize + expect(namespaceChildren[0].children[4].name).toBe('~C()'); + expect(namespaceChildren[0].children[4].kind).toBe(vscode.SymbolKind.Method); - // explicit operator int(C c1) - expect(symbols[0].children[11].name).toBe('explicit operator Int32'); - expect(symbols[0].children[11].detail).toBe('explicit operator int(C c1)'); - expect(symbols[0].children[11].kind).toBe(vscode.SymbolKind.Operator); + // Method M1 + expect(namespaceChildren[0].children[5].name).toBe('M1(int, string, object[]) : void'); + expect(namespaceChildren[0].children[5].detail).toBe('M1(int, string, object[]) : void'); + expect(namespaceChildren[0].children[5].kind).toBe(vscode.SymbolKind.Method); - // implicit operator int(C c1) - expect(symbols[0].children[12].name).toBe('implicit operator C'); - expect(symbols[0].children[12].detail).toBe('implicit operator C(int i)'); - expect(symbols[0].children[12].kind).toBe(vscode.SymbolKind.Operator); + // Property P1 + expect(namespaceChildren[0].children[6].name).toBe('P1 : int'); + expect(namespaceChildren[0].children[6].kind).toBe(vscode.SymbolKind.Property); - // Method M1 - expect(symbols[0].children[13].name).toBe('M1'); - expect(symbols[0].children[13].detail).toBe('M1(int i, string s, params object[] args)'); - expect(symbols[0].children[13].kind).toBe(vscode.SymbolKind.Method); + // EventHandler E1 + expect(namespaceChildren[0].children[10].name).toBe('E1 : EventHandler'); + expect(namespaceChildren[0].children[10].kind).toBe(vscode.SymbolKind.Event); // operator != - expect(symbols[0].children[14].name).toBe('operator !='); - expect(symbols[0].children[14].detail).toBe('operator !=(C c1, int i)'); - expect(symbols[0].children[14].kind).toBe(vscode.SymbolKind.Operator); + expect(namespaceChildren[0].children[15].name).toBe('operator !=(C, int) : bool'); + expect(namespaceChildren[0].children[15].detail).toBe('operator !=(C, int) : bool'); + expect(namespaceChildren[0].children[15].kind).toBe(vscode.SymbolKind.Operator); - // Property P1 - expect(symbols[0].children[16].name).toBe('P1'); - expect(symbols[0].children[16].kind).toBe(vscode.SymbolKind.Property); + // implicit operator C(int) + expect(namespaceChildren[0].children[16].name).toBe('implicit operator C(int)'); + expect(namespaceChildren[0].children[16].detail).toBe('implicit operator C(int)'); + expect(namespaceChildren[0].children[16].kind).toBe(vscode.SymbolKind.Operator); + + // explicit operator int(C) + expect(namespaceChildren[0].children[17].name).toBe('explicit operator int(C)'); + expect(namespaceChildren[0].children[17].detail).toBe('explicit operator int(C)'); + expect(namespaceChildren[0].children[17].kind).toBe(vscode.SymbolKind.Operator); // Struct S - expect(symbols[1].name).toBe('S'); - expect(symbols[1].detail).toBe('Test.S'); - expect(symbols[1].kind).toBe(vscode.SymbolKind.Struct); + expect(namespaceChildren[1].name).toBe('S'); + expect(namespaceChildren[1].kind).toBe(vscode.SymbolKind.Struct); // Interface I - expect(symbols[2].name).toBe('I'); - expect(symbols[2].detail).toBe('Test.I'); - expect(symbols[2].kind).toBe(vscode.SymbolKind.Interface); + expect(namespaceChildren[2].name).toBe('I'); + expect(namespaceChildren[2].kind).toBe(vscode.SymbolKind.Interface); // Delegate D - expect(symbols[3].name).toBe('D'); - expect(symbols[3].detail).toBe('Test.D'); - expect(symbols[3].kind).toBe(vscode.SymbolKind.Method); + expect(namespaceChildren[3].name).toBe('D() : void'); + expect(namespaceChildren[3].kind).toBe(vscode.SymbolKind.Method); // Enum E - expect(symbols[4].name).toBe('E'); - expect(symbols[4].detail).toBe('Test.E'); - expect(symbols[4].kind).toBe(vscode.SymbolKind.Enum); + expect(namespaceChildren[4].name).toBe('E'); + expect(namespaceChildren[4].kind).toBe(vscode.SymbolKind.Enum); }); }); diff --git a/test/lsptoolshost/unitTests/configurationMiddleware.test.ts b/test/lsptoolshost/unitTests/configurationMiddleware.test.ts index 11b4f764ba..759d8bc46f 100644 --- a/test/lsptoolshost/unitTests/configurationMiddleware.test.ts +++ b/test/lsptoolshost/unitTests/configurationMiddleware.test.ts @@ -278,7 +278,7 @@ const testData = [ describe('Server option name to vscode configuration name test', () => { const packageJson = JSON.parse(readFileSync('package.json').toString()); const configurations = packageJson['contributes']['configuration']; - const numConfigurations = 5; + const numConfigurations = 6; test('Max server sections are expected', () => { expect(configurations.length).toBe(numConfigurations); }); diff --git a/test/vscodeLauncher.ts b/test/vscodeLauncher.ts index a4fdbf3dd6..13df078588 100644 --- a/test/vscodeLauncher.ts +++ b/test/vscodeLauncher.ts @@ -30,9 +30,9 @@ export async function prepareVSCodeAndExecuteTests( // Rather than having to uninstall Dev Kit between different test runs, we use workspace settings // to control which extensions are active - and we always install Dev Kit. const extensionsToInstall = [ - 'ms-dotnettools.vscode-dotnet-runtime@2.3.4', + 'ms-dotnettools.vscode-dotnet-runtime@3.0.0', 'ms-dotnettools.csharp', - 'ms-dotnettools.csdevkit@1.16.6', + 'ms-dotnettools.csdevkit@1.92.5', ]; await installExtensions(extensionsToInstall, cli, args); diff --git a/version.json b/version.json index 43d30089f2..a343f96885 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.113", + "version": "2.114", "publicReleaseRefSpec": [ "^refs/heads/release$", "^refs/heads/prerelease$",