Skip to content

Add an easy way to reload editor addons #13308

@KoBeWi

Description

@KoBeWi

Describe the project you are working on

Addons.

Describe the problem or limitation you are having in your project

When creating a custom plugin, it's normal to reload it many times during development. Currently there are no convenient ways to do that. You either need to go to project settings and toggle the checkbox or restart the editor.

The most convenient way is ironically adding another plugin that will be responsible for refreshing your plugin.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

There needs to be an option to quickly reload a plugin. There are 2 requirements:

  • It should only reload one specific plugin
  • It needs to be quickly accessible, ideally with a shortcut

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

I think it can be a menu called Plugins (or Addons) under Editor, which could look something like this:

Image

There is a reload button and a list of plugins. The idea is that you pick a plugin from the list and the reload button (which has a shortcut assigned) would reload the selected plugin.

The menu is easily accessible and requires a single click.

If this enhancement will not be used often, can it be worked around with a few lines of script?

Yes, you can make a plugin to do that. But if making plugins involves having another plugin then something is wrong.

Is there a reason why this should be core and not an add-on in the asset library?

See above.


btw I know this is very similar to #11612. I came with a concrete implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions