-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Yml] Create function when no declaration can be found #415
Comments
code generators (+update) are on my todo list, this is only one of them... |
👍 The |
its in. will improve and also support xml in next release |
👍 The function is added at a weird position. Are they added sorted by name? Planning to generate the new class variable as well? Maybe add an extra generator |
@rvanlaak yes its name sorted what would you a expect? |
Usually I put the getters/setters at the bottom of my class, but don't think there is a way to figure out how to archieve that. |
Great feature to goto the declaration of a call by using
CTRL+click
in myservices.yml
. This makes navigating a lot easier, because the yml file is located far away from the controllers.In case a call / function does not have a declaration (yet), PhpStorm will show the message:
It would be great to add a generator for this under the
ALT+enter
menu. Most of the time these are setters, so adding the protected variable and the getter/setter would be great!This could generate:
The text was updated successfully, but these errors were encountered: