In my extension I am loading a specific file path that the extension needs to receive the path name of. What I would like to do is bind an event in my extension to file open, check the path of the file that is opened, if it matches a string, stop the editor from opening.
This might fall in the same area of binding to save (https://spectrum.chat/theia/dev/trigger-event-in-my-extension-on-save-editor~622b51b9-284b-4e05-bfd4-b3531d125421)https://spectrum.chat/theia/dev/trigger-event-in-my-extension-on-save-editor~622b51b9-284b-4e05-bfd4-b3531d125421 which I am also hoping to do.
[original thread by Eiso Kant]