
Still trying to work on putting out this release milestone...
Very busy so I haven't been on here much lately as a result.
One thing I've been looking at along the way is trying to figure out how they've implemented autocomplete 'over there', specifically the user customizable "snippets". In my opinion those are things every IDE in 2022 should have as a baseline features. At a minimum some sort of 'scripters scrapbook' (yes, I'm aware of stacks of the past going by that name), where stack authors could store short or one-liner sort of scripts that could be inserted into the script editor by some means, would be nice.
But a quick retrospective look into the evolution of the script editor produced a very surprising result! It turns out that the autoComplete functions were actually in the LiveCode Community Edition in version 8! . See it for yourself at around line 3468 of "revSEEditorBehavior.livecodescript" in LCC v8.1.10! Diff-checking shows those handlers were later removed from LCC ver 9 and then became a commercial-only feature moving forward (with the exceptions of basic brackets and quotes completion). How much forward did they move it? I don't know, but we can certainly work with the LC CE 8 versions since it's GPLv3. SO... I think the release following the one I'm currently working on, we need to get autoCompletes re-integrated into the FOSS version!
I have a few ideas on how I would do it differently. For one I really don't like the fact that their snippets editor's "snippets" are stored in the revPreferences stack, which I've had to reset many times in the past and doing so means you've lost all of your custom snippets., and you can't really edit them in a text / code editor since revPreferences is in stack file format. I would add a way to save the scriptEditor selections to "snippet" files (json text) in the IDE user customization directory, and add a way to insert snippets with or without the autocomplete handling (I'm thinking adding access from the editors contextual menu). I could probably even do it in a way that maintains some compatibility with LC Ltd. products (LC's autoComplete "snippets" are just arrays with a few keys). I also think the way their autoComplete popup list works is (as the kids say) 'janky', so if we could get it to work/feel like the Atom editor's autocomplete that would be great!
Anyway I thought finding that Open-Source version autoComplete was an exciting discovery so I took some time to share.
... back to work ...