Open file link


#1

With Sublime Text there is a way to open files from a link, using this format:

subl://open?url=file://.%f&line=%l

Is there a way to do that in Atom? I’ve tried

atom://open?url=file://.%f&line=%l

and while it does open, does not go to the correct file and line.

This is specially useful when using PHP XDebug.


#2

You will need to install a small app (assuming you’re on osx) called Atom Handler. I’m not sure if there’s a windows option or tool for this. You can get it here: https://github.com/WizardOfOgz/atom-handler

Than you need to set xdebug.file_link_format in your xdebug.ini to: “atm://open?url=file://%f&line=%l”