Skip to content

Commit d614152

Browse files
committed
add doc for config completion
1 parent 122b68c commit d614152

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

languages/yaml/index.rst

+30-1
Original file line numberDiff line numberDiff line change
@@ -121,4 +121,33 @@ Doctrine
121121
<config>: value
122122
123123
.. note::
124-
and many more
124+
and many more
125+
126+
Config
127+
-------------------------
128+
129+
.. image:: symfony2_config_phpstorm.png
130+
131+
Use command ``config:dump-reference`` to create per bundle file and merge them in the following way under project ``idea/symfony2-config.xml``. If you dont provide this file an internal fallback will occur.
132+
133+
.. code-block:: xml
134+
135+
<config>
136+
137+
<!-- Namespace: http://symfony.com/schema/dic/symfony_extra -->
138+
<sensio-framework-extra>
139+
<router annotations="true" />
140+
<request converters="true" />
141+
<view annotations="true" />
142+
<cache annotations="true" />
143+
<security annotations="true" />
144+
</sensio-framework-extra>
145+
146+
<!-- Namespace: http://symfony.com/schema/dic/webprofiler -->
147+
<web-profiler
148+
toolbar="false"
149+
position="bottom"
150+
intercept-redirects="false"
151+
/>
152+
153+
</config>
16 KB
Loading

0 commit comments

Comments
 (0)