Skip to content

Commit

Permalink
Remove redundant TreeDataProvider registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-grant-work authored and sam-mccall committed Oct 13, 2022
1 parent 97b366f commit 687314d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
3 changes: 0 additions & 3 deletions src/type-hierarchy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 687314d

Please sign in to comment.