Inspection Tool Provider
I am declaring inspectionToolProvider in the plugin.xml file as follows which works ---
How can i achieve this programatically?
<extensions defaultExtensionNs="com.intellij">
<inspectionToolProvider implementation="ImplementationClass">
</extensions>
Please sign in to leave a comment.
Sorry, I don't know of any way to get exactly what you want. Perhaps your inspections could not show any results when the user is not logged in? You may also want to submit a feature request.
Bas
I don't think this is possible. Why do you want to do this programmatically?
Bas
Thanks for getting back Bas.
I don't want the inspection to be available by default when the IDE starts.I thought there might be some way to achieve that programatically similar to the way we can achieve to register an Action programatically besides registering in plugin.xml. I want to implement some kind of login module where the inspections get available only after the user logins. Please let me know if there is any other way to do that.
Thanks and Regards,
Hemansu