mirror of
https://github.com/filp/whoops.git
synced 2026-09-12 18:56:22 +00:00
Add Atom URI Handler
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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",
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user