Progromatically open a file in Atom


#1

There’s a PHP package to display errors in the browser called whoops. It has the feature to open files in a text editor as detailed in their docs here: https://github.com/filp/whoops/blob/master/docs/Open%20Files%20In%20An%20Editor.md

It doesn’t explicitly support Atom, but it does detail how to generically open files by using the following command:

return "whatever://open?file=$file&line=$line";

Does atom support this? Can I just substitute whatever for atom in the above line?