feature: lua 'script_templates' - #238
Conversation
|
Hi @howhow2315, thanks a lot for the contribution! Sorry it took me so long to review, lots of stuff happened these last weeks 😅
There's the LuaScriptLanguage::_get_built_in_templates method that returns script templates. Right now it only ships the "Default" and "Empty" templates. I think rather than adding a separate plugin that copies script templates to the project's script template folder, a simpler approach would be to change Another thing, what's the use case for the |
|
the reason theres mostly comments on my thought processes rather than fact checking is 70% of this was done on a plane without wifi lol |
a simple addition that adds a plugin (tool) which dynamically imports solid Lua script_templates
as apart of this i refactored the lua_repl into a subfolder so the two plugins can coexist
if theres script_templates that are included somewhere in the source code that i missed thatd be very awkward! but i considered that while making this and thought it might be more user friendly to have it be optional like this