diff --git a/CHANGELOG.md b/CHANGELOG.md index 5121ef1ca3..acc84ab2e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,20 @@ - 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.93.x +* Bump Roslyn to 5.0.0-2.25472.11 (PR: [#8646](https://github.com/dotnet/vscode-csharp/pull/8646)) + * Fix handling edits in types nested in reloadable types(PR: [#80360](https://github.com/dotnet/roslyn/pull/80360)) + * Remove CS1998 warning entirely and remove dependent C# code fix providers(PR: [#80144](https://github.com/dotnet/roslyn/pull/80144)) + * Only restore based on assets file changes if the actual content changed(PR: [#80341](https://github.com/dotnet/roslyn/pull/80341)) + * Fix issue where build artifacts were added in source tree (PR: [#80324](https://github.com/dotnet/roslyn/pull/80324)) + * Allow clients to send range ending at the line after the last line in the document(PR: [#80310](https://github.com/dotnet/roslyn/pull/80310)) + * Don't show Razor diagnostics in Full Solution Analysis(PR: [#80296](https://github.com/dotnet/roslyn/pull/80296)) + * Log project context in which document was found(PR: [#80202](https://github.com/dotnet/roslyn/pull/80202)) +* Bump Razor to 10.0.0-preview.25472.6 (PR: [#8639](https://github.com/dotnet/vscode-csharp/pull/8639)) + * Support view components in Go To Def (PR: [#12222](https://github.com/dotnet/razor/pull/12222)) + * Redirect the older named assembly too (PR: [#12239](https://github.com/dotnet/razor/pull/12239)) + * Restore "Show Html/C#" VS Code commands (PR: [#12234](https://github.com/dotnet/razor/pull/12234)) + # 2.92.x * Bump Razor to 10.0.0-preview.25464.2 (PR: [#8628](https://github.com/dotnet/vscode-csharp/pull/8628)) * Improve go to definition for mvc tag helpers (PR: [#12216](https://github.com/dotnet/razor/pull/12216)) diff --git a/l10n/bundle.l10n.cs.json b/l10n/bundle.l10n.cs.json index d0d4978ead..f06447e934 100644 --- a/l10n/bundle.l10n.cs.json +++ b/l10n/bundle.l10n.cs.json @@ -32,12 +32,12 @@ "Choose": "Zvolit", "Choose and set default": "Zvolit a nastavit výchozí", "Click {0}. This will copy all relevant issue information.": "Klikněte na {0}. Zkopírují se tím všechny relevantní informace o problému.", - "Cohosting is on, client has no access to CSharp content": "Společné hostování je zapnuté, ale klient nemá přístup k obsahu CSharp", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "Konfigurace „{0}“ v souboru launch.json nemá argument {1} s {2} pro výpis vzdáleného procesu.", "Copy C#": "Kopírovat kód C#", "Copy Html": "Kopírovat HTML", "Copy issue content again": "Zkopírovat obsah problému znovu", "Could not determine CSharp content": "Nepovedlo se určit obsah CSharp.", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "Nepovedlo se určit obsah HTML.", "Could not find '{0}' in or above '{1}'.": "Nepovedlo se najít {0} v {1} ani výše.", "Could not find Razor Language Server executable '{0}' within directory": "V adresáři se nepovedlo najít spustitelný soubor jazykového serveru Razor {0}.", @@ -178,8 +178,8 @@ "Test run already in progress": "Už probíhá testovací běh.", "Text editor must be focused to fix all issues": "Aby bylo možné vyřešit všechny problémy, musí mít textový editor fokus.", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "Příkaz {0} se nedoporučuje používat, když je nainstalováno rozšíření C# Dev Kit. Chcete místo toho sestavit a ladit pomocí dynamické konfigurace?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "Nelze nalézt sadu .NET Core SDK: {0}. Ladění .NET Core se nepovolí. Ujistěte se, že je sada .NET Core SDK nainstalovaná a umístěná v dané cestě.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "Sada .NET Core SDK umístěná v cestě je příliš stará. Ladění .NET Core se nepovolí. Minimální podporovaná verze je {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "Sada .NET SDK nebyla nalezena: {0}. Ladění .NET nebude povoleno. Ujistěte se, že je sada .NET SDK nainstalovaná a umístěná v dané cestě.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "Sada .NET SDK umístěná v cestě je příliš stará. Ladění .NET se nepovolí. Minimální podporovaná verze je {0}.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "Rozšíření jazyka C# pro Visual Studio Code není kompatibilní na {0} {1} se vzdálenými rozšířeními VS Code. Pokud chcete zobrazit dostupná alternativní řešení, klikněte na {2}.", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "Rozšíření jazyka C# pro Visual Studio Code není na {0} {1} kompatibilní.", "The C# extension is still downloading packages. Please see progress in the output window below.": "Rozšíření C# stále stahuje balíčky. Průběh si můžete prohlédnout v okně výstupu níže.", diff --git a/l10n/bundle.l10n.de.json b/l10n/bundle.l10n.de.json index ff3f573b03..70b1efce66 100644 --- a/l10n/bundle.l10n.de.json +++ b/l10n/bundle.l10n.de.json @@ -32,12 +32,12 @@ "Choose": "Auswählen", "Choose and set default": "Standard auswählen und festlegen", "Click {0}. This will copy all relevant issue information.": "Klicken Sie auf {0}. Dadurch werden alle relevanten Probleminformationen kopiert.", - "Cohosting is on, client has no access to CSharp content": "Cohosting ist aktiviert. Der Client hat keinen Zugriff auf CSharp-Inhalte.", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "Die Konfiguration \"{0}\" in \"launch.json\" weist kein {1}-Argument mit {2} für die Remoteprozessauflistung auf.", "Copy C#": "C# kopieren", "Copy Html": "HTML kopieren", "Copy issue content again": "Probleminhalt erneut kopieren", "Could not determine CSharp content": "Der CSharp-Inhalt konnte nicht bestimmt werden.", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "Der HTML-Inhalt konnte nicht bestimmt werden.", "Could not find '{0}' in or above '{1}'.": "\"{0}\" wurde in oder über \"{1}\" nicht gefunden.", "Could not find Razor Language Server executable '{0}' within directory": "Die ausführbare Razor Language Server-Datei „{0}“ wurde im Verzeichnis nicht gefunden.", @@ -178,8 +178,8 @@ "Test run already in progress": "Es wird bereits ein Testlauf ausgeführt.", "Text editor must be focused to fix all issues": "Der Texteditor muss den Fokus haben, um alle Probleme zu beheben.", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "Die Verwendung des Befehls „{0}“ wird nicht empfohlen, wenn die C# Dev Kit-Erweiterung installiert ist. Möchten Sie zum Kompilieren und Debuggen stattdessen eine dynamische Konfiguration verwenden?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "Das .NET Core SDK kann nicht gefunden werden: {0}. Das .NET Core-Debuggen wird nicht aktiviert. Stellen Sie sicher, dass das .NET Core SDK installiert ist und sich im Pfad befindet.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "Das .NET Core SDK auf dem Pfad ist zu alt. Das .NET Core-Debuggen wird nicht aktiviert. Die unterstützte Mindestversion ist {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "Das .NET SDK wurde nicht gefunden: {0}. Das .NET-Debuggen wird nicht aktiviert. Stellen Sie sicher, dass das .NET SDK installiert ist und sich im Pfad befindet.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "Das .NET SDK auf dem Pfad ist zu alt. Das .NET-Debuggen wird nicht aktiviert. Die unterstützte Mindestversion ist {0}.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "Die C#-Erweiterung für Visual Studio Code ist auf {0} {1} nicht mit den VS Code-Remoteerweiterungen kompatibel. Klicken Sie auf „{2}“, um verfügbare Problemumgehungen anzuzeigen.", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "Die C#-Erweiterung für Visual Studio Code ist auf {0} {1} nicht kompatibel.", "The C# extension is still downloading packages. Please see progress in the output window below.": "Die C#-Erweiterung lädt weiterhin Pakete herunter. Den Fortschritt finden Sie unten im Ausgabefenster.", diff --git a/l10n/bundle.l10n.es.json b/l10n/bundle.l10n.es.json index 2a6cdd8287..718b626fe1 100644 --- a/l10n/bundle.l10n.es.json +++ b/l10n/bundle.l10n.es.json @@ -32,12 +32,12 @@ "Choose": "Elegir", "Choose and set default": "Elegir y establecer el valor predeterminado", "Click {0}. This will copy all relevant issue information.": "Haga clic en {0}. Esto copiará toda la información del problema pertinente.", - "Cohosting is on, client has no access to CSharp content": "El cohospedaje está activado, el cliente no tiene acceso al contenido de CSharp", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "La configuración \"{0}\" de launch.json no tiene un argumento {1} con {2} para la lista de procesos remotos.", "Copy C#": "Copiar C#", "Copy Html": "Copiar HTML", "Copy issue content again": "Volver a copiar el contenido del problema", "Could not determine CSharp content": "No se pudo determinar el contenido de CSharp", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "No se pudo determinar el contenido HTML", "Could not find '{0}' in or above '{1}'.": "No se pudo encontrar '{0}' en '' o encima de '{1}'.", "Could not find Razor Language Server executable '{0}' within directory": "No se encontró el ejecutable del servidor de lenguaje Razor en el directorio ''{0}''", @@ -178,8 +178,8 @@ "Test run already in progress": "La ejecución de prueba ya está en curso", "Text editor must be focused to fix all issues": "El editor de texto debe estar centrado para corregir todos los problemas", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "No se recomienda usar el comando \"{0}\" cuando se instala la extensión del Kit de desarrollo de C#. ¿Desea compilar y depurar mediante una configuración dinámica en su lugar?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "No se encuentra el SDK de .NET Core: {0}. No se habilitará la depuración de .NET Core. Asegúrese de que el SDK de .NET Core está instalado y en la ruta de acceso.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "El SDK de .NET Core ubicado en la ruta de acceso es muy antiguo. No se habilitará la depuración de .NET Core. La versión mínima admitida es {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "No se encuentra el SDK de .NET: {0}. No se habilitará la depuración de .NET. Asegúrese de que el SDK de .NET está instalado y en la ruta de acceso.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "El SDK de .NET ubicado en la ruta de acceso es muy antiguo. No se habilitará la depuración de .NET. La versión mínima admitida es {0}.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "La extensión de C# para Visual Studio Code no es compatible en {0} {1}con las extensiones remotas VS Code. Para ver soluciones alternativas disponibles, haga clic en \"{2}\".", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "La extensión de C# para Visual Studio Code no es compatible con {0} {1}.", "The C# extension is still downloading packages. Please see progress in the output window below.": "La extensión de C# aún está descargando paquetes. Vea el progreso en la ventana de salida siguiente.", diff --git a/l10n/bundle.l10n.fr.json b/l10n/bundle.l10n.fr.json index 5f0807eaa9..a91ed1e58b 100644 --- a/l10n/bundle.l10n.fr.json +++ b/l10n/bundle.l10n.fr.json @@ -32,12 +32,12 @@ "Choose": "Choisir", "Choose and set default": "Choisir et définir la valeur par défaut", "Click {0}. This will copy all relevant issue information.": "Cliquez sur {0}. Cette opération copie toutes les informations pertinentes sur le problème.", - "Cohosting is on, client has no access to CSharp content": "La cohébergement est activé, le client n’a pas accès au contenu CSharp", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "La configuration « {0} » dans launch.json n’a pas d’argument {1} avec {2} pour la liste des processus distants.", "Copy C#": "Copier C#", "Copy Html": "Copier du code HTML", "Copy issue content again": "Copier à nouveau le contenu du problème", "Could not determine CSharp content": "Impossible de déterminer le contenu CSharp", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "Impossible de déterminer le contenu HTML", "Could not find '{0}' in or above '{1}'.": "Impossible de trouver '{0}' dans ou au-dessus '{1}'.", "Could not find Razor Language Server executable '{0}' within directory": "Impossible de trouver l’exécutable du serveur de langage Razor dans le répertoire « {0} »", @@ -178,8 +178,8 @@ "Test run already in progress": "Série de tests déjà en cours", "Text editor must be focused to fix all issues": "L’éditeur de texte doit être axé sur la résolution de tous les problèmes", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "La commande « {0} » n’est pas recommandée lors de l’installation de l’extension du Kit de développement C#. Voulez-vous générer et déboguer à l’aide d’une configuration dynamique à la place ?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "Le SDK .NET Core est introuvable : {0}. Le débogage .NET Core ne sera pas activé. Assurez-vous que le SDK .NET Core est installé et se trouve sur le chemin.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "Le SDK .NET Core situé sur le chemin est trop ancien. Le débogage .NET Core ne sera pas activé. La version minimale prise en charge est {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "Le SDK .NET est introuvable : {0}. Le débogage .NET ne sera pas activé. Assurez-vous que le SDK .NET est installé et se trouve sur le chemin.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "Le SDK .NET situé sur le chemin est trop ancien. Le débogage .NET ne sera pas activé. La version minimale prise en charge est {0}.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "L’extension C# pour Visual Studio Code est incompatible sur {0} {1} avec les extensions distantes VS Code. Pour voir les solutions de contournement disponibles, cliquez sur «{2}».", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "L’extension C# pour Visual Studio Code est incompatible sur {0} {1}.", "The C# extension is still downloading packages. Please see progress in the output window below.": "L’extension C# est toujours en train de télécharger des packages. Consultez la progression dans la fenêtre sortie ci-dessous.", diff --git a/l10n/bundle.l10n.it.json b/l10n/bundle.l10n.it.json index 33ae02aa56..5569246a09 100644 --- a/l10n/bundle.l10n.it.json +++ b/l10n/bundle.l10n.it.json @@ -32,12 +32,12 @@ "Choose": "Scegli", "Choose and set default": "Scegliere e impostare il valore predefinito", "Click {0}. This will copy all relevant issue information.": "Fare clic su {0}. Verranno copiate tutte le informazioni rilevanti sul problema.", - "Cohosting is on, client has no access to CSharp content": "Il cohosting è attivo; il client non ha accesso al contenuto CSharp", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "Il \"{0}\" di configurazione in launch.json non contiene un argomento {1} con {2} per l'elenco dei processi remoti.", "Copy C#": "Copia C#", "Copy Html": "Copia HTML", "Copy issue content again": "Copiare di nuovo il contenuto del problema", "Could not determine CSharp content": "Non è stato possibile determinare il contenuto CSharp", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "Non è stato possibile determinare il contenuto HTML", "Could not find '{0}' in or above '{1}'.": "Non è stato possibile trovare '{0}{0}' in o sopra '{1}'.", "Could not find Razor Language Server executable '{0}' within directory": "Non è possibile trovare l'eseguibile del server di linguaggio Razor '{0}' nella directory", @@ -178,8 +178,8 @@ "Test run already in progress": "Esecuzione del test già in corso", "Text editor must be focused to fix all issues": "L'editor di testo deve avere lo stato attivo per risolvere tutti i problemi", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "Il comando '{0}' non è consigliato quando è installata l'estensione C# Dev Kit. Compilare ed eseguire il debug utilizzando invece una configurazione dinamica?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "L'SDK .NET Core non può essere localizzato: {0}. Il debug di .NET Core non sarà abilitato. Assicurarsi che .NET Core SDK sia installato e si trovi nel percorso.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "L'SDK .NET Core situato nel percorso è troppo vecchio. Il debug di .NET Core non sarà abilitato. La versione minima supportata è {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "L'SDK .NET non può essere localizzato: {0}. Il debug di .NET non sarà abilitato. Assicurarsi che l'SDK .NET sia installato e si trovi nel percorso.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "L'SDK .NET situato nel percorso è troppo vecchio. Il debug di .NET non sarà abilitato. La versione minima supportata è {0}.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "L'estensione C# per Visual Studio Code non è compatibile in {0} {1} con le estensioni di VS Code remoto. Per visualizzare soluzioni alternative disponibili, fare clic su \"{2}\".", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "L'estensione C# per Visual Studio Code non è compatibile in {0} {1}.", "The C# extension is still downloading packages. Please see progress in the output window below.": "L'estensione C# sta ancora scaricando i pacchetti. Visualizzare lo stato nella finestra di output seguente.", diff --git a/l10n/bundle.l10n.ja.json b/l10n/bundle.l10n.ja.json index a2ff830e1a..3f4457458f 100644 --- a/l10n/bundle.l10n.ja.json +++ b/l10n/bundle.l10n.ja.json @@ -32,12 +32,12 @@ "Choose": "選択", "Choose and set default": "既定の選択と設定", "Click {0}. This will copy all relevant issue information.": "{0} をクリックします。 これにより、関連する問題情報がすべてコピーされます。", - "Cohosting is on, client has no access to CSharp content": "共同ホストがオンになっています。クライアントは CSharp コンテンツにアクセスできません。", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "launch.json の構成 \"{0}\" に、リモート プロセスの一覧に {2} を持つ {1} 引数がありません。", "Copy C#": "C# をコピーする", "Copy Html": "HTML のコピー", "Copy issue content again": "問題の内容をもう一度コピーする", "Could not determine CSharp content": "CSharp コンテンツを特定できませんでした", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "HTML コンテンツを特定できませんでした", "Could not find '{0}' in or above '{1}'.": "'{1}' 以上に '{0}' が見つかりませんでした。", "Could not find Razor Language Server executable '{0}' within directory": "ディレクトリ内に Razor 言語サーバーの実行可能ファイル '{0}' が見つかりませんでした", @@ -178,8 +178,8 @@ "Test run already in progress": "テストの実行は既に進行中です", "Text editor must be focused to fix all issues": "すべての問題を解決するには、テキスト エディターにフォーカスを置く必要があります", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "C# Dev Kit 拡張機能がインストールされている場合、'{0}' コマンドの使用は推奨されません。代わりに動的構成を使用してビルドとデバッグを行いますか?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": ".NET Core SDKが見つかりません: {0}.NET Core デバッグは有効になりません。.NET Core SDK がインストールされ、パス上にあることを確認します。", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "パスにある .NET Core SDK が古すぎます。.NET Core デバッグは有効になりません。サポートされている最小バージョンは {0} です。", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": ".NET SDKが見つかりません: {0}.NET デバッグは有効になりません。.NET SDK がインストールされており、パス上にあることを確認します。", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "パスにある .NET SDK が古すぎます。.NET デバッグは有効になりません。サポートされている最小バージョンは {0} です。", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "Visual Studio Code の C# 拡張機能は、VS Code リモート拡張機能と {0} {1} で互換性がありません。回避策を確認するには、[{2}] をクリックします。", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "Visual Studio Code の C# 拡張機能は、 {0} {1} では互換性がありません。", "The C# extension is still downloading packages. Please see progress in the output window below.": "C# 拡張機能は引き続きパッケージをダウンロードしています。下の出力ウィンドウで進行状況を確認してください。", diff --git a/l10n/bundle.l10n.json b/l10n/bundle.l10n.json index 9fbcb816d1..ecb759f80e 100644 --- a/l10n/bundle.l10n.json +++ b/l10n/bundle.l10n.json @@ -109,7 +109,7 @@ "Non Razor file as active document": "Non Razor file as active document", "Could not determine CSharp content": "Could not determine CSharp content", "Could not determine Html content": "Could not determine Html content", - "Cohosting is on, client has no access to CSharp content": "Cohosting is on, client has no access to CSharp content", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "A valid dotnet installation could not be found: {0}": "A valid dotnet installation could not be found: {0}", "Is this a Bug or Feature request?": "Is this a Bug or Feature request?", "Bug": "Bug", @@ -248,8 +248,8 @@ "Failed to set extension directory": "Failed to set extension directory", "Failed to set debugadpter directory": "Failed to set debugadpter directory", "Failed to set install complete file path": "Failed to set install complete file path", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.", "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.": "The value '{0}' for 'targetArchitecture' in launch configuraiton is invalid. Expected 'x86_64' or 'arm64'.", "Unable to determine RuntimeId. Please set 'targetArchitecture' in your launch.json configuration.": "Unable to determine RuntimeId. Please set 'targetArchitecture' in your launch.json configuration.", "Unexpected RuntimeId '{0}'.": "Unexpected RuntimeId '{0}'.", diff --git a/l10n/bundle.l10n.ko.json b/l10n/bundle.l10n.ko.json index 6b3c5b4284..e76f2164fb 100644 --- a/l10n/bundle.l10n.ko.json +++ b/l10n/bundle.l10n.ko.json @@ -32,12 +32,12 @@ "Choose": "선택", "Choose and set default": "기본값 선택 및 설정", "Click {0}. This will copy all relevant issue information.": "{0}을(를) 클릭하세요. 모든 관련 문제 정보가 복사됩니다.", - "Cohosting is on, client has no access to CSharp content": "공동 호스팅이 켜져 있고 클라이언트가 CSharp 콘텐츠에 액세스할 수 없습니다.", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "launch.json의 \"{0}\" 구성에 원격 프로세스 목록에 대한 {2}이(가) 있는 {1} 인수가 없습니다.", "Copy C#": "C# 복사", "Copy Html": "HTML 복사", "Copy issue content again": "문제 내용 다시 복사", "Could not determine CSharp content": "CSharp 콘텐츠를 확인할 수 없음", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "Html 콘텐츠를 확인할 수 없음", "Could not find '{0}' in or above '{1}'.": "'{1}' 안이나 위에서 '{0}'을(를) 찾을 수 없음.", "Could not find Razor Language Server executable '{0}' within directory": "디렉터리 내에서 '{0}' Razor 언어 서버 실행 파일을 찾을 수 없습니다.", @@ -178,8 +178,8 @@ "Test run already in progress": "테스트 실행이 이미 진행 중입니다.", "Text editor must be focused to fix all issues": "모든 문제를 해결하려면 텍스트 편집기에 포커스가 있어야 합니다.", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "C# Dev Kit 확장이 설치된 경우 '{0}' 명령을 사용하지 않는 것이 좋습니다. 대신 동적 구성을 사용하여 빌드하고 디버그하시겠습니까?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": ".NET Core SDK를 찾을 수 없습니다: {0}. .NET Core 디버깅을 사용할 수 없습니다. .NET Core SDK가 설치되어 있고 경로에 있는지 확인합니다.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "경로에 있는 .NET Core SDK가 너무 오래되었습니다. .NET Core 디버깅을 사용할 수 없습니다. 지원되는 최소 버전은 {0} 입니다.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": ".NET SDK를 찾을 수 없습니다. {0}. .NET 디버깅을 사용할 수 없습니다. .NET SDK가 설치되어 있고 경로에 있는지 확인합니다.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "경로에 있는 .NET SDK가 너무 오래되었습니다. .NET 디버깅을 사용할 수 없습니다. 지원되는 최소 버전은 {0}입니다.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "Visual Studio Code의 C# 확장은 VS Code 원격 확장과 {0} {1}에서 호환되지 않습니다. 사용 가능한 해결 방법을 보려면 '{2}'을(를) 클릭하세요.", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "Visual Studio Code의 C# 확장이 {0} {1}에서 호환되지 않습니다.", "The C# extension is still downloading packages. Please see progress in the output window below.": "C# 확장이 여전히 패키지를 다운로드하고 있습니다. 아래 출력 창에서 진행 상황을 확인하세요.", diff --git a/l10n/bundle.l10n.pl.json b/l10n/bundle.l10n.pl.json index 6746f3dbc6..96d3286ef3 100644 --- a/l10n/bundle.l10n.pl.json +++ b/l10n/bundle.l10n.pl.json @@ -32,12 +32,12 @@ "Choose": "Wybierz", "Choose and set default": "Wybierz i ustaw wartość domyślną", "Click {0}. This will copy all relevant issue information.": "Kliknij pozycję {0}. Spowoduje to skopiowanie wszystkich istotnych informacji o problemie.", - "Cohosting is on, client has no access to CSharp content": "Współhosting jest włączony, klient nie ma dostępu do zawartości CSharp", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "Konfiguracja „{0}” w pliku launch.json nie ma argumentu {1} z {2} dla listy procesów zdalnych.", "Copy C#": "Kopiuj C#", "Copy Html": "Kopiuj treść HTML", "Copy issue content again": "Ponownie skopiuj zawartość problemu", "Could not determine CSharp content": "Nie można określić zawartości CSharp", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "Nie można określić zawartości HTML", "Could not find '{0}' in or above '{1}'.": "Nie można odnaleźć elementu „{0}” w lub powyżej „{1}”.", "Could not find Razor Language Server executable '{0}' within directory": "Nie można odnaleźć pliku wykonywalnego serwera języka Razor „{0}” w katalogu", @@ -178,8 +178,8 @@ "Test run already in progress": "Przebieg testu jest już w toku", "Text editor must be focused to fix all issues": "Edytor tekstu musi mieć fokus, aby rozwiązać wszystkie problemy", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "Polecenie „{0}” nie jest zalecane do użycia podczas instalowania rozszerzenia zestawu deweloperskiego języka C#. Czy zamiast tego chcesz kompilować i debugować przy użyciu konfiguracji dynamicznej?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "Nie można zlokalizować zestawu .NET Core SDK: {0}. Debugowanie platformy .NET Core nie zostanie włączone. Upewnij się, że zestaw .NET Core SDK jest zainstalowany i znajduje się w ścieżce.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "Zestaw .NET Core SDK znajdujący się w ścieżce jest za stary. Debugowanie platformy .NET Core nie zostanie włączone. Minimalna obsługiwana wersja to {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "Nie można zlokalizować zestawu .NET SDK: {0}. Debugowanie platformy .NET nie zostanie włączone. Upewnij się, że zestaw .NET SDK jest zainstalowany i znajduje się w ścieżce.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "Zestaw .NET SDK znajdujący się w ścieżce jest zbyt stary. Debugowanie platformy .NET nie zostanie włączone. Minimalna obsługiwana wersja to {0}.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "Rozszerzenie języka C# dla edytora Visual Studio Code jest niezgodne w przypadku {0} {1}z rozszerzeniami zdalnymi edytora VS Code. Aby zobaczyć dostępne obejścia, kliknij pozycję „{2}”.", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "Rozszerzenie C# dla edytora Visual Studio Code jest niezgodne w przypadku {0} {1}.", "The C# extension is still downloading packages. Please see progress in the output window below.": "Rozszerzenie języka C# nadal pobiera pakiety. Zobacz postęp w poniższym oknie danych wyjściowych.", diff --git a/l10n/bundle.l10n.pt-br.json b/l10n/bundle.l10n.pt-br.json index 97645eba2c..951cf2ec38 100644 --- a/l10n/bundle.l10n.pt-br.json +++ b/l10n/bundle.l10n.pt-br.json @@ -32,12 +32,12 @@ "Choose": "Escolher", "Choose and set default": "Escolher e definir o padrão", "Click {0}. This will copy all relevant issue information.": "Clique em {0}. Isso copiará todas as informações relevantes do problema.", - "Cohosting is on, client has no access to CSharp content": "A co-hospedagem está ativada, o cliente não tem acesso ao conteúdo do CSharp", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "A configuração \"{0}\" no launch.json não tem um argumento {1} com {2} para fins de listagem de processos remotos.", "Copy C#": "Copiar C#", "Copy Html": "Copiar Html", "Copy issue content again": "Copie o conteúdo do problema novamente", "Could not determine CSharp content": "Não foi possível determinar o conteúdo do CSharp", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "Não foi possível determinar o conteúdo html", "Could not find '{0}' in or above '{1}'.": "Não foi possível encontrar '{0}' dentro ou acima '{1}'.", "Could not find Razor Language Server executable '{0}' within directory": "Não foi possível encontrar o executável do Razor Language Server “{0}” no diretório", @@ -178,8 +178,8 @@ "Test run already in progress": "A execução do teste já está em andamento", "Text editor must be focused to fix all issues": "O editor de texto deve estar focado para corrigir todos os problemas", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "Não é recomendável usar o comando '{0}' quando a extensão C# Dev Kit está instalada. Deseja criar e depurar usando uma configuração dinâmica em vez disso?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "O SDK do .NET Core não pode ser localizado: {0}. A depuração do .NET Core não será habilitada. Certifique-se de que o SDK do .NET Core esteja instalado e no caminho.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "O SDK do .NET Core localizado no caminho é muito antigo. A depuração do .NET Core não será habilitada. A versão mínima com suporte é {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "O SDK do .NET não pode ser localizado: {0}. A depuração do .NET não será habilitada. Verifique se o SDK do .NET está instalado e no caminho.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "O SDK do .NET localizado no caminho é muito antigo. A depuração do .NET não será habilitada. A versão mínima com suporte é {0}.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "A extensão C# do Visual Studio Code é incompatível no {0} {1} com as Extensões VS Code Remotas. Para ver as soluções alternativas disponíveis, clique em “{2}”.", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "A extensão C# para Visual Studio Code é incompatível no {0} {1}.", "The C# extension is still downloading packages. Please see progress in the output window below.": "A extensão C# ainda está baixando pacotes. Veja o progresso na janela de saída abaixo.", diff --git a/l10n/bundle.l10n.ru.json b/l10n/bundle.l10n.ru.json index 21a1adf67d..e5551880f5 100644 --- a/l10n/bundle.l10n.ru.json +++ b/l10n/bundle.l10n.ru.json @@ -32,12 +32,12 @@ "Choose": "Выбрать", "Choose and set default": "Выберите и задайте значение по умолчанию", "Click {0}. This will copy all relevant issue information.": "Нажмите {0}. Вся необходимая информация о проблеме будет скопирована.", - "Cohosting is on, client has no access to CSharp content": "Совместное размещение включено, клиент не имеет доступа к содержимому CSharp", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "У конфигурации \"{0}\" в файле launch.json {1} нет аргумента с {2} перечисления удаленных процессов.", "Copy C#": "Копировать C#", "Copy Html": "Копировать HTML", "Copy issue content again": "Повторно копировать содержимое проблемы", "Could not determine CSharp content": "Не удалось определить содержимое CSharp", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "Не удалось определить содержимое HTML", "Could not find '{0}' in or above '{1}'.": "Не удалось найти \"{0}\" в \"{1}\" или выше.", "Could not find Razor Language Server executable '{0}' within directory": "Не удалось найти исполняемый файл языкового сервера Razor в каталоге \"{0}\"", @@ -178,8 +178,8 @@ "Test run already in progress": "Тестовый запуск уже выполняется", "Text editor must be focused to fix all issues": "Для устранения всех проблем текстовый редактор должен быть в фокусе", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "Команда \"{0}\" не рекомендуется к использованию при установленном расширении C# Dev Kit. Хотите вместо этого выполнить сборку и отладку с помощью динамической конфигурации?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "Пакет SDK .NET Core не удалось найти: {0}. Отладка .NET Core не будет включена. Убедитесь, что SDK .NET Core установлен и находится по данному пути.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "Пакет SDK .NET Core, расположенный по данному пути, слишком стар. Отладка .NET Core не будет включена. Минимальная поддерживаемая версия — {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "Не удалось найти пакет SDK .NET: {0}. Отладка .NET не будет включена. Убедитесь, что пакет SDK .NET установлен и находится по указанному пути.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "Пакет SDK .NET, расположенный по указанному пути, слишком старый. Отладка .NET не будет включена. Минимальная поддерживаемая версия: {0}.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "Расширение C# для Visual Studio Code несовместимо в {0} {1} с удаленными расширениями VS Code. Чтобы просмотреть доступные временные решения, нажмите \"{2}\".", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "Расширение C# для Visual Studio Code несовместимо в {0} {1}.", "The C# extension is still downloading packages. Please see progress in the output window below.": "Расширение C# все еще скачивает пакеты. См. ход выполнения в окне вывода ниже.", diff --git a/l10n/bundle.l10n.tr.json b/l10n/bundle.l10n.tr.json index d684cf52d6..5dd5ebf34d 100644 --- a/l10n/bundle.l10n.tr.json +++ b/l10n/bundle.l10n.tr.json @@ -32,12 +32,12 @@ "Choose": "Seç", "Choose and set default": "Varsayılanı seç ve ayarla", "Click {0}. This will copy all relevant issue information.": "{0} tıklayın. Bu işlem, ilgili tüm sorun bilgilerini kopyalar.", - "Cohosting is on, client has no access to CSharp content": "Ortak barındırma açık, istemcinin CSharp içeriğine erişimi yok.", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "launch.json dosyasındaki \"{0}\" yapılandırması uzaktan süreç listeleme için {2} ile {1} bağımsız değişkenine sahip değil.", "Copy C#": "Kopya C#", "Copy Html": "HTML'yi Kopyala", "Copy issue content again": "Sorun içeriğini yeniden kopyala", "Could not determine CSharp content": "CSharp içeriği belirlenemedi", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "Html içeriği belirlenemedi", "Could not find '{0}' in or above '{1}'.": "'{1}' içinde veya üzerinde '{0}' bulunamadı.", "Could not find Razor Language Server executable '{0}' within directory": "'{0}' Razor Dil Sunucusu yürütülebilir dosyası dizinde bulunamadı", @@ -178,8 +178,8 @@ "Test run already in progress": "Test çalıştırma zaten sürüyor", "Text editor must be focused to fix all issues": "Tüm sorunları gidermek için metin düzenleyicisine odaklanılacak", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "C# Geliştirme Seti uzantısı yüklüyken '{0}' komutunun kullanılması önerilmez. Bunun yerine dinamik bir yapılandırma kullanarak derlemek ve hata ayıklamak ister misiniz?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": ".NET Core SDK bulunamıyor: {0}. .NET Core hata ayıklaması etkinleştirilmez. .NET Core SDK’nın yüklü ve yolda olduğundan emin olun.", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "Yolda bulunan .NET Core SDK çok eski. .NET Core hata ayıklaması etkinleştirilmez. Desteklenen en düşük sürüm: {0}.", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": ".NET SDK bulunamıyor: {0}. .NET hata ayıklama etkinleştirilmeyecek. .NET SDK'nın kurulu olduğundan ve yolda bulunduğundan emin olun.", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "Yolda bulunan .NET SDK çok eski. .NET hata ayıklama etkinleştirilmeyecek. Desteklenen en düşük sürüm: {0}.", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "Visual Studio Code için C# uzantısı {0} {1} üzerinde VS Code Uzak Uzantıları ile uyumsuz. Kullanılabilir geçici çözümleri görmek için '{2}'e tıklayın.", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "Visual Studio Code için C# uzantısı {0} {1} üzerinde uyumsuz.", "The C# extension is still downloading packages. Please see progress in the output window below.": "C# uzantısı hala paketleri indiriyor. Lütfen aşağıdaki çıkış penceresinde ilerleme durumuna bakın.", diff --git a/l10n/bundle.l10n.zh-cn.json b/l10n/bundle.l10n.zh-cn.json index 5531913f76..a590d1a5f7 100644 --- a/l10n/bundle.l10n.zh-cn.json +++ b/l10n/bundle.l10n.zh-cn.json @@ -32,12 +32,12 @@ "Choose": "选择", "Choose and set default": "选择并设置默认值", "Click {0}. This will copy all relevant issue information.": "单击 {0}。这将复制所有相关问题信息。", - "Cohosting is on, client has no access to CSharp content": "共同托管已打开,客户端无权访问 CSharp 内容", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "launch.json 中的配置 \"{0}\" 没有具有远程进程列表 {2} 的 {1} 参数。", "Copy C#": "复制 C#", "Copy Html": "复制 HTML", "Copy issue content again": "再次复制问题内容", "Could not determine CSharp content": "无法确定 CSharp 内容", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "无法确定 Html 内容", "Could not find '{0}' in or above '{1}'.": "在“{0}”或更高版本中找不到“{1}”。", "Could not find Razor Language Server executable '{0}' within directory": "在目录中找不到 Razor 语言服务器可执行文件“{0}”", @@ -178,8 +178,8 @@ "Test run already in progress": "试运行已在进行中", "Text editor must be focused to fix all issues": "文本编辑器必须专注于解决所有问题", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "安装 C# 开发工具包扩展时,不建议使用“{0}”命令。是否要改用动态配置进行生成和调试?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "找不到 .NET Core SDK 的位置:{0}。将不会启用 .NET Core 调试。请确保已安装 .NET Core SDK 且该 SDK 位于路径上。", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "位于路径上的 .NET Core SDK 太旧。将不会启用 .NET Core 调试。支持的最低版本为 {0}。 ", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "找不到 .NET SDK 的位置: {0}。将不会启用 .NET 调试。请确保已安装 .NET SDK 且该 SDK 位于路径上。", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "位于路径上的 .NET SDK 太旧。将不会启用 .NET 调试。支持的最低版本为 {0}。", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "Visual Studio Code 的 C# 扩展在 {0} {1} 上与 VS Code 远程扩展不兼容。若要查看可用的解决方法,请单击“{2}”。", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "Visual Studio Code 的 C# 扩展与 {0} {1} 不兼容。", "The C# extension is still downloading packages. Please see progress in the output window below.": "C# 扩展仍在下载包。请在下面的输出窗口中查看进度。", diff --git a/l10n/bundle.l10n.zh-tw.json b/l10n/bundle.l10n.zh-tw.json index 6cc87593c7..2fbf87e63a 100644 --- a/l10n/bundle.l10n.zh-tw.json +++ b/l10n/bundle.l10n.zh-tw.json @@ -32,12 +32,12 @@ "Choose": "選擇", "Choose and set default": "選擇並設定預設值", "Click {0}. This will copy all relevant issue information.": "按一下 [{0}]。這會複製所有相關的問題資訊。", - "Cohosting is on, client has no access to CSharp content": "共同託管已開啟,用戶端無法存取 CSharp 內容", "Configuration \"{0}\" in launch.json does not have a {1} argument with {2} for remote process listing.": "launch.json 中的設定 \"{0}\" 沒有具有遠端處理序清單 {2} 的 {1} 引數。", "Copy C#": "複製 C#", "Copy Html": "複製 HTML", "Copy issue content again": "再次複製問題內容", "Could not determine CSharp content": "無法判斷 CSharp 內容", + "Could not determine CSharp content: {0}": "Could not determine CSharp content: {0}", "Could not determine Html content": "無法判斷 Html 內容", "Could not find '{0}' in or above '{1}'.": "'{1}' 中或以上找不到 '{0}'。", "Could not find Razor Language Server executable '{0}' within directory": "目錄中找不到 Razor 語言伺服器可執行檔 '{0}'", @@ -178,8 +178,8 @@ "Test run already in progress": "測試執行已在進行中", "Text editor must be focused to fix all issues": "必須聚焦於文字編輯器,才能修正全部問題", "The '{0}' command is not recommended to be used when C# Dev Kit extension is installed. Would you like build and debug using a dynamic configuration instead?": "安裝 C# 開發人員套件延伸模組時,不建議使用 '{0}' 命令。您要改用動態設定進行建置和偵錯嗎?", - "The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.": "找不到 .NET Core SDK: {0}。將無法啟用 .NET Core 偵錯。確定 .NET Core SDK 已安裝且位於路徑上。", - "The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.": "位於路徑上的 .NET Core SDK 太舊。將無法啟用 .NET Core 偵錯。最低的支援版本為 {0}。", + "The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.": "找不到 .NET SDK: {0}。將無法啟用 .NET 偵錯。確定 .NET SDK 已安裝且位於路徑上。", + "The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.": "位於路徑上的 .NET SDK 太舊。將無法啟用 .NET 偵錯。最低的支援版本為 {0}。", "The C# extension for Visual Studio Code is incompatible on {0} {1} with the VS Code Remote Extensions. To see avaliable workarounds, click on '{2}'.": "適用於 Visual Studio Code 的 C# 延伸模組在 {0} {1} 上與 VS Code 遠端延伸模組不相容。若要查看可用的因應措施,請按一下 '{2}'。", "The C# extension for Visual Studio Code is incompatible on {0} {1}.": "適用於 Visual Studio Code 的 C# 延伸模組在 {0} {1} 上不相容。", "The C# extension is still downloading packages. Please see progress in the output window below.": "C# 延伸模組仍在下載套件。請參閱下方輸出視窗中的進度。", diff --git a/package.json b/package.json index 00865491dd..1228213b7d 100644 --- a/package.json +++ b/package.json @@ -40,9 +40,9 @@ "workspace" ], "defaults": { - "roslyn": "5.0.0-2.25458.10", + "roslyn": "5.0.0-2.25472.11", "omniSharp": "1.39.14", - "razor": "10.0.0-preview.25464.2", + "razor": "10.0.0-preview.25472.6", "razorOmnisharp": "7.0.0-preview.23363.1", "xamlTools": "17.14.36106.43" }, @@ -1896,13 +1896,13 @@ "command": "extension.showRazorCSharpWindow", "title": "%command.extension.showRazorCSharpWindow%", "category": "Razor", - "enablement": "isWorkspaceTrusted && razor.mode == 'lsp'" + "enablement": "isWorkspaceTrusted" }, { "command": "extension.showRazorHtmlWindow", "title": "%command.extension.showRazorHtmlWindow%", "category": "Razor", - "enablement": "isWorkspaceTrusted && razor.mode == 'lsp'" + "enablement": "isWorkspaceTrusted" }, { "command": "razor.reportIssue", @@ -5627,8 +5627,9 @@ "*.json": "${capture}.Development.json", "*.cshtml": "${capture}.cshtml.cs,${capture}.cshtml.css", "*.razor": "${capture}.razor.cs,${capture}.razor.css", + "*.resx": "${capture}.Designer.cs", "*.xaml": "${capture}.xaml.cs" } } } -} \ No newline at end of file +} diff --git a/src/coreclrDebug/util.ts b/src/coreclrDebug/util.ts index 9135e8ea32..9dd9b67213 100644 --- a/src/coreclrDebug/util.ts +++ b/src/coreclrDebug/util.ts @@ -71,7 +71,7 @@ export class CoreClrDebugUtil { if (semver.lt(dotnetInfo.Version, MINIMUM_SUPPORTED_DOTNET_CLI)) { throw new Error( vscode.l10n.t( - `The .NET Core SDK located on the path is too old. .NET Core debugging will not be enabled. The minimum supported version is {0}.`, + `The .NET SDK located on the path is too old. .NET debugging will not be enabled. The minimum supported version is {0}.`, MINIMUM_SUPPORTED_DOTNET_CLI ) ); @@ -80,7 +80,7 @@ export class CoreClrDebugUtil { const message = error instanceof Error ? error.message : `${error}`; throw new Error( vscode.l10n.t( - `The .NET Core SDK cannot be located: {0}. .NET Core debugging will not be enabled. Make sure the .NET Core SDK is installed and is on the path.`, + `The .NET SDK cannot be located: {0}. .NET debugging will not be enabled. Make sure the .NET SDK is installed and is on the path.`, message ) ); diff --git a/src/lsptoolshost/projectContext/projectContextService.ts b/src/lsptoolshost/projectContext/projectContextService.ts index 33e120f186..621e67da15 100644 --- a/src/lsptoolshost/projectContext/projectContextService.ts +++ b/src/lsptoolshost/projectContext/projectContextService.ts @@ -9,6 +9,7 @@ import { VSGetProjectContextsRequest, VSProjectContext, VSProjectContextList } f import { TextDocumentIdentifier } from 'vscode-languageserver-protocol'; import { UriConverter } from '../utils/uriConverter'; import { LanguageServerEvents, ServerState } from '../server/languageServerEvents'; +import { razorOptions } from '../../shared/options'; export interface ProjectContextChangeEvent { languageId: string; @@ -53,7 +54,14 @@ export class ProjectContextService { const textEditor = vscode.window.activeTextEditor; const languageId = textEditor?.document?.languageId; if (languageId !== 'csharp') { - return; + if (languageId !== 'aspnetcorerazor') { + return; + } + + // We only support Razor when cohosting is enabled. + if (!razorOptions.cohostingEnabled) { + return; + } } // If we have an open request, cancel it. diff --git a/src/lsptoolshost/projectContext/projectContextStatus.ts b/src/lsptoolshost/projectContext/projectContextStatus.ts index 4188f3169f..bcdac68f0d 100644 --- a/src/lsptoolshost/projectContext/projectContextStatus.ts +++ b/src/lsptoolshost/projectContext/projectContextStatus.ts @@ -5,17 +5,17 @@ import * as vscode from 'vscode'; import { RoslynLanguageServer } from '../server/roslynLanguageServer'; -import { languageServerOptions } from '../../shared/options'; +import { languageServerOptions, razorOptions } from '../../shared/options'; import { RazorLanguage } from '../../razor/src/razorLanguage'; import { ServerState } from '../server/languageServerEvents'; import { combineDocumentSelectors } from '../../shared/utils/combineDocumentSelectors'; export class ProjectContextStatus { static createStatusItem(context: vscode.ExtensionContext, languageServer: RoslynLanguageServer) { - const documentSelector = combineDocumentSelectors( - languageServerOptions.documentSelector, - RazorLanguage.documentSelector - ); + // We only support Razor when cohosting is enabled. + const documentSelector = razorOptions.cohostingEnabled + ? combineDocumentSelectors(languageServerOptions.documentSelector, RazorLanguage.documentSelector) + : combineDocumentSelectors(languageServerOptions.documentSelector); const projectContextService = languageServer._projectContextService; const item = vscode.languages.createLanguageStatusItem('csharp.projectContextStatus', documentSelector); diff --git a/src/lsptoolshost/razor/documentContentsRequest.ts b/src/lsptoolshost/razor/documentContentsRequest.ts new file mode 100644 index 0000000000..4817eea418 --- /dev/null +++ b/src/lsptoolshost/razor/documentContentsRequest.ts @@ -0,0 +1,11 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +import { TextDocumentIdentifier } from 'vscode-languageserver-types'; +import { GeneratedDocumentKind } from './generatedDocumentKind'; + +export class DocumentContentsRequest { + constructor(public readonly textDocument: TextDocumentIdentifier, public readonly kind: GeneratedDocumentKind) {} +} diff --git a/src/lsptoolshost/razor/generatedDocumentKind.ts b/src/lsptoolshost/razor/generatedDocumentKind.ts new file mode 100644 index 0000000000..9ef624869b --- /dev/null +++ b/src/lsptoolshost/razor/generatedDocumentKind.ts @@ -0,0 +1,10 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +export enum GeneratedDocumentKind { + CSharp, + Html, + Formatting, +} diff --git a/src/lsptoolshost/razor/razorEndpoints.ts b/src/lsptoolshost/razor/razorEndpoints.ts index 125528dbcf..ecd5a76646 100644 --- a/src/lsptoolshost/razor/razorEndpoints.ts +++ b/src/lsptoolshost/razor/razorEndpoints.ts @@ -53,6 +53,7 @@ import { ReportIssueCommand } from '../../razor/src/diagnostics/reportIssueComma import { HtmlDocument } from './htmlDocument'; import { HtmlForwardedRequest } from './htmlForwardedRequest'; import { BlazorDebugConfigurationProvider } from '../../razor/src/blazorDebug/blazorDebugConfigurationProvider'; +import { ShowGeneratedDocumentCommand } from './showGeneratedDocumentCommand'; export function registerRazorEndpoints( context: vscode.ExtensionContext, @@ -70,6 +71,7 @@ export function registerRazorEndpoints( registerCohostingEndpoints(); context.subscriptions.push(BlazorDebugConfigurationProvider.register(razorLogger, vscode)); + context.subscriptions.push(ShowGeneratedDocumentCommand.register(roslynLanguageServer)); } else { vscode.commands.executeCommand('setContext', 'razor.mode', 'lsp'); registerNonCohostingEndpoints(); @@ -82,7 +84,13 @@ export function registerRazorEndpoints( // function registerCohostingEndpoints() { const documentManager = new HtmlDocumentManager(platformInfo, roslynLanguageServer, razorLogger); - const reportIssueCommand = new ReportIssueCommand(vscode, undefined, documentManager, razorLogger); + const reportIssueCommand = new ReportIssueCommand( + vscode, + undefined, + documentManager, + roslynLanguageServer, + razorLogger + ); context.subscriptions.push(documentManager.register()); context.subscriptions.push(reportIssueCommand.register()); diff --git a/src/lsptoolshost/razor/showGeneratedDocumentCommand.ts b/src/lsptoolshost/razor/showGeneratedDocumentCommand.ts new file mode 100644 index 0000000000..f6e93d3033 --- /dev/null +++ b/src/lsptoolshost/razor/showGeneratedDocumentCommand.ts @@ -0,0 +1,91 @@ +/*--------------------------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for license information. + *--------------------------------------------------------------------------------------------*/ + +import * as vscode from 'vscode'; +import { RazorLanguage } from '../../razor/src/razorLanguage'; +import { getUriPath } from '../../razor/src/uriPaths'; +import { RoslynLanguageServer } from '../server/roslynLanguageServer'; +import { DocumentContentsRequest } from './documentContentsRequest'; +import { CancellationToken, RequestType, TextDocumentIdentifier } from 'vscode-languageserver-protocol'; +import { UriConverter } from '../utils/uriConverter'; +import { GeneratedDocumentKind } from './generatedDocumentKind'; + +export class ShowGeneratedDocumentCommand { + private static requestType = new RequestType( + 'razor/generatedDocumentContents' + ); + + public static register(roslynLanguageServer: RoslynLanguageServer) { + return vscode.Disposable.from( + vscode.commands.registerCommand('extension.showRazorCSharpWindow', async () => + this.show(roslynLanguageServer, GeneratedDocumentKind.CSharp, '.g.cs') + ), + vscode.commands.registerCommand('extension.showRazorHtmlWindow', async () => + this.show(roslynLanguageServer, GeneratedDocumentKind.Html, '.g.html') + ) + ); + } + + private static async show( + roslynLanguageServer: RoslynLanguageServer, + kind: GeneratedDocumentKind, + extension: string + ) { + const uri = await this.getActiveDocumentUri(); + if (!uri) { + return; + } + + const title = `${getUriPath(uri)}${extension}`; + const panel = vscode.window.createWebviewPanel('razorGeneratedDocument', title, vscode.ViewColumn.Two, { + enableScripts: false, + // Disallow any remote sources + localResourceRoots: [], + }); + + const content = await this.getGeneratedDocumentContent(uri, kind, roslynLanguageServer); + + panel.webview.html = await this.getWebViewContent(content, title); + } + + private static async getActiveDocumentUri() { + if (!vscode.window.activeTextEditor) { + return null; + } + + if (vscode.window.activeTextEditor.document.languageId !== RazorLanguage.id) { + return null; + } + + return vscode.window.activeTextEditor.document.uri; + } + + public static async getGeneratedDocumentContent( + uri: vscode.Uri, + kind: GeneratedDocumentKind, + roslynLanguageServer: RoslynLanguageServer + ) { + return roslynLanguageServer.sendRequest( + ShowGeneratedDocumentCommand.requestType, + new DocumentContentsRequest(TextDocumentIdentifier.create(UriConverter.serialize(uri)), kind), + CancellationToken.None + ); + } + + private static async getWebViewContent(content: string, title: string) { + return ` + + + + + + ${title} + + +
${content.replace(/
+
+`;
+    }
+}
diff --git a/src/razor/src/diagnostics/reportIssueCommand.ts b/src/razor/src/diagnostics/reportIssueCommand.ts
index b4170eb12a..1a8a0c61a7 100644
--- a/src/razor/src/diagnostics/reportIssueCommand.ts
+++ b/src/razor/src/diagnostics/reportIssueCommand.ts
@@ -4,6 +4,7 @@
  *--------------------------------------------------------------------------------------------*/
 
 import { HtmlDocumentManager } from '../../../lsptoolshost/razor/htmlDocumentManager';
+import { RoslynLanguageServer } from '../../../lsptoolshost/server/roslynLanguageServer';
 import { RazorDocumentManager } from '../document/razorDocumentManager';
 import { RazorLogger } from '../razorLogger';
 import { api } from '../vscodeAdapter';
@@ -21,10 +22,16 @@ export class ReportIssueCommand {
         private readonly vscodeApi: api,
         documentManager: RazorDocumentManager | undefined,
         cohostingDocumentManager: HtmlDocumentManager | undefined,
+        roslynLanguageServer: RoslynLanguageServer | undefined,
         logger: RazorLogger
     ) {
         this.dataCollectorFactory = new ReportIssueDataCollectorFactory(logger);
-        this.issueCreator = new ReportIssueCreator(this.vscodeApi, documentManager, cohostingDocumentManager);
+        this.issueCreator = new ReportIssueCreator(
+            this.vscodeApi,
+            documentManager,
+            cohostingDocumentManager,
+            roslynLanguageServer
+        );
         this.issuePanel = new ReportIssuePanel(this.dataCollectorFactory, this.issueCreator, logger);
     }
 
diff --git a/src/razor/src/diagnostics/reportIssueCreator.ts b/src/razor/src/diagnostics/reportIssueCreator.ts
index 356d0a9b62..5a217c1e66 100644
--- a/src/razor/src/diagnostics/reportIssueCreator.ts
+++ b/src/razor/src/diagnostics/reportIssueCreator.ts
@@ -12,12 +12,16 @@ import { IRazorDocumentManager } from '../document/IRazorDocumentManager';
 import { razorExtensionId } from '../razorExtensionId';
 import { IReportIssueDataCollectionResult } from './IReportIssueDataCollectionResult';
 import { HtmlDocumentManager } from '../../../lsptoolshost/razor/htmlDocumentManager';
+import { ShowGeneratedDocumentCommand } from '../../../lsptoolshost/razor/showGeneratedDocumentCommand';
+import { GeneratedDocumentKind } from '../../../lsptoolshost/razor/generatedDocumentKind';
+import { RoslynLanguageServer } from '../../../lsptoolshost/server/roslynLanguageServer';
 
 export class ReportIssueCreator {
     constructor(
         private readonly vscodeApi: vscodeAdapter.api,
         private readonly documentManager?: IRazorDocumentManager,
-        private readonly cohostingDocumentManager?: HtmlDocumentManager
+        private readonly cohostingDocumentManager?: HtmlDocumentManager,
+        private readonly roslynLanguageServer?: RoslynLanguageServer
     ) {}
 
     public async create(collectionResult: IReportIssueDataCollectionResult) {
@@ -37,7 +41,15 @@ export class ReportIssueCreator {
                 csharpContent = await this.getProjectedCSharp(razorDocument);
                 htmlContent = await this.getProjectedHtml(razorDocument);
             } else if (this.cohostingDocumentManager) {
-                csharpContent = vscode.l10n.t('Cohosting is on, client has no access to CSharp content');
+                try {
+                    csharpContent = await ShowGeneratedDocumentCommand.getGeneratedDocumentContent(
+                        collectionResult.document.uri,
+                        GeneratedDocumentKind.CSharp,
+                        this.roslynLanguageServer!
+                    );
+                } catch (e: any) {
+                    csharpContent = vscode.l10n.t('Could not determine CSharp content: {0}', e.toString());
+                }
 
                 const htmlDocument = await this.cohostingDocumentManager.getDocument(collectionResult.document.uri);
                 if (htmlDocument) {
diff --git a/src/razor/src/extension.ts b/src/razor/src/extension.ts
index 1374ac4bf8..8fdac6c67b 100644
--- a/src/razor/src/extension.ts
+++ b/src/razor/src/extension.ts
@@ -139,7 +139,7 @@ export async function activate(
         const csharpFeature = new RazorCSharpFeature(documentManager, eventEmitterFactory, logger);
         const htmlFeature = new RazorHtmlFeature(documentManager, languageServiceClient, eventEmitterFactory, logger);
         const localRegistrations: vscode.Disposable[] = [];
-        const reportIssueCommand = new ReportIssueCommand(vscodeType, documentManager, undefined, logger);
+        const reportIssueCommand = new ReportIssueCommand(vscodeType, documentManager, undefined, undefined, logger);
         const razorCodeActionRunner = new RazorCodeActionRunner(languageServerClient, logger);
         const codeActionsHandler = new CodeActionsHandler(
             documentManager,
diff --git a/version.json b/version.json
index 5b88c6830c..5e65a4288e 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.92",
+    "version": "2.93",
     "publicReleaseRefSpec": [
         "^refs/heads/release$",
         "^refs/heads/prerelease$",