Pycharm plugin suppress unresolved symbol warning
Answered
I am trying to write a pycharm plugin that will disable some unresolved symbol warning displayed by PyCharm (those symbols are injected by internal python framework).
I though that I could do it by implementing com.intellij.codeInspection.InspectionSuppressor but it doesn't seem to work (probably because I haven't registered it properly?). Does anyone have example/proposed solution for the above?
Please sign in to leave a comment.
Please try register implementation of com.intellij.codeInsight.highlighting.HighlightErrorFilter to suppress highlighting error elements programmatically.
Thanks, it seems like it would work. But I've found a way that better suited my needs.
I changed the defaultExtensionNs to "Pythonid"/
Then I could register "inspectionExtension" (PyInspectionExtension) that provides exactly what I need + it has full reference resolution in place so suppression can be smart and actually understand the python code.