This splits some large plugins into packages, with one main package.d containing the plugin class itself and all annotated handlers, and one or more submodules containing other implementation.
Some files were simply becoming too large. Splitting them up has no intrinsic cost, but special care has to be taken to leave all annotated handlers in the main package.d file, or whichever file contains the plugin class and mixed in awareness. Lastly, some things that were of private visibility had to be made package.
This splits some large plugins into packages, with one main
package.d
containing the plugin class itself and all annotated handlers, and one or more submodules containing other implementation.Some files were simply becoming too large. Splitting them up has no intrinsic cost, but special care has to be taken to leave all annotated handlers in the main
package.d
file, or whichever file contains the plugin class and mixed in awareness. Lastly, some things that were ofprivate
visibility had to be madepackage
.