Is there a way to auto show the file navigator?

Every time I open a new workspace, the file navigator is hidden and the user always has to click to file icon.
It there a way to automatically show the file navigator?

[original thread by Elliott.Wen]

In a custom extension, you can do something like the following which means that when the application is initialized, the explorer files-view is revealed.


You could have an extension with a FrontendApplicationContribution which on startup will call CommandService.executeCommand(“fileNavigator:toggle”) to toggle the explorer visibility. You’d have to check if the explorer is already visible first, maybe you can do that with the WidgetManager. Maybe someone has a better way.


Thanks everyone. It is pretty useful.