From 1e0c5b71047a6c43f872c8ee1fd220f383bde93b Mon Sep 17 00:00:00 2001 From: Bent Bracke Date: Sat, 25 Nov 2023 12:38:00 +0100 Subject: [PATCH] Expanded the case snippet in ada-snippets.json As mentioned in https://github.com/AdaCore/ada_language_server/issues/1080 --- integration/vscode/ada/ada-snippets.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/integration/vscode/ada/ada-snippets.json b/integration/vscode/ada/ada-snippets.json index 418b6b6d4..c83d95d98 100644 --- a/integration/vscode/ada/ada-snippets.json +++ b/integration/vscode/ada/ada-snippets.json @@ -38,7 +38,10 @@ "scope": "ada", "body": [ "case ${1:Variable} is", - "\t$0", + "\twhen ${3:Condition} =>", + "\t\t$0", + "\twhen others =>", + "\t\t$2", "end case;" ], "description": "Case Statement"