File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,11 @@ export async function activate(context: vscode.ExtensionContext): Promise<CppToo
7070 util . checkDistro ( info ) ;
7171 await checkVsixCompatibility ( ) ;
7272 LanguageServer . UpdateInsidersAccess ( ) ;
73- await LanguageServer . preReleaseCheck ( ) ;
73+
74+ const ignoreRecommendations : boolean | undefined = vscode . workspace . getConfiguration ( "extensions" , null ) . get < boolean > ( "ignoreRecommendations" ) ;
75+ if ( ignoreRecommendations !== true ) {
76+ await LanguageServer . preReleaseCheck ( ) ;
77+ }
7478
7579 const settings : CppSettings = new CppSettings ( ( vscode . workspace . workspaceFolders && vscode . workspace . workspaceFolders . length > 0 ) ? vscode . workspace . workspaceFolders [ 0 ] ?. uri : undefined ) ;
7680 let isOldMacOs : boolean = false ;
You can’t perform that action at this time.
0 commit comments