Add Atom URI Handler

This commit is contained in:
petecoop
2018-02-21 10:22:39 +00:00
parent 0a9eb902a8
commit ffa20d37be
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ The following editors are currently supported by default.
- `textmate` - Textmate
- `xdebug` - xdebug (uses [xdebug.file_link_format](http://xdebug.org/docs/all_settings#file_link_format))
- `vscode` - VSCode (ref [Opening VS Code with URLs](https://code.visualstudio.com/docs/editor/command-line#_opening-vs-code-with-urls))
- `atom` - Atom (ref [Add core URI handlers](https://github.com/atom/atom/pull/15935))
Adding your own editor is simple:
+1
View File
@@ -96,6 +96,7 @@ class PrettyPageHandler extends Handler
"phpstorm" => "phpstorm://open?file=%file&line=%line",
"idea" => "idea://open?file=%file&line=%line",
"vscode" => "vscode://file/%file:%line",
"atom" => "atom://core/open/file?filename=%file&line=%line",
];
/**