diff --git a/src/ast.ts b/src/ast.ts index 2df93af3..efbf2724 100644 --- a/src/ast.ts +++ b/src/ast.ts @@ -47,7 +47,6 @@ class ASTFeature implements vscodelc.StaticFeature { // @ts-ignore tree.reveal(null); }), - vscode.window.registerTreeDataProvider('clangd.ast', adapter), // Create the "Show AST" command for the context menu. // It's only shown if the feature is dynamicaly available (package.json) vscode.commands.registerTextEditorCommand( diff --git a/src/type-hierarchy.ts b/src/type-hierarchy.ts index 118b382a..03c13954 100644 --- a/src/type-hierarchy.ts +++ b/src/type-hierarchy.ts @@ -169,9 +169,6 @@ class TypeHierarchyProvider implements constructor(context: ClangdContext) { this.client = context.client; - context.subscriptions.push(vscode.window.registerTreeDataProvider( - 'clangd.typeHierarchyView', this)); - context.subscriptions.push(vscode.commands.registerTextEditorCommand( 'clangd.typeHierarchy', this.reveal, this)); context.subscriptions.push(vscode.commands.registerCommand(