From 739d4803af9b3f4fe4a7cf2e0a96a8eb73c901e1 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Wed, 15 May 2024 02:10:15 -0700 Subject: [PATCH] Add /** */ to cpp/language-configurations.json (#211202) This fixes the issue at https://github.com/microsoft/vscode-cpptools/issues/12249 . This was removed in https://github.com/microsoft/vscode/commit/98fa77a679fbd1095d05c0fcb381d6e9b775d743 . Then PR https://github.com/microsoft/vscode/pull/160357 added /* */ autoClosingPair. --- extensions/cpp/language-configuration.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/cpp/language-configuration.json b/extensions/cpp/language-configuration.json index 3a5459401f9..0bf8df9dc01 100644 --- a/extensions/cpp/language-configuration.json +++ b/extensions/cpp/language-configuration.json @@ -14,7 +14,8 @@ { "open": "(", "close": ")" }, { "open": "'", "close": "'", "notIn": ["string", "comment"] }, { "open": "\"", "close": "\"", "notIn": ["string"] }, - { "open": "/*", "close": "*/", "notIn": ["string", "comment"] } + { "open": "/*", "close": "*/", "notIn": ["string", "comment"] }, + { "open": "/**", "close": " */", "notIn": ["string"] } ], "surroundingPairs": [ ["{", "}"],