PHP How to initialize fields and import statements with keyboard shortcut Follow
Answered
Hi,
I would like to know how to initialize fields ( class variables ) when passing external class to function parameter, and how to import classes.
Currently, I manage doing this by pointer my cursor on the variable, and clicking on left hand side bulb, but I need a shortcut like this : pointing my cursor on the variable, typing a keyboard shortcut, and BAM, imports are made !
hope I can be understood on this one...
Thanks
Please sign in to leave a comment.
It's Alt+Enter while the cursor is within the var name, if I got you right. Please try.
That was it, and I just have to click on the willing option afterwards, thanks !