Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)

# 2.121.x

* 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))

# 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))
Expand Down
62 changes: 26 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"defaults": {
"roslyn": "5.4.0-2.26062.9",
"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"
},
Expand Down Expand Up @@ -1527,31 +1527,42 @@
"tags": [
"preview"
]
}
}
},
{
"title": "Razor",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The diff doesn't look good, but these three settings were the last ones in the OmniSharp group, so I just made them their own group, moved it above OmniSharp, and then replaced the word "omnisharp" with "razor". Tested and it all looks right on my machine, and the setting values are still read correctly etc.

"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",
Expand Down Expand Up @@ -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%"
}
}
}
Expand Down
10 changes: 3 additions & 7 deletions package.nls.cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@
"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.razor.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.razor.razor.format.attributeIndentStyle": "Určuje styl odsazení pro atributy HTML a značek komponent v souborech Razor.",
"configuration.razor.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.",
Expand All @@ -129,10 +129,6 @@
"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.",
Comment on lines -132 to -135
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Theses were old, from the old Razor server, so I just cleaned them up

"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ů.",
Expand Down
10 changes: 3 additions & 7 deletions package.nls.de.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@
"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.razor.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.razor.razor.format.attributeIndentStyle": "Legt den Einrückungsstil für HTML- und Komponenten-Tag-Attribute in Razor-Dateien fest.",
"configuration.razor.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.",
Expand All @@ -129,10 +129,6 @@
"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.",
"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.",
Expand Down
10 changes: 3 additions & 7 deletions package.nls.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@
"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.razor.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.razor.razor.format.attributeIndentStyle": "Especifica el estilo de sangría de los atributos html y de etiqueta de componente en los archivos de Razor.",
"configuration.razor.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.",
Expand All @@ -129,10 +129,6 @@
"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.",
"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.",
Expand Down
Loading