FR: Add plugin dependencies

This post has been migrated from the obsidian-api repo:

Although not technically part of the API, I think it would be very useful for Obsidian to support plugin dependencies for other plugins. For instance, ‘extended context menu’ (GitHub - phibr0/obsidian-extended-context-menu: Provides an API for other Obsidian Plugins to create custom Context Menus in the Editor without them overriding each other.) exists primarily to be extended by other plugins.
Furthermore, some plugins might extend (eg) dataview by using its query language within the plugin.

Is there any chance plugins will be able to specify dependencies on other plugins? This can improve compatibility and decrease code duplication, while making it easier for users to install. Of course, it should be clear to the user what other plugins will be installed.

1 Like