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

Lightweight plugin system #511

Open
royqh1979 opened this issue Oct 19, 2024 · 1 comment
Open

Lightweight plugin system #511

royqh1979 opened this issue Oct 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@royqh1979
Copy link
Owner

royqh1979 commented Oct 19, 2024

Just some basic ideas.

  1. Lua based.
  2. Possible usage (plugin types):
    • Modify contents ( e.g. reformat code, generate code comments using AI ). Triggered by menu item or short-cut
    • Before load? After save? What's the sale point?
  3. UI for plugin's own configurations.
  4. UI for configure common plugin configurations ( e.g. short cuts, add / remove / disable / enable plugins)
  5. Log (to help plugin authors debug)
  6. Lua api to generate http request
  7. Lua api to parse json
  8. Lua api to access settings
  9. Lua api to access editors
@royqh1979 royqh1979 added the enhancement New feature or request label Oct 19, 2024
@royqh1979
Copy link
Owner Author

Just some basic ideas.

  1. Lua based.

  2. Possible usage (plugin types):

    • Modify contents ( e.g. reformat code, generate code comments using AI ). Triggered by menu item or short-cut
    • Before load? After save? What's the sale point?
  3. UI for plugin's own configurations.

  4. UI for configure common plugin configurations ( e.g. short cuts, add / remove / disable / enable plugins)

  1. Provide some predefined obj / vars to be used in the plugin scripts?

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

No branches or pull requests

1 participant