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 https://github.com/eclipse-theia/theia/pull/3942/files#diff-f9afc1d61ee7ba79952f1f81bdf6bd52 which means that when the application is initialized, the explorer files-view is revealed.

[Hanksha]

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.

[Elliott.Wen]

Thanks everyone. It is pretty useful.