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:
commit
903acf9acb
@ -359,6 +359,8 @@ class FrameworkExtension extends Extension
|
|||||||
$links = array(
|
$links = array(
|
||||||
'textmate' => 'txmt://open?url=file://%%f&line=%%l',
|
'textmate' => 'txmt://open?url=file://%%f&line=%%l',
|
||||||
'macvim' => 'mvim://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);
|
$container->setParameter('templating.helper.code.file_link_format', isset($links[$ide]) ? $links[$ide] : $ide);
|
||||||
|
Reference in New Issue
Block a user