From c2ba3976054d7a4c3087ec15347c8a3afa1344e2 Mon Sep 17 00:00:00 2001 From: Ankush Roy <128731129+AnkushRoy-code@users.noreply.github.com> Date: Mon, 7 Oct 2024 09:12:09 +0530 Subject: [PATCH] Update cpp.json (#493) --- snippets/cpp/cpp.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/cpp/cpp.json b/snippets/cpp/cpp.json index b477adba..fc5d60e8 100644 --- a/snippets/cpp/cpp.json +++ b/snippets/cpp/cpp.json @@ -156,7 +156,7 @@ }, "#ifdef": { "prefix": "#ifdef", - "body": ["#ifdef ${1:DEBUG}", "$0", "#endif // ${DEBUG}"], + "body": ["#ifdef ${1:DEBUG}", "$0", "#endif // $1"], "description": "Code snippet for #ifdef" }, "#ifndef": {