Skip to content

Commit 60202f9

Browse files
authored
Merge pull request #7356 from tmat/ImplementTypeOptionMapping
Map dotnet.implementType options to their new names
2 parents 3f41545 + 939df9f commit 60202f9

19 files changed

+178
-161
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)
55

66
# Latest
7+
* Update Roslyn to 4.12.0-1.24366.6 (PR: [#7326](https://github.com/dotnet/vscode-csharp/pull/7326))
8+
* Renamed settings (PR: [#7356](https://github.com/dotnet/vscode-csharp/pull/7356))
9+
* `dotnet.implementType.insertionBehavior` to `dotnet.typeMembers.memberInsertionLocation`
10+
* `dotnet.implementType.propertyGenerationBehavior` to `dotnet.typeMembers.propertyGenerationBehavior`
711

812
# 2.39.x
913
* Add language status bar item displaying project context for open files (PR: [#7321](https://github.com/dotnet/vscode-csharp/pull/7321), PR: [#7333](https://github.com/dotnet/vscode-csharp/pull/7333))
@@ -42,7 +46,6 @@
4246
* Fixed issue with Exception type related to https://github.com/microsoft/vscode-dotnettools/issues/1247
4347
* Fixed Hot Reload not working on some Android device models: https://github.com/microsoft/vscode-dotnettools/issues/1241
4448

45-
4649
# 2.38.16
4750
* Start localizing additional strings (PR: [#7305](https://github.com/dotnet/vscode-csharp/pull/7305))
4851
* Fix issue launching Razor server on macOS (PR: [#7300](https://github.com/dotnet/vscode-csharp/pull/7300))

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
},
3939
"defaults": {
40-
"roslyn": "4.12.0-1.24359.11",
40+
"roslyn": "4.12.0-1.24366.6",
4141
"omniSharp": "1.39.11",
4242
"razor": "9.0.0-preview.24365.1",
4343
"razorOmnisharp": "7.0.0-preview.23363.1",
@@ -732,32 +732,32 @@
732732
"title": "Text Editor",
733733
"order": 1,
734734
"properties": {
735-
"dotnet.implementType.insertionBehavior": {
735+
"dotnet.typeMembers.memberInsertionLocation": {
736736
"type": "string",
737737
"enum": [
738738
"withOtherMembersOfTheSameKind",
739739
"atTheEnd"
740740
],
741741
"default": "withOtherMembersOfTheSameKind",
742742
"enumDescriptions": [
743-
"%configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind%",
744-
"%configuration.dotnet.implementType.insertionBehavior.atTheEnd%"
743+
"%configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind%",
744+
"%configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd%"
745745
],
746-
"description": "%configuration.dotnet.implementType.insertionBehavior%",
746+
"description": "%configuration.dotnet.typeMembers.memberInsertionLocation%",
747747
"order": 10
748748
},
749-
"dotnet.implementType.propertyGenerationBehavior": {
749+
"dotnet.typeMembers.propertyGenerationBehavior": {
750750
"type": "string",
751751
"enum": [
752752
"preferThrowingProperties",
753753
"preferAutoProperties"
754754
],
755755
"default": "preferThrowingProperties",
756756
"enumDescriptions": [
757-
"%configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties%",
758-
"%configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties%"
757+
"%configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties%",
758+
"%configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties%"
759759
],
760-
"description": "%configuration.dotnet.implementType.propertyGenerationBehavior%",
760+
"description": "%configuration.dotnet.typeMembers.propertyGenerationBehavior%",
761761
"order": 10
762762
},
763763
"dotnet.codeLens.enableReferencesCodeLens": {

package.nls.cs.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
"configuration.dotnet.enableXamlTools": "Povolí nástroje XAML při použití sady C# Dev Kit",
4747
"configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Zvýrazněte související komponenty JSON pod kurzorem.",
4848
"configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Zvýraznit související komponenty regulárního výrazu pod kurzorem.",
49-
"configuration.dotnet.implementType.insertionBehavior": "Umístění vložení vlastností, událostí a metod při implementaci rozhraní nebo abstraktní třídy.",
50-
"configuration.dotnet.implementType.insertionBehavior.atTheEnd": "Umístit je na konec.",
51-
"configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind": "Umístěte je s ostatními členy stejného druhu.",
52-
"configuration.dotnet.implementType.propertyGenerationBehavior": "Chování generování vlastností při implementaci rozhraní nebo abstraktní třídy.",
53-
"configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties": "Upřednostňovat automatické vlastnosti.",
54-
"configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties": "Upřednostňovat vyvolávání vlastností.",
49+
"configuration.dotnet.typeMembers.memberInsertionLocation": "Umístění vložení vlastností, událostí a metod při implementaci rozhraní nebo abstraktní třídy.",
50+
"configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd": "Umístit je na konec.",
51+
"configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind": "Umístěte je s ostatními členy stejného druhu.",
52+
"configuration.dotnet.typeMembers.propertyGenerationBehavior": "Chování generování vlastností při implementaci rozhraní nebo abstraktní třídy.",
53+
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties": "Upřednostňovat automatické vlastnosti.",
54+
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties": "Upřednostňovat vyvolávání vlastností.",
5555
"configuration.dotnet.inlayHints.enableInlayHintsForLiteralParameters": "Zobrazit nápovědy pro literály",
5656
"configuration.dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": "Zobrazit nápovědy pro výrazy new",
5757
"configuration.dotnet.inlayHints.enableInlayHintsForOtherParameters": "Zobrazit nápovědy pro všechno ostatní",
@@ -250,4 +250,4 @@
250250
"generateOptionsSchema.targetOutputLogPath.description": "Při nastavení této možnosti se text, který cílová aplikace zapisuje do stdout a stderr (např. Console.WriteLine), uloží do zadaného souboru. Tato možnost se bude ignorovat, pokud je konzola nastavená na jinou hodnotu než internalConsole. Příklad: ${workspaceFolder}/out.txt",
251251
"generateOptionsSchema.type.markdownDescription": "Typ kódu, který se má ladit. Může to být buď coreclr pro ladění .NET Core, nebo cclr pro Desktop .NET Framework. clr funguje pouze v systému Windows, protože Desktop Framework je určen pouze pro Windows.",
252252
"viewsWelcome.debug.contents": "[Generování prostředků jazyka C# pro sestavení a ladění](command:dotnet.generateAssets)\r\n\r\nDalší informace o souboru launch.json najdete v tématu [Konfigurace souboru launch.json pro ladění v jazyce C#](https://aka.ms/VSCode-CS-LaunchJson)."
253-
}
253+
}

package.nls.de.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
"configuration.dotnet.enableXamlTools": "Aktiviert XAML-Tools bei Verwendung des C#-Dev Kit",
4747
"configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Zugehörige JSON-Komponenten unter dem Cursor markieren.",
4848
"configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Zugehörige Komponenten regulärer Ausdrücke unter dem Cursor markieren.",
49-
"configuration.dotnet.implementType.insertionBehavior": "Die Einfügeposition von Eigenschaften, Ereignissen und Methoden beim Implementieren der Schnittstelle oder abstrakten Klasse.",
50-
"configuration.dotnet.implementType.insertionBehavior.atTheEnd": "Platzieren Sie sie am Ende.",
51-
"configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind": "Platzieren Sie sie mit anderen Mitgliedern derselben Art.",
52-
"configuration.dotnet.implementType.propertyGenerationBehavior": "Generierungsverhalten von Eigenschaften beim Implementieren einer Schnittstelle oder einer abstrakten Klasse.",
53-
"configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties": "Automatische Eigenschaften bevorzugen.",
54-
"configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties": "Ausgelöste Eigenschaften bevorzugen.",
49+
"configuration.dotnet.typeMembers.memberInsertionLocation": "Die Einfügeposition von Eigenschaften, Ereignissen und Methoden beim Implementieren der Schnittstelle oder abstrakten Klasse.",
50+
"configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd": "Platzieren Sie sie am Ende.",
51+
"configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind": "Platzieren Sie sie mit anderen Mitgliedern derselben Art.",
52+
"configuration.dotnet.typeMembers.propertyGenerationBehavior": "Generierungsverhalten von Eigenschaften beim Implementieren einer Schnittstelle oder einer abstrakten Klasse.",
53+
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties": "Automatische Eigenschaften bevorzugen.",
54+
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties": "Ausgelöste Eigenschaften bevorzugen.",
5555
"configuration.dotnet.inlayHints.enableInlayHintsForLiteralParameters": "Hinweise für Literale anzeigen",
5656
"configuration.dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": "Hinweise für new-Ausdrücke anzeigen",
5757
"configuration.dotnet.inlayHints.enableInlayHintsForOtherParameters": "Hinweise für alles andere anzeigen",
@@ -250,4 +250,4 @@
250250
"generateOptionsSchema.targetOutputLogPath.description": "Bei Festlegung wird Text, den die Zielanwendung in \"stdout\" und \"stderr\" (z. B. Console.WriteLine) schreibt, in der angegebenen Datei gespeichert. Diese Option wird ignoriert, wenn die Konsole auf einen anderen Wert als internalConsole festgelegt ist. Beispiel: \"${workspaceFolder}/out.txt\"",
251251
"generateOptionsSchema.type.markdownDescription": "Geben Sie den Typ des zu debuggenden Codes ein. Dies kann `coreclr` für das .NET Core-Debugging oder `clr` für Desktop .NET Framework sein. `clr` funktioniert nur für Windows, da das Desktopframework nur Windows ist.",
252252
"viewsWelcome.debug.contents": "[C#-Objekte für Build und Debuggen generieren](command:dotnet.generateAssets)\r\n\r\nWeitere Informationen zu launch.json finden Sie unter [Konfigurieren von launch.json für das C#-Debuggen](https://aka.ms/VSCode-CS-LaunchJson)."
253-
}
253+
}

package.nls.es.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
"configuration.dotnet.enableXamlTools": "Habilita las herramientas XAML al usar el Kit de desarrollo de C#",
4747
"configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Resaltar los componentes JSON relacionados bajo el cursor.",
4848
"configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Resaltar los componentes de expresiones regulares relacionados bajo el cursor.",
49-
"configuration.dotnet.implementType.insertionBehavior": "Ubicación de inserción de propiedades, eventos y métodos cuando se implementa una interfaz o una clase abstracta.",
50-
"configuration.dotnet.implementType.insertionBehavior.atTheEnd": "Colóquelos al final.",
51-
"configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind": "Colóquelos con otros miembros del mismo tipo.",
52-
"configuration.dotnet.implementType.propertyGenerationBehavior": "Comportamiento de generación de propiedades al implementar una interfaz o una clase abstracta.",
53-
"configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties": "Preferir propiedades automáticas.",
54-
"configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties": "Preferir propiedades de lanzamiento.",
49+
"configuration.dotnet.typeMembers.memberInsertionLocation": "Ubicación de inserción de propiedades, eventos y métodos cuando se implementa una interfaz o una clase abstracta.",
50+
"configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd": "Colóquelos al final.",
51+
"configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind": "Colóquelos con otros miembros del mismo tipo.",
52+
"configuration.dotnet.typeMembers.propertyGenerationBehavior": "Comportamiento de generación de propiedades al implementar una interfaz o una clase abstracta.",
53+
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties": "Preferir propiedades automáticas.",
54+
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties": "Preferir propiedades de lanzamiento.",
5555
"configuration.dotnet.inlayHints.enableInlayHintsForLiteralParameters": "Mostrar sugerencias para los literales",
5656
"configuration.dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": "Mostrar sugerencias para las expresiones \"new\"",
5757
"configuration.dotnet.inlayHints.enableInlayHintsForOtherParameters": "Mostrar sugerencias para todo lo demás",
@@ -250,4 +250,4 @@
250250
"generateOptionsSchema.targetOutputLogPath.description": "Cuando se establece, el texto que la aplicación de destino escribe en stdout y stderr (por ejemplo, Console.WriteLine) se guardará en el archivo especificado. Esta opción se omite si la consola se establece en un valor distinto de internalConsole. Por ejemplo, \"${workspaceFolder}/out.txt\"",
251251
"generateOptionsSchema.type.markdownDescription": "Escriba el tipo de código que se va a depurar. Puede ser \"coreclr\" para la depuración de .NET Core o \"clr\" para desktop .NET Framework. \"clr\" solo funciona en Windows, ya que el marco de trabajo de escritorio es solo de Windows.",
252252
"viewsWelcome.debug.contents": "[Generar recursos de C# para compilación y depuración](command:dotnet.generateAssets)\r\n\r\nPara obtener más información sobre launch.json, consulte [Configuración de launch.json para la depuración de C#](https://aka.ms/VSCode-CS-LaunchJson)."
253-
}
253+
}

package.nls.fr.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
"configuration.dotnet.enableXamlTools": "Active les outils XAML lors de l’utilisation du Kit de développement C#",
4747
"configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Mettez en surbrillance les composants JSON associés sous le curseur.",
4848
"configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Mettre en surbrillance les composants d’expression régulière associés sous le curseur.",
49-
"configuration.dotnet.implementType.insertionBehavior": "Emplacement d’insertion des propriétés, des événements et des méthodes lors de l’implémentation d’une interface ou d’une classe abstraite.",
50-
"configuration.dotnet.implementType.insertionBehavior.atTheEnd": "Placez-les à la fin.",
51-
"configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind": "Placez-les avec d’autres membres du même type.",
52-
"configuration.dotnet.implementType.propertyGenerationBehavior": "Comportement de génération des propriétés lors de l’implémentation d’une interface ou d’une classe abstraite.",
53-
"configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties": "Préférer les propriétés automatiques.",
54-
"configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties": "Préférer les propriétés de levée.",
49+
"configuration.dotnet.typeMembers.memberInsertionLocation": "Emplacement d’insertion des propriétés, des événements et des méthodes lors de l’implémentation d’une interface ou d’une classe abstraite.",
50+
"configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd": "Placez-les à la fin.",
51+
"configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind": "Placez-les avec d’autres membres du même type.",
52+
"configuration.dotnet.typeMembers.propertyGenerationBehavior": "Comportement de génération des propriétés lors de l’implémentation d’une interface ou d’une classe abstraite.",
53+
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties": "Préférer les propriétés automatiques.",
54+
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties": "Préférer les propriétés de levée.",
5555
"configuration.dotnet.inlayHints.enableInlayHintsForLiteralParameters": "Afficher les indicateurs pour les littéraux",
5656
"configuration.dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": "Afficher les indicateurs pour les expressions 'new'",
5757
"configuration.dotnet.inlayHints.enableInlayHintsForOtherParameters": "Afficher les indicateurs pour tout le reste",
@@ -250,4 +250,4 @@
250250
"generateOptionsSchema.targetOutputLogPath.description": "Lorsqu’il est défini, le texte écrit par l’application cible dans stdout et stderr (par exemple, Console.WriteLine) est enregistré dans le fichier spécifié. Cette option est ignorée si la console a une valeur autre que internalConsole. Exemple : « ${workspaceFolder}/out.txt »",
251251
"generateOptionsSchema.type.markdownDescription": "Type de code à déboguer. Peut être soit « coreclr » pour le débogage .NET Core, soit « clr » pour Desktop .NET Framework. `clr` ne fonctionne que sous Windows car le framework Desktop est uniquement Windows.",
252252
"viewsWelcome.debug.contents": "[Générer des ressources C# pour la génération et le débogage](command:dotnet.generateAssets)\r\n\r\nPour en savoir plus sur launch.json, consultez [Configuration de launch.json pour le débogage C#](https://aka.ms/VSCode-CS-LaunchJson)."
253-
}
253+
}

0 commit comments

Comments
 (0)