Gert-dev / php-ide-serenata

Atom IDE package that integrates the Serenata server to provide PHP code assistance
https://serenata.gitlab.io/
Other
274 stars 19 forks source link

Possibility to stub interface methods #449

Closed jordyvandomselaar closed 6 years ago

jordyvandomselaar commented 6 years ago

It'd be cool if you could hit implement methods and you could pick methods in an interface or parent class to stub out.

ps: I don't know if this is possible in the core or not, but since I'm using this package for Atom I figured to add an issue here.

Gert-dev commented 6 years ago

This is actually already supported. php-ide-serenata uses the intentions package to display these sorts of options.

Depending on your platform, you can do alt-enter in a class and select "Stub unimplemented interface methods" as well as do things such as generate getters and setters.