8000 Tell about SYMFONY__TEMPLATING__HELPER__CODE__FILE_LINK_FORMAT · symfony/symfony-docs@beef19e · GitHub
[go: up one dir, main page]

Skip to content

Commit beef19e

Browse files
Tell about SYMFONY__TEMPLATING__HELPER__CODE__FILE_LINK_FORMAT
1 parent 01965cc commit beef19e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

reference/configuration/framework.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ If you're using an IDE like TextMate or Mac Vim, then Symfony can turn all
211211
of the file paths in an exception message into a link, which will open that
212212
file in your IDE.
213213

214-
Symfony contains preconfigured urls for some popular IDEs, you can set them
214+
Symfony contains preconfigured URLs for some popular IDEs, you can set them
215215
using the following keys:
216216

217217
* ``textmate``
@@ -222,7 +222,7 @@ using the following keys:
222222
.. versionadded:: 2.3.14
223223
The ``emacs`` and ``sublime`` editors were introduced in Symfony 2.3.14.
224224

225-
You can also specify a custom url string. If you do this, all percentage
225+
You can also specify a custom URL string. If you do this, all percentage
226226
signs (``%``) must be doubled to escape that character. For example, if
227227
you use PHPstorm on the Mac OS platform, you will do something like:
228228

@@ -261,8 +261,11 @@ you use PHPstorm on the Mac OS platform, you will do something like:
261261

262262
Of course, since every developer uses a different IDE, it's better to set
263263
this on a system level. This can be done by setting the ``xdebug.file_link_format``
264-
in the ``php.ini`` configuration to the url string. If this configuration
265-
value is set, then the ``ide`` option will be ignored.
264+
in the ``php.ini`` configuration to the URL string.
265+
266+
If you don't use Xdebug, another way is to set this URL string in the
267+
``SYMFONY__TEMPLATING__HELPER__CODE__FILE_LINK_FORMAT`` environment variable.
268+
If any of these configurations values are set, the ``ide`` option will be ignored.
266269

267270
.. _reference-framework-test:
268271

0 commit comments

Comments
 (0)
0