Skip to content

Commit 51c5407

Browse files
committed
[reference][framework] Filling out ide refrence entry
1 parent f2b6670 commit 51c5407

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

reference/configuration/framework.rst

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,26 @@ If you're using an IDE like TextMate or Mac Vim, then Symfony can turn all
6767
of the file paths in an exception message into a link, which will open that
6868
file in your IDE.
6969

70-
Currently, the following options are supported:
70+
If you use TextMate or Mac Vim, you can simply use one of the following built-in
71+
values:
7172

7273
* ``textmate``
7374
* ``macvim``
7475

76+
You can also specify a custom file link string. If you do this, all percentage
77+
signs (``%``) must be doubled to escape that character. For example, the
78+
full TextMate string would look like this:
79+
80+
.. code-block:: yaml
81+
82+
framework:
83+
ide: "txmt://open?url=file://%%f&line=%%l"
84+
85+
Of course, since every developer uses a different IDE, it's better to set
86+
this on a system level. This can be done by setting the ``xdebug.file_link_format``
87+
PHP.ini value to the file link string. If this configuration value is set, then
88+
the ``ide`` option does not need to be specified.
89+
7590
test
7691
....
7792

0 commit comments

Comments
 (0)