-
Notifications
You must be signed in to change notification settings - Fork 45
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
Is there a way to read active plugins? #1115
Comments
Hi @KrohnicDev Thank you for reaching out! Unfortunately there's no API that can help you to read a list of active plugins. Plugins are loaded based on Line 114 in 84e089a
Would you be able to provide a brief description on the issue you're trying to solve by getting a list of active plugins? Thank you! |
I would like to print what plugins are active on startup AND allow use of default plugins. Currently there is no way to do both. If you want to print active plugins, you have to set them explicitly. |
Hi @KrohnicDev There's a logging of a loaded and rearranged plugins. It's a list of effective plugins that takes into account
Line 168 in 31436c5
|
Thanks. I also have a use case where I would like to execute some logic based on whether efm/efm2 plugin is active. Based on this discussion, I assume that it's currently not possible. Could you please confirm? |
Hi @KrohnicDev I think you can use the following workaround to check whether particular plugin is loaded. The idea is described here: The code example provided on that page shows how to use
Please pat attention that I hope that helps. |
Hi! I would like to read programmatically what plugins are active when
wrapperPlugins
property is not explicitly set, i.e. what are the default plugins. Is there an API for that?The text was updated successfully, but these errors were encountered: