File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ export async function activate(context: vscode.ExtensionContext) {
3636 const cppToolsConfiguration =
3737 vscode . workspace . getConfiguration ( 'C_Cpp' ) ;
3838 const cppToolsEnabled = cppToolsConfiguration . get ( 'intelliSenseEngine' ) ;
39- if ( cppToolsEnabled !== 'Disabled ' ) {
39+ if ( cppToolsEnabled ?. toLowerCase ( ) !== 'disabled ' ) {
4040 vscode . window
4141 . showWarningMessage (
4242 'You have both the Microsoft C++ (cpptools) extension and ' +
@@ -46,7 +46,7 @@ export async function activate(context: vscode.ExtensionContext) {
4646 . then ( selection => {
4747 if ( selection == 'Disable IntelliSense' ) {
4848 cppToolsConfiguration . update (
49- 'intelliSenseEngine' , 'Disabled ' ,
49+ 'intelliSenseEngine' , 'disabled ' ,
5050 vscode . ConfigurationTarget . Global ) ;
5151 } else if ( selection == 'Never show this warning' ) {
5252 vscode . workspace . getConfiguration ( 'clangd' ) . update (
You can’t perform that action at this time.
0 commit comments