Add Quickfix to existing Inspection Follow
Answered
Hi all,
I am trying to develop a plugin which contains a few quickfixes for already existing inspections and I could not figure out how to link my quickfixes to an inspection which already exists.
Is there a proper way to do this? Or a work-around to achieve the linkage?
Thanks in advance
Please sign in to leave a comment.
You can always provide IntentionAction (does not really "integrate" well though).
There's a number of extensions though:
For unresolved reference: com.intellij.codeInsight.quickfix.UnresolvedReferenceQuickFixProvider
For PsiReference implementation: com.intellij.codeInspection.LocalQuickFixProvider
For PsiErrorElement: com.intellij.codeInsight.daemon.impl.analysis.ErrorQuickFixProvider