How to register custom inspections in a plugin?

I'm trying to write a plugin that has custom inspections. How would I go about registering this inspections with the IDE, without adding them manually in Settings?

Thanks all!

1

Hi Oliver,

please refer to https://github.com/JetBrains/intellij-sdk-docs/blob/master/tutorials/code_inspections.md, it contains code inspection sample and the background.

BTW I don't know how to add custom inspections in the Settings manually

Anna

0

请先登录再写评论。