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>
3 comments
Comment actions Permalink
Official 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

Comment actions Permalink

I don't think this is possible. Why do you want to do this programmatically?

 

Bas

0
Comment actions Permalink

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

0

Please sign in to leave a comment.