1 | <?php |
||
5 | class Editor |
||
6 | { |
||
7 | /** |
||
8 | * Editor protocol. |
||
9 | * |
||
10 | * Usage: |
||
11 | * Editor::openWith('vscode') |
||
12 | * |
||
13 | * https://tracy.nette.org/en/open-files-in-ide |
||
14 | * |
||
15 | * @param string $editor (sublime|subl, phpstorm, vscode, macvim|mvim, textmate|txmt) |
||
16 | * @return string |
||
17 | */ |
||
18 | 8 | public static function openWith($editor = 'subl') |
|
42 | } |
||
43 |