phptools-docs icon indicating copy to clipboard operation
phptools-docs copied to clipboard

Wish list for features

Open murugappanrm opened this issue 2 years ago • 3 comments

THIS IS NOT AN ISSUE BUT A FEATURE REQUEST I am using the VS Code extension version 1.33.12934. It great and fantastic based on all the features i have used so far. The some simple features that would make my life, perhaps other too, easier are the ability to do the following:

(1) Create class property from a variable. Example, in the code "$variable = new ReflectionClass" where i would need to locate the class i want this variable to be set and flip-flop between scripts. In the right-click menu, if there is option "create property in class" then by clicking it should be able to create a property in the class i specify. (2) Create class or method from a variable In a similar fashion as in (1) above, in the code "$variable = new MyClass()" i should able right click on the MyClass and "Create a Class" in the folder specified. (3) Create a method from a variable As in (2) above, in the code "$variable = MyClass->sendMail()" i should able right click on the "sendMail"and "Create a method" in the class specified before that (i.e .MyClass).

murugappanrm avatar Apr 23 '23 05:04 murugappanrm

Thank you for the suggestions! Seems useful to me. We may be adding those features in future releases.

jakubmisek avatar Apr 27 '23 13:04 jakubmisek

Hope to see them in the next release. Thank you.

murugappanrm avatar Apr 27 '23 21:04 murugappanrm