mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Json outline - Allow select on all nodes
This commit is contained in:
@ -50,10 +50,10 @@ export class JsonOutlineProvider implements vscode.TreeDataProvider<json.Node> {
|
||||
return <vscode.TreeItem> {
|
||||
label: this.getLabel(node),
|
||||
collapsibleState: hasChildren ? vscode.TreeItemCollapsibleState.Collapsed : null,
|
||||
command: !hasChildren ? {
|
||||
command: {
|
||||
command: 'extension.openJsonSelection',
|
||||
title: '',
|
||||
} : null,
|
||||
},
|
||||
iconPath: this.getIcon(node)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user