MorphOS Developer
Posts: 162 from 2003/3/17
Quote:
Well, I think it's just a different thinking.
When I want to run a script I want to use the same key-shortcut no matter which tab is active and which language is therein.
The plugins could be given a key-shortcut range that they overwrite.
But there may also be a range of key-shortcuts that are commonly available.
One could of course do something like that but since the existing interface already allows you to do what you asked for, I do not see why it should be changed to be honest.
Quote:
You mean a C/C++ IDE?
Yes, mainly for those languages. The functionality I had planned is almost where I wanted it to be when I started this project 8 months ago or so. It required quite a bit of internal reorganisation of Scribble and that turned out to be quite a bit more complex than I first imagined.
Quote:
Imagine something like your IDE functionality could be implemented as a plugin.
You'd have a bunch of people that could work on it if it'd be in a public repo, without people hacking the editor base code.
Manfred
Sure, a plugin interface is a neat idea but it is no panacea. In our situation, it is actually not quite sure how much traction it would get.
1) The size of the MorphOS community is very small and I don't expect dozens of independent developers to embark on writing plugins for Scribble. That's also the experience I had when adding Lua support: I got some feedback but not much from people who were interested in using it for plugin support, even though this is an obvious avenue. I would likely have extended missing parts earlier if I had received a lot of feedback.
To be more concrete, I could have spent 8 months refining the plugin interface and then the next version of Scribble would still not have had decent IDE functionality. The economies of scale that come with a plugin interface only work if there are a lot of third party developers eager to contribute. I don't see that at the moment, unfortunately.
2) Implementing something like the IDE functionality as an independent module is always going to be more difficult than doing it as part of the editor, in particular if one wants really tight and well-functioning integration.
3) To be honest, I prefer important parts of editor/IDE to be in my/the team's control to ensure some reasonable quality that also meets the needs of the core MorphOS team for internal development.
Anyhow, I still want to continue extending the existing plugin interface. I'm quite happy with the Lua route I picked because it fits nicely with the script language we have chosen as an ARexx replacement and it also allows us to benefit from the existing community of Scite users. Many of the example scripts that I included with Scribble come from this page for instance:
http://lua-users.org/wiki/SciteScripts
The next step regarding Lua is to expose more Scribble-specific attributes (most important methods are already covered) and to find a solution regarding call-backs. The latter is really important in order to write more complex plugins but would likely require that I integrate the Lua instances into Scribble rather than using LuaX as is currently the case. That's feasible but takes some effort.
By the way, I do appreciate your feedback. Sometimes I just have quite strong opinions on what I want to do with Scribble since I spent the last six years working and thinking about it.