-
Notifications
You must be signed in to change notification settings - Fork 9
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework: Addons #56
Rework: Addons #56
Conversation
Since addons are being reworked, I think these things should be considered:
And that's all I can think of right now, good luck working on that with my pookie bear Notro 🥰 |
I agree. Addons will be given to a SkEditorAPI instance within the class. For SkEditor itself which uses ApiVult a bit everywhere, I suggest splitting the features into several other classes (logs, windows, ...)
Even with a "data" file for addons, we'll still have to instantiate their IAddon class (for registries and all), so around performance, we should be around the same anyway. To avoid add-ons creating multiple classes I think we can just check the namespace of the classes, and if they are similar make an error (that would also avoid addons version conflicts)
Yup, it's planned an addon will be able to load before or after another addon. How will it handle this internally? I have no single ideas yet xD
Gotcha, maybe @NotroDev would point them out as I'm working on this PR :D |
I mean, "data" file for addons would be also useful for specifying dependency on other addons. It would be also nice to be able to declare libraries that SkEditor would automatically download for addons (something like Bukkit's |
# Conflicts: # SkEditor/API/AddonLoader.cs
# Conflicts: # SkEditor/Controls/Docs/DocumentationControl.axaml
…view once installed
This PR aims to enhance add-on integration into SkEditor, with fewer hard-coded things, and make add-on developers' lives easier. The list of ideas for rework below is subject to changes if I have new ideas. Current addon developers are welcome to talk about this :) (c.f. @GliczDev)
Current To-Do
Other Related Rework
Deprecation of ApiVault
SkEditorAPI
classRequires textmate/skdoc PR #55