Skip to content

Commit 26019fe

Browse files
committed
update doc
1 parent 0d40422 commit 26019fe

File tree

5 files changed

+37
-4
lines changed

5 files changed

+37
-4
lines changed

languages/php/index.rst

+16-1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ Translation
149149
150150
* ``goto`` - Domain file like yaml or other, from container file
151151
* ``complete`` - Domain file like yaml or other, from container file
152+
* ``annotator`` - Mark missing domain files
152153

153154
.. code-block:: php
154155
@@ -160,7 +161,7 @@ Translation
160161
161162
* ``goto`` - Yaml Key-Value of Domain, default ``messages`` or ``trans_default_domain`` of current file
162163
* ``complete`` - All known translation key filtered by domain name
163-
164+
* ``annotator`` - Mark missing translation and provide quick fix, which create key inside domain file
164165

165166
Routing
166167
-------------------------
@@ -267,3 +268,17 @@ EventDispatcher
267268
268269
* ``goto`` - All class that use same event name
269270
* ``complete`` - Event name
271+
272+
273+
Class
274+
-------------------------
275+
.. code-block:: php
276+
277+
class FlashListener implements EventSubscriberInterface {}
278+
279+
280+
.. image:: service_class_definition.png
281+
282+
283+
* ``lineMarker`` - Mark line and provide goto if a service is known definition
284+
* ``goto`` - class service definition
2.76 KB
Loading

languages/twig/index.rst

+8-1
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,11 @@ Filter
8989

9090
{{ 'name'|<filter> }}
9191
92+
* ``goto`` - Method or function of filter
93+
* ``complete`` - Twig_SimpleFilter, Twig_Filter_Function, Twig_Filter_Method inside `Twig_ExtensionInterface::getFilters`
94+
9295
.. note::
93-
not supported by PhpStorm
96+
not fully supported by PhpStorm, autocomplete dialog is a char type event
9497

9598
Assets
9699
-------------------------
@@ -126,6 +129,7 @@ Translation
126129
127130
* ``goto`` - Domain file like yaml or other, from container file
128131
* ``complete`` - Domain file like yaml or other, from container file
132+
* ``annotator`` - Mark missing domain files
129133

130134
.. code-block:: html+jinja
131135

@@ -134,6 +138,9 @@ Translation
134138
135139
* ``goto`` - Yaml Key-Value of Domain, default ``messages`` or ``trans_default_domain`` of current file
136140
* ``complete`` - All known translation key filtered by domain name
141+
* ``annotator`` - Mark missing translation and provide quick fix, which create key inside domain file
142+
143+
.. image:: phpstorm_translation_fix.png
137144

138145
.. code-block:: html+jinja
139146

3.12 KB
Loading

languages/yaml/index.rst

+13-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,19 @@ based on container and local file parser
7070
factory_service: annotation_reader
7171
factory_method: createFoo
7272
73-
* ``complete`` - factory_method and factory_service
74-
73+
* ``complete`` - factory_method and factory_service
74+
75+
.. code-block:: yaml
76+
77+
services:
78+
foo.bar:
79+
class: Foo\Class
80+
arguments: [@instance]
81+
calls:
82+
- [ setContainer, [ @instance ] ]
83+
84+
* ``annotator`` - check method parameter instance
85+
7586
Routing
7687
-------------------------
7788

0 commit comments

Comments
 (0)