Fraise
Fraise copied to clipboard
Plugin system
It would be particularly interesting to integrate a plugin system to Smultron. A plugin could give special functionalities for a language for example.
A dedicated preferences window should allow the user to select the plugin he wants to use. The plugins functionalities would be available in a new "Plugins" menu. The user would have the possibility to use the plugin's default shortcuts or define his own.
A shortcut would allow the user to switch in "Plugin mode" or "Simple mode" so the user who only uses Smultron for text editing would have the same simple and efficient Smultron. This shortcut should activate/deactivate the "Plugins" menu and all the plugins defined by the user in the Preferences panel.
This issue is a place to discuss this idea for now. Please give me your feedback concerning this feature.
It's a good idea if it was very simple to understand and use. Sorry for my english, i'm a french bastard :)
off hand, might I suggest something like using Lua (see http://www.lua.org/) as a plugin extension language, because is simple, easy to integrate, and a real programming language.
I like the idea of Lua support, or any other common scripting language (Python or Ruby, I guess). I actually really, really like how CotEditor handles it - any language can be used. It's been a while since I used CotEditor so I don't remember how exactly, but it was nice.
I'd argue that lua would be best 'cause its very simple and DESIGNED for use in the "embeded in a program" context