What command will be executed when click the file in the browser


When we click the file in the Explorer, the file will be opened in the main area, during that process, what command have been executed? I try to found it in the @theia/core, but didn’t find the source code.

@LamYunfu the navigator uses a FileNavigatorModel model which implements the opening:

It uses the OpenerService to determine what is the best opener for the given resource.

OK,Thanks~

I follow the suggestion to see the source code, I found that when open a file, the program will execute a open function in the openHandler.


But I just find an interface, not the implementation of it. So in the default implementaion when a file in the browser be clicked, what command will be called when execute the open function?