Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: Plugins or extensions of some kind. #3

Open
EmmaTheMartian opened this issue Feb 1, 2022 · 2 comments
Open

Idea: Plugins or extensions of some kind. #3

EmmaTheMartian opened this issue Feb 1, 2022 · 2 comments

Comments

@EmmaTheMartian
Copy link

Hello! I was planning to make a V IDE actually (With the same name in mind too 馃槀), 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 called plugins or something similar, then, people can program their plugin in V, then compile with -shared and put the .so / .dylib / .dll in the plugins folder, for it to be loaded with dl.open_opt and dl.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.

@pisaiah
Copy link
Owner

pisaiah commented Feb 1, 2022

I've added a basic plugin system in the latest commit (b7f787b). Currently the main Window object is passed to the plugin.

@EmmaTheMartian
Copy link
Author

Okay, nice! I was just working on a small PR for a plugin system! 馃槀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants