Skip to content

Commit f461208

Browse files
authored
Ensure #cpp tool isn't accidentally enabled in agent mode (#13581)
1 parent 56576c8 commit f461208

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Extension/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6549,7 +6549,7 @@
65496549
"userDescription": "%c_cpp.languageModelTools.configuration.userDescription%",
65506550
"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).",
65516551
"icon": "$(file-code)",
6552-
"when": "(config.C_Cpp.experimentalFeatures =~ /^[eE]nabled$/)"
6552+
"when": "(config.C_Cpp.experimental.configuration_lmtool =~ /^[eE]nabled$/)"
65536553
}
65546554
]
65556555
},
@@ -6651,4 +6651,4 @@
66516651
"postcss": "^8.4.31",
66526652
"gulp-typescript/**/glob-parent": "^5.1.2"
66536653
}
6654-
}
6654+
}

0 commit comments

Comments
 (0)