Added more IDE links
This commit is contained in:
parent
e14f0077a0
commit
239b738e98
@ -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