Fraise icon indicating copy to clipboard operation
Fraise copied to clipboard

Plugin system

Open jfmoy opened this issue 14 years ago • 4 comments

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.

jfmoy avatar Mar 22 '10 15:03 jfmoy

It's a good idea if it was very simple to understand and use. Sorry for my english, i'm a french bastard :)

Donal2 avatar Mar 22 '10 22:03 Donal2

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.

cartazio avatar Apr 27 '10 18:04 cartazio

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.

brhfl avatar May 11 '10 20:05 brhfl

I'd argue that lua would be best 'cause its very simple and DESIGNED for use in the "embeded in a program" context

cartazio avatar May 11 '10 20:05 cartazio