Lack of interest Improve Development Features

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Kirby

Well-known member
These are a few rather small changes that could make things easier, so IMHO it is better to have them in one thread instead of create one for every tiny bit :)

Class Extensions
  • Make the extension class name optional when adding a new class extension
    If left empty and an Add-on is selected, guess the class name from the base class as VendorId\AddOnId\XF\Base\Class, if it does not exist error just as a wrong class name had been given
  • Add a CLI command to create a new class extension
Code Event Listeners
  • Make the callback class name and method optional wehn adding a new listener
    If left empty empty and an Add-on is selected, guess the class name and method from event and hint as VendorId\AddOnId\Listener::eventNameHintAsCamelCase, if it does not exist error just as a wrong callback had been given
  • Add a CLI command to create a new code event listener
Default Add-on
It would be great if the last Add-on touched was remembered (through cookie or DB) instead of having just one setting through config.php
 
Last edited:
Upvote 4
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom