Example, when i was not login, i should not see any files.
@akosyakov can you give me some advice? Thank you very much!
Could you explain what you mean by “not login”? You should not see any files if no workspace is open.
Here is a login dialog box. When the user is not logged in, he should not see any files.
In fact, when Theia is started, the custom root workspace is loaded, that is, the workspace files are seen.
I want to achieve an effect like vscode
Could you maybe try calling
WorkspaceService.close() when your app starts? https://eclipse-theia.github.io/theia/docs/next/classes/workspace.workspaceservice-1.html#close