Ver código fonte

Expands folder items by default now

main
Eric Amodio 5 anos atrás
pai
commit
1ef212cdfc
1 arquivos alterados com 1 adições e 2 exclusões
  1. +1
    -2
      src/views/nodes/folderNode.ts

+ 1
- 2
src/views/nodes/folderNode.ts Ver arquivo

@ -78,8 +78,7 @@ export class FolderNode extends ViewNode {
}
getTreeItem(): TreeItem {
// TODO: Change this to expanded once https://github.com/Microsoft/vscode/issues/30918 is fixed
const item = new TreeItem(this.label, TreeItemCollapsibleState.Collapsed);
const item = new TreeItem(this.label, TreeItemCollapsibleState.Expanded);
item.contextValue = ResourceType.Folder;
if (this.containsWorkingFiles) {
item.contextValue += '+working';

Carregando…
Cancelar
Salvar