mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Remove extra parseTree (#406)
This commit is contained in:
@ -15,7 +15,6 @@ export class JsonOutlineProvider implements vscode.TreeDataProvider<number> {
|
||||
constructor(private context: vscode.ExtensionContext) {
|
||||
vscode.window.onDidChangeActiveTextEditor(() => this.onActiveEditorChanged());
|
||||
vscode.workspace.onDidChangeTextDocument(e => this.onDocumentChanged(e));
|
||||
this.parseTree();
|
||||
this.autoRefresh = vscode.workspace.getConfiguration('jsonOutline').get('autorefresh');
|
||||
vscode.workspace.onDidChangeConfiguration(() => {
|
||||
this.autoRefresh = vscode.workspace.getConfiguration('jsonOutline').get('autorefresh');
|
||||
@ -181,4 +180,4 @@ export class JsonOutlineProvider implements vscode.TreeDataProvider<number> {
|
||||
return `${property}: ${value}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user