From 68ca7bef46998f8ddff56c0218b3bc3689eb892c Mon Sep 17 00:00:00 2001 From: Ben McMorran Date: Thu, 1 May 2025 15:18:45 -0700 Subject: [PATCH] Ensure #cpp tool isn't accidentally enabled in agent mode --- Extension/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 559028bec..4575468c1 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -6549,7 +6549,7 @@ "userDescription": "%c_cpp.languageModelTools.configuration.userDescription%", "modelDescription": "For the active C or C++ file, this tool provides: the language (C, C++, or CUDA), the language standard version (such as C++11, C++14, C++17, or C++20), the compiler (such as GCC, Clang, or MSVC), the target platform (such as x86, x64, or ARM), and the target architecture (such as 32-bit or 64-bit).", "icon": "$(file-code)", - "when": "(config.C_Cpp.experimentalFeatures =~ /^[eE]nabled$/)" + "when": "(config.C_Cpp.experimental.configuration_lmtool =~ /^[eE]nabled$/)" } ] }, @@ -6651,4 +6651,4 @@ "postcss": "^8.4.31", "gulp-typescript/**/glob-parent": "^5.1.2" } -} \ No newline at end of file +}