You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the routing files a few autocomplete options are available. For a route controller, pressing [Ctrl]+[Space] will present the entirety of existing Controller methods including the appended Action. However, when using "Create Method", missing methods are always created with Action appended regardless of whether the missing method in the routing file already ends with Action or not.
If a route does not already end with Action, it is appended to the method name when it is created. routing.yaml
In the routing files a few autocomplete options are available. For a route controller, pressing [Ctrl]+[Space] will present the entirety of existing Controller methods including the appended
Action
. However, when using "Create Method", missing methods are always created withAction
appended regardless of whether the missing method in the routing file already ends withAction
or not.If a route does not already end with
Action
, it is appended to the method name when it is created.routing.yaml
MyController.php
If a route does already end with
Action
, it is also appended to the method name when it is created.routing.yaml
MyController.php
If the routing method already ends with
Action
, a secondAction
should not be appended to it. It should also create a method like this:MyController.php
Perhaps pressing [Ctrl]+[Space] should present the existing methods both with and without the final
Action
to indicate that either are allowed.routing.yaml
where
|
is the cursor position before pressing [Ctrl]+[Space] and the "box" contains the autocomplete options.The text was updated successfully, but these errors were encountered: