@@ -170,7 +170,7 @@ some environment variable that stores the name of the IDE/editor:
170
170
# config/packages/framework.yaml
171
171
framework :
172
172
# the env var stores the IDE/editor name (e.g. 'phpstorm', 'vscode', etc.)
173
- ide : ' %env(resolve:CODE_EDITOR )%'
173
+ ide : ' %env(resolve:SYMFONY_IDE )%'
174
174
175
175
.. code-block :: xml
176
176
@@ -184,7 +184,7 @@ some environment variable that stores the name of the IDE/editor:
184
184
http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
185
185
186
186
<!-- the env var stores the IDE/editor name (e.g. 'phpstorm', 'vscode', etc.) -->
187
- <framework : config ide =" %env(resolve:CODE_EDITOR )%" />
187
+ <framework : config ide =" %env(resolve:SYMFONY_IDE )%" />
188
188
</container >
189
189
190
190
.. code-block :: php
@@ -194,9 +194,14 @@ some environment variable that stores the name of the IDE/editor:
194
194
195
195
return static function (FrameworkConfig $framework) {
196
196
// the env var stores the IDE/editor name (e.g. 'phpstorm', 'vscode', etc.)
197
- $framework->ide('%env(resolve:CODE_EDITOR )%');
197
+ $framework->ide('%env(resolve:SYMFONY_IDE )%');
198
198
};
199
199
200
+ .. versionadded :: 6.1
201
+
202
+ The environment variable `SYMFONY_IDE ` was introduced in Symfony 6.1.
203
+ It is read by default when `framework.ide ` config is not set.
204
+
200
205
Another alternative is to set the ``xdebug.file_link_format `` option in your
201
206
``php.ini `` configuration file. The format to use is the same as for the
202
207
``framework.ide `` option, but without the need to escape the percent signs
0 commit comments