Add support for opening files in Espresso

This commit is contained in:
Ola Christensson
2019-02-28 09:58:08 +01:00
parent d430294289
commit 73f5fa910b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@ The following editors are currently supported by default.
- `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))
- `espresso` - Espresso
Adding your own editor is simple:
+1
View File
@@ -97,6 +97,7 @@ class PrettyPageHandler extends Handler
"idea" => "idea://open?file=%file&line=%line",
"vscode" => "vscode://file/%file:%line",
"atom" => "atom://core/open/file?filename=%file&line=%line",
"espresso" => "x-espresso://open?filepath=%file&lines=%line",
];
/**