Json outline - Allow select on all nodes

This commit is contained in:
Sandeep Somavarapu
2017-05-22 09:57:43 +02:00
parent e3f2d83258
commit 60d10c8173

View File

@ -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)
};
}