Skip to content

Commit

Permalink
Merge pull request #7356 from tmat/ImplementTypeOptionMapping
Browse files Browse the repository at this point in the history
Map dotnet.implementType options to their new names
  • Loading branch information
tmat authored Jul 17, 2024
2 parents 3f41545 + 939df9f commit 60202f9
Show file tree
Hide file tree
Showing 19 changed files with 178 additions and 161 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
- Debug from .csproj and .sln [#5876](https://github.com/dotnet/vscode-csharp/issues/5876)

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

# 2.39.x
* 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))
Expand Down Expand Up @@ -42,7 +46,6 @@
* Fixed issue with Exception type related to https://github.com/microsoft/vscode-dotnettools/issues/1247
* Fixed Hot Reload not working on some Android device models: https://github.com/microsoft/vscode-dotnettools/issues/1241


# 2.38.16
* Start localizing additional strings (PR: [#7305](https://github.com/dotnet/vscode-csharp/pull/7305))
* Fix issue launching Razor server on macOS (PR: [#7300](https://github.com/dotnet/vscode-csharp/pull/7300))
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}
},
"defaults": {
"roslyn": "4.12.0-1.24359.11",
"roslyn": "4.12.0-1.24366.6",
"omniSharp": "1.39.11",
"razor": "9.0.0-preview.24365.1",
"razorOmnisharp": "7.0.0-preview.23363.1",
Expand Down Expand Up @@ -732,32 +732,32 @@
"title": "Text Editor",
"order": 1,
"properties": {
"dotnet.implementType.insertionBehavior": {
"dotnet.typeMembers.memberInsertionLocation": {
"type": "string",
"enum": [
"withOtherMembersOfTheSameKind",
"atTheEnd"
],
"default": "withOtherMembersOfTheSameKind",
"enumDescriptions": [
"%configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind%",
"%configuration.dotnet.implementType.insertionBehavior.atTheEnd%"
"%configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind%",
"%configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd%"
],
"description": "%configuration.dotnet.implementType.insertionBehavior%",
"description": "%configuration.dotnet.typeMembers.memberInsertionLocation%",
"order": 10
},
"dotnet.implementType.propertyGenerationBehavior": {
"dotnet.typeMembers.propertyGenerationBehavior": {
"type": "string",
"enum": [
"preferThrowingProperties",
"preferAutoProperties"
],
"default": "preferThrowingProperties",
"enumDescriptions": [
"%configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties%",
"%configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties%"
"%configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties%",
"%configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties%"
],
"description": "%configuration.dotnet.implementType.propertyGenerationBehavior%",
"description": "%configuration.dotnet.typeMembers.propertyGenerationBehavior%",
"order": 10
},
"dotnet.codeLens.enableReferencesCodeLens": {
Expand Down
14 changes: 7 additions & 7 deletions package.nls.cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"configuration.dotnet.enableXamlTools": "Povolí nástroje XAML při použití sady C# Dev Kit",
"configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Zvýrazněte související komponenty JSON pod kurzorem.",
"configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Zvýraznit související komponenty regulárního výrazu pod kurzorem.",
"configuration.dotnet.implementType.insertionBehavior": "Umístění vložení vlastností, událostí a metod při implementaci rozhraní nebo abstraktní třídy.",
"configuration.dotnet.implementType.insertionBehavior.atTheEnd": "Umístit je na konec.",
"configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind": "Umístěte je s ostatními členy stejného druhu.",
"configuration.dotnet.implementType.propertyGenerationBehavior": "Chování generování vlastností při implementaci rozhraní nebo abstraktní třídy.",
"configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties": "Upřednostňovat automatické vlastnosti.",
"configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties": "Upřednostňovat vyvolávání vlastností.",
"configuration.dotnet.typeMembers.memberInsertionLocation": "Umístění vložení vlastností, událostí a metod při implementaci rozhraní nebo abstraktní třídy.",
"configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd": "Umístit je na konec.",
"configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind": "Umístěte je s ostatními členy stejného druhu.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior": "Chování generování vlastností při implementaci rozhraní nebo abstraktní třídy.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties": "Upřednostňovat automatické vlastnosti.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties": "Upřednostňovat vyvolávání vlastností.",
"configuration.dotnet.inlayHints.enableInlayHintsForLiteralParameters": "Zobrazit nápovědy pro literály",
"configuration.dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": "Zobrazit nápovědy pro výrazy new",
"configuration.dotnet.inlayHints.enableInlayHintsForOtherParameters": "Zobrazit nápovědy pro všechno ostatní",
Expand Down Expand Up @@ -250,4 +250,4 @@
"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",
"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.",
"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)."
}
}
14 changes: 7 additions & 7 deletions package.nls.de.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"configuration.dotnet.enableXamlTools": "Aktiviert XAML-Tools bei Verwendung des C#-Dev Kit",
"configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Zugehörige JSON-Komponenten unter dem Cursor markieren.",
"configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Zugehörige Komponenten regulärer Ausdrücke unter dem Cursor markieren.",
"configuration.dotnet.implementType.insertionBehavior": "Die Einfügeposition von Eigenschaften, Ereignissen und Methoden beim Implementieren der Schnittstelle oder abstrakten Klasse.",
"configuration.dotnet.implementType.insertionBehavior.atTheEnd": "Platzieren Sie sie am Ende.",
"configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind": "Platzieren Sie sie mit anderen Mitgliedern derselben Art.",
"configuration.dotnet.implementType.propertyGenerationBehavior": "Generierungsverhalten von Eigenschaften beim Implementieren einer Schnittstelle oder einer abstrakten Klasse.",
"configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties": "Automatische Eigenschaften bevorzugen.",
"configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties": "Ausgelöste Eigenschaften bevorzugen.",
"configuration.dotnet.typeMembers.memberInsertionLocation": "Die Einfügeposition von Eigenschaften, Ereignissen und Methoden beim Implementieren der Schnittstelle oder abstrakten Klasse.",
"configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd": "Platzieren Sie sie am Ende.",
"configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind": "Platzieren Sie sie mit anderen Mitgliedern derselben Art.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior": "Generierungsverhalten von Eigenschaften beim Implementieren einer Schnittstelle oder einer abstrakten Klasse.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties": "Automatische Eigenschaften bevorzugen.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties": "Ausgelöste Eigenschaften bevorzugen.",
"configuration.dotnet.inlayHints.enableInlayHintsForLiteralParameters": "Hinweise für Literale anzeigen",
"configuration.dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": "Hinweise für new-Ausdrücke anzeigen",
"configuration.dotnet.inlayHints.enableInlayHintsForOtherParameters": "Hinweise für alles andere anzeigen",
Expand Down Expand Up @@ -250,4 +250,4 @@
"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\"",
"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.",
"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)."
}
}
14 changes: 7 additions & 7 deletions package.nls.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"configuration.dotnet.enableXamlTools": "Habilita las herramientas XAML al usar el Kit de desarrollo de C#",
"configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Resaltar los componentes JSON relacionados bajo el cursor.",
"configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Resaltar los componentes de expresiones regulares relacionados bajo el cursor.",
"configuration.dotnet.implementType.insertionBehavior": "Ubicación de inserción de propiedades, eventos y métodos cuando se implementa una interfaz o una clase abstracta.",
"configuration.dotnet.implementType.insertionBehavior.atTheEnd": "Colóquelos al final.",
"configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind": "Colóquelos con otros miembros del mismo tipo.",
"configuration.dotnet.implementType.propertyGenerationBehavior": "Comportamiento de generación de propiedades al implementar una interfaz o una clase abstracta.",
"configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties": "Preferir propiedades automáticas.",
"configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties": "Preferir propiedades de lanzamiento.",
"configuration.dotnet.typeMembers.memberInsertionLocation": "Ubicación de inserción de propiedades, eventos y métodos cuando se implementa una interfaz o una clase abstracta.",
"configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd": "Colóquelos al final.",
"configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind": "Colóquelos con otros miembros del mismo tipo.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior": "Comportamiento de generación de propiedades al implementar una interfaz o una clase abstracta.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties": "Preferir propiedades automáticas.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties": "Preferir propiedades de lanzamiento.",
"configuration.dotnet.inlayHints.enableInlayHintsForLiteralParameters": "Mostrar sugerencias para los literales",
"configuration.dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": "Mostrar sugerencias para las expresiones \"new\"",
"configuration.dotnet.inlayHints.enableInlayHintsForOtherParameters": "Mostrar sugerencias para todo lo demás",
Expand Down Expand Up @@ -250,4 +250,4 @@
"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\"",
"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.",
"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)."
}
}
14 changes: 7 additions & 7 deletions package.nls.fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"configuration.dotnet.enableXamlTools": "Active les outils XAML lors de l’utilisation du Kit de développement C#",
"configuration.dotnet.highlighting.highlightRelatedJsonComponents": "Mettez en surbrillance les composants JSON associés sous le curseur.",
"configuration.dotnet.highlighting.highlightRelatedRegexComponents": "Mettre en surbrillance les composants d’expression régulière associés sous le curseur.",
"configuration.dotnet.implementType.insertionBehavior": "Emplacement d’insertion des propriétés, des événements et des méthodes lors de l’implémentation d’une interface ou d’une classe abstraite.",
"configuration.dotnet.implementType.insertionBehavior.atTheEnd": "Placez-les à la fin.",
"configuration.dotnet.implementType.insertionBehavior.withOtherMembersOfTheSameKind": "Placez-les avec d’autres membres du même type.",
"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.",
"configuration.dotnet.implementType.propertyGenerationBehavior.preferAutoProperties": "Préférer les propriétés automatiques.",
"configuration.dotnet.implementType.propertyGenerationBehavior.preferThrowingProperties": "Préférer les propriétés de levée.",
"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.",
"configuration.dotnet.typeMembers.memberInsertionLocation.atTheEnd": "Placez-les à la fin.",
"configuration.dotnet.typeMembers.memberInsertionLocation.withOtherMembersOfTheSameKind": "Placez-les avec d’autres membres du même type.",
"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.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferAutoProperties": "Préférer les propriétés automatiques.",
"configuration.dotnet.typeMembers.propertyGenerationBehavior.preferThrowingProperties": "Préférer les propriétés de levée.",
"configuration.dotnet.inlayHints.enableInlayHintsForLiteralParameters": "Afficher les indicateurs pour les littéraux",
"configuration.dotnet.inlayHints.enableInlayHintsForObjectCreationParameters": "Afficher les indicateurs pour les expressions 'new'",
"configuration.dotnet.inlayHints.enableInlayHintsForOtherParameters": "Afficher les indicateurs pour tout le reste",
Expand Down Expand Up @@ -250,4 +250,4 @@
"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 »",
"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.",
"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)."
}
}
Loading

0 comments on commit 60202f9

Please sign in to comment.