I don't know whether this is an issue for other users as well and whether it would be possible, but I'd like to have a built-in chance to enable or disable installed plugins (maybe integrated in TM's menu).
Background: I often use Hetima's CJK-Input plugin for writing Japanese. This plugin will be also invoked if I want to write German umlauts like ä because I use an US-keyboard and I have to type the key combination ALT+u plus a for inserting an ä. This behaviour is a bit annoying. [I know that TM can display the key combination ALT+u or ALT+e not yet but still ... ;)] Up to now I use a script to rename the plugin and restart TM.
Furthermore if more plugins will be developed in the future which maybe interact with others it would be nice to have such a chance to (un)load plugins while running TM. On the other hand it would 'solve the problem' while developing a plugin to restart TM after building a new version of it. Just unload and load that plugin.
Or am I wrong?
On Aug 28, 2007, at 12:41 PM, Hans-Joerg Bibiko wrote:
I don't know whether this is an issue for other users as well and whether it would be possible, but I'd like to have a built-in chance to enable or disable installed plugins (maybe integrated in TM's menu). [...]
Removing already loaded plug-ins at run-time is not really possible (because loading a bundle can potentially add categories to existing classes, will register classes and selectors with the obj-c run-time, etc. and graceful cleanup is presently not AFAIK a feature of the obj- c run-time).
But I agree that there should be some minimal infrastructure for which plug-ins to enable, and potentially some lazy-loading of plug- ins, e.g. based on certain events.