I would like to be able to use “Open file” from the menu to open a file with an external application, as required (e.g., open a .pdf file with the default PDF reader). Similarly, if I click on a link to a path (e.g., …/pru.pdf) I would like that file to open with the PDF reader rather than as another (text) file in Atom. I have used the package https://atom.io/packages/open-unsupported-files, which works great, but it seems to work only if the file is selected from the tree view. However, it would be really very useful if the feature of external opening is also activated when clicking on a link and when opening a file from the menu (these two options lead to the file being opened as a text file directly in Atom).
Any way to do that? Could the package be adapted easily to support this? Or is there any other alternative? Thank you very much.