Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ doubling them to prevent Symfony from interpreting them as container parameters)

# app/config/config.yml
framework:
ide: 'phpstorm://open?file=%%f&line=%%l'
ide: 'phpstorm://open?url=file://%%f&line=%%l'

.. code-block:: xml

Expand All @@ -240,14 +240,14 @@ doubling them to prevent Symfony from interpreting them as container parameters)
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

<framework:config ide="phpstorm://open?file=%%f&line=%%l" />
<framework:config ide="phpstorm://open?url=file://%%f&line=%%l" />
</container>

.. code-block:: php

// app/config/config.php
$container->loadFromExtension('framework', array(
'ide' => 'phpstorm://open?file=%%f&line=%%l',
'ide' => 'phpstorm://open?url=file://%%f&line=%%l',
));

Since every developer uses a different IDE, the recommended way to enable this
Expand Down