I went one more time through PluginMechanism
and Disabling Plugins
in the official documentation and I still have a couple of questions about subplugins. Particularly about CodeMirror core plugin and its ecosystem.
How tight are the subplugins coupled to their parent plugin? I think I can just install CodeMirror main plugin. I can install it, then install a subset of its subplugins (or all of them).
But what exactly happens when disabling a plugin with subplugins, then enabling it back later?
If I install CodeMirror and all its subplugins, then disable the main plugin, do the subplugins get automatically disabled as well? Or do I have to manually disable each subplugin?
If I install CodeMirror and a subset of its plugins, then disable it (them, if manual intervention for each is required, see previous question), then later decide to enable it (them) back, do I have to re-enable just the parent plugin? Will TiddlyWiki remember that a certain subset of subplugins were enabled before and automatically reenable them, or would I need again to manually enable each subplugin?
The Disabling Plugins
documentation tiddler only documents what happens behind the curtain (the disabled state of a plugin is saved in a tiddler with a special name) but doesn’t cover subplugins at all. It could benefit from a slight improvement that elaborates on subplugins.