File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,7 @@ export class TailwindDataProvider implements TreeDataProvider<ConfigItem> {
254254 emitter : NotificationEmitter
255255 } ) {
256256 let folder = client . clientOptions . workspaceFolder . uri . toString ( )
257+ this . expandedWorkspaces . push ( folder )
257258
258259 const onUpdate = async ( {
259260 configPath,
@@ -401,7 +402,7 @@ export class TailwindDataProvider implements TreeDataProvider<ConfigItem> {
401402 return Object . keys ( this . workspaces ) . map ( ( workspace ) => {
402403 return new ConfigItem ( {
403404 label : path . basename ( workspace ) ,
404- collapsibleState : TreeItemCollapsibleState . Collapsed ,
405+ collapsibleState : TreeItemCollapsibleState . Expanded ,
405406 workspace,
406407 contextValue : `config:${ this . workspaces [ workspace ] . configPath } ` ,
407408 iconPath : new ThemeIcon (
You can’t perform that action at this time.
0 commit comments