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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide functionality for add-on development #4903

Open
wants to merge 32 commits into
base: develop
Choose a base branch
from

Conversation

cwisniew
Copy link
Member

@cwisniew cwisniew commented Sep 12, 2024

Identify the Bug or Feature request

fixes #3460

Description of the Change

This change adds the following features to the development tab of the dialog from File -> Add On Libraries.

  • Directory to monitor for Add-on development
  • Ability to import Add-ons within this directory
  • Create the directory structure and example json files for new add on
  • Create a .mtlib file based on the selected directory

Possible Drawbacks

This still requires the user to import the add-on from the directory by clicking a button; add-on importing for large libraries is not something that is suitable to be done automatically on every file change. This is especially the case for windows where the file system often reports multiple change events for a single change. But it is one step closer to providing an API that an IDE could use to trigger importing of an add-on.

Documentation Notes

This change adds the following features to the development tab of the dialog from File -> Add On Libraries.

  • Directory to monitor for Add-on development
  • Ability to import Add-ons within this directory
  • Create the directory structure and example json files for new add on
  • Create a .mtlib file based on the selected directory

CleanShot 2024-09-12 at 23 18 01@2x

CleanShot 2024-09-12 at 23 26 47@2x

Release Notes

  • Provide functionality for add-on development

This change is Reviewable

cwisniew and others added 30 commits August 10, 2023 21:09
Load external libraries from directory
@cwisniew cwisniew added the feature Adding functionality that adds value label Sep 12, 2024
@thelsing
Copy link
Collaborator

Would it also be possible to autoinstall an Add-on from a github-repo? i.e. download the repo as zip, rename to mtlib and import?

@cwisniew
Copy link
Member Author

Would it also be possible to autoinstall an Add-on from a github-repo? i.e. download the repo as zip, rename to mtlib and import?

This is the eventual goal (its why there is a git URL in the add on) but not as part of this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding functionality that adds value
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: One click/command addon loading
3 participants