Are commands global?

Max Pixel's Avatar

Max Pixel

25 May, 2020 08:32 PM

When I register a command from my plugin using FeatureModuleContext.registerFeature, is the command (second parameter) global, or is it scoped to the plugin from which it was defined?

For example, if I have two plugins that both call registerFeature(this, "open", ...), will that cause a problem?

  1. 1 Posted by Max Pixel on 01 Jun, 2020 05:02 AM

    Max Pixel's Avatar

    I've discovered on my own that commands are namespaced. It's a shame that no answer was posted here in a week.

  2. Max Pixel closed this discussion on 01 Jun, 2020 05:06 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac