[plugin.xml] extensions tag in the IntentionPowerPack plugin

Hello,
Can someone explain me what is the purpose of this
"com.intellij.diagnostic.ITNReporter"
extension?

found in the plugin.xml of the IntentionPowerPack plugin:

]]>

Thanks,
Loïc Lefèvre


3 comments
Comment actions Permalink

That extensions/errorHandler tag allows a plugin to hook into the standard
exception reporting dialog, and allow users to click the report button to call
some custom code to report exceptions.

Loïc Lefèvre wrote:

Hello,
Can someone explain me what is the purpose of this
"com.intellij.diagnostic.ITNReporter"
extension?

found in the plugin.xml of the IntentionPowerPack plugin:

<extensions xmlns="com.intellij">
<errorHandler implementation="com.intellij.diagnostic.ITNReporter"/>
</extensions>

Thanks,
Loïc Lefèvre

0
Comment actions Permalink

Hmmm, and do you advise to add such thing in every plugin or is it reserved
to Jetbrains plugin only?

"Keith Lea" <keith@cs.oswego.edu> a écrit dans le message de
news:deaf5v$b1r$1@is.intellij.net...

That extensions/errorHandler tag allows a plugin to hook into the standard
exception reporting dialog, and allow users to click the report button to

call

some custom code to report exceptions.

>

Loïc Lefèvre wrote:

Hello,
Can someone explain me what is the purpose of this
"com.intellij.diagnostic.ITNReporter"
extension?

>

found in the plugin.xml of the IntentionPowerPack plugin:

>

<extensions xmlns="com.intellij">
<errorHandler

implementation="com.intellij.diagnostic.ITNReporter"/>

</extensions>

>

Thanks,
Loïc Lefèvre

>
>



0
Comment actions Permalink

I think you should provide your own implementation, which posts to your own
website or e-mails you or something.

Loïc Lefèvre wrote:

Hmmm, and do you advise to add such thing in every plugin or is it reserved
to Jetbrains plugin only?

"Keith Lea" <keith@cs.oswego.edu> a écrit dans le message de
news:deaf5v$b1r$1@is.intellij.net...

>>That extensions/errorHandler tag allows a plugin to hook into the standard
>>exception reporting dialog, and allow users to click the report button to


call

>>some custom code to report exceptions.
>>
>>Loïc Lefèvre wrote:
>>
>>>Hello,
>>>Can someone explain me what is the purpose of this
>>>"com.intellij.diagnostic.ITNReporter"
>>>extension?
>>>
>>>found in the plugin.xml of the IntentionPowerPack plugin:
>>>
>>> >>>]]> <errorHandler


implementation="com.intellij.diagnostic.ITNReporter"/>

>>></extensions>
>>>
>>>Thanks,
>>>Loïc Lefèvre
>>>
>>>


0

Please sign in to leave a comment.