justlostintime wrote: ↑Friday 21st January 2022 3:18am
Have you thought about loading gambas scripts as plugins for the tools.
Once loaded as a plugin the scripts would have direct access to all parts of the ide.
I think that's going a bit high tech , i like this low-brow thing i have done, it's not too invasive on the IDE, just a menu and a way to export/import to and from the source text.
i think plugins with direct access to the ide will screw Bens life up with problems/bugs that are out of his control/understanding because of sketchy code (like mine lol

)..
Not saying it's not a good idea m8, i've shown you how to integrate something like this into the IDE here but you probably know more about integrating scripts into already running apps than i do so I'll leave it with you
I think a side-goal here , as well as having a really handy feature for custom actions, is to help ease Bens load, the External Tools feature could turn a whole lot of "can you make gambas do this?" requests into , "Yes, it already can, just make an External Tool command"
But i sense he is VERY reluctant to have things that mess about with IDE at a code level , I do it, my bruces-patched branch has the Bonus-Tweaks / custom component launcher feature (pretty sure Ben hates it, but i love it) that shows custom components as they look in the IDE as opposed to the normal just a box with it's name. But when working on a component it causes various problems especially when adding/removing properties, the properties change in the loaded project but the IDE still has the old version loaded so raises errors. you just have to compile the control and re-start gambas.
Going off point a bit there though, the point was as i'm mucking around with the IDE i am causing problems that someone who didn't understand might get on the bugtracker and report a bug to Ben. So wouldn't want that.
Just something i think to be aware of if adding things to customize the IDE, especially things that access internal objects.
I could push this to a merge request and see if Ben likes it or not (the concept, not the code, pretty sure he'll be horrified at my code lol, he just understands how to do things properly better than all of us)
But he could take the merge and clean it up to be all gambas perfect, who knows eh?
