In our plugin we have created several Code Inspections for different file types.
Example for how we created them:
We need to create an inspector for go.mod files.
What should be used in plugin.xml as a language under localInspection tag?
What is the correct visitor (extending PsiElementVisitor) to be used in this case?