minor #10856 Added more IDE links (WouterJ)

This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes #10856).

Discussion
----------

Added more IDE links

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | https://github.com/symfony/symfony-docs/issues/3835

Commits
-------

239b738 Added more IDE links
This commit is contained in:
Fabien Potencier 2014-05-05 21:19:05 +02:00
commit 903acf9acb
1 changed files with 2 additions and 0 deletions

View File

@ -359,6 +359,8 @@ class FrameworkExtension extends Extension
$links = array(
'textmate' => 'txmt://open?url=file://%%f&line=%%l',
'macvim' => 'mvim://open?url=file://%%f&line=%%l',
'emacs' => 'emacs://open?url=file://%file&line=%line',
'sublime' => 'subl://open?url=file://%file&line=%line',
);
$container->setParameter('templating.helper.code.file_link_format', isset($links[$ide]) ? $links[$ide] : $ide);