Skip to content

Commit 687314d

Browse files
Colin Grantsam-mccall
authored andcommitted
Remove redundant TreeDataProvider registrations
1 parent 97b366f commit 687314d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/ast.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class ASTFeature implements vscodelc.StaticFeature {
4747
// @ts-ignore
4848
tree.reveal(null);
4949
}),
50-
vscode.window.registerTreeDataProvider('clangd.ast', adapter),
5150
// Create the "Show AST" command for the context menu.
5251
// It's only shown if the feature is dynamicaly available (package.json)
5352
vscode.commands.registerTextEditorCommand(

src/type-hierarchy.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,6 @@ class TypeHierarchyProvider implements
169169
constructor(context: ClangdContext) {
170170
this.client = context.client;
171171

172-
context.subscriptions.push(vscode.window.registerTreeDataProvider(
173-
'clangd.typeHierarchyView', this));
174-
175172
context.subscriptions.push(vscode.commands.registerTextEditorCommand(
176173
'clangd.typeHierarchy', this.reveal, this));
177174
context.subscriptions.push(vscode.commands.registerCommand(

0 commit comments

Comments
 (0)