Open EmmaTheMartian opened 2 years ago
I've added a basic plugin system in the latest commit (https://github.com/IsaiahPatton/Vide/commit/b7f787b9e4482447845f77d4b4ac8698dc200d62). Currently the main Window
object is passed to the plugin.
Okay, nice! I was just working on a small PR for a plugin system! :joy:
Hello! I was planning to make a V IDE actually (With the same name in mind too :joy:), but the UI module was... harsh to me.
Point is, I would love to have a system of plugins or extensions for this IDE, I can attempt to make a PR for this, although I cannot promise that I will yet.
My thought is making use of the
dl
module, with a folder calledplugins
or something similar, then, people can program their plugin in V, then compile with-shared
and put the.so
/.dylib
/.dll
in theplugins
folder, for it to be loaded withdl.open_opt
anddl.sym_opt
.The hard part is making an API or some other way for plugins to interact with the UI or add buttons to a menu.