PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` # Open Files In An Editor When using the pretty error page feature, whoops comes with the ability to open referenced files directly in your IDE or editor. ```php setEditor('sublime'); ``` The following editors are currently supported by default. - `sublime` - Sublime Text 2 - `emacs` - Emacs - `textmate` - Textmate - `macvim` - MacVim - `xdebug` - xdebug (uses [xdebug.file_link_format](http://xdebug.org/docs/all_settings#file_link_format)) Adding your own editor is simple: ```php $handler->setEditor(function($file, $line) { return "whatever://open?file=$file&line=$line"; }); ``` You can add PhpStorm support with [PhpStormOpener](https://github.com/pinepain/PhpStormOpener#phpstormopener) (Mac OS X only): ```php $handler->setEditor( function ($file, $line) { // if your development server is not local it's good to map remote files to local $translations = array('^' . __DIR__ => '~/Development/PhpStormOpener'); // change to your path foreach ($translations as $from => $to) { $file = preg_replace('#' . $from . '#', $to, $file, 1); } return "pstorm://$file:$line"; } ); ```