InspectionListener not detecting anything
Planned
Hi,
I'm trying to listen to inspections in my plugin
package net.tunisoft.inspect;
import com.intellij.codeInspection.ex.InspectListener
import com.intellij.codeInspection.ex.InspectionToolWrapper
class InspectionListener : InspectListener {
override fun inspectionFinished(
duration: Long,
threadId: Long,
tool: InspectionToolWrapper<*, *>?,
kind: InspectListener.InspectionKind?
) {
super.inspectionFinished(duration, threadId, tool, kind)
}
override fun activityFinished(duration: Long, threadId: Long, activityKind: InspectListener.ActivityKind?) {
super.activityFinished(duration, threadId, activityKind)
}
}
Plugin.xml
<projectListeners>
<listener
class="net.tunisoft.inspect.InspectionListener"
topic="com.intellij.codeInspection.ex.InspectListener"/>
<listener class="net.tunisoft.inspect.ProblemListener"
topic="com.intellij.problems.ProblemListener"/>
</projectListeners>
The problem listener works fine but not the InspectionListener
Am I missing something obvious?
Thank you for your help
Please sign in to leave a comment.