File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -418,11 +418,6 @@ export class ExtensionManager implements vscode.Disposable {
418418 return ;
419419 }
420420
421- if ( ! this . isBookmarksViewContributed ( ) ) {
422- log . debug ( 'Skipping bookmarks tree creation because view contribution is not available.' ) ;
423- return ;
424- }
425-
426421 try {
427422 this . bookmarksTreeView = vscode . window . createTreeView ( 'cmake.bookmarks' , {
428423 treeDataProvider : this . bookmarksProvider ,
@@ -440,15 +435,6 @@ export class ExtensionManager implements vscode.Disposable {
440435 }
441436 }
442437
443- private isBookmarksViewContributed ( ) : boolean {
444- const ext = vscode . extensions . getExtension ( 'ms-vscode.cmake-tools' ) ;
445- const views = ext ?. packageJSON ?. contributes ?. views ;
446- if ( ! views ) {
447- return false ;
448- }
449- return Object . values ( views ) . some ( ( v : any ) => Array . isArray ( v ) && v . some ( ( item : any ) => item ?. id === 'cmake.bookmarks' ) ) ;
450- }
451-
452438 /**
453439 * CppTools project configuration provider. Tells cpptools how to search for
454440 * includes, preprocessor defs, etc.
You can’t perform that action at this time.
0 commit comments