"SQL dialect is not configured" Inspection Follow
Hello Community,
I want to create a similar code inspections like seen on this image.
That's my questions:
- Can I copy the code from somewhere?
- What class do I need to extend?
- What's the registration for the plugin.xml?
I hope, that one of you could help me. Thanks in advance buddies! :)
Kind regards,
Fabian
Please sign in to leave a comment.
You need to implement com.intellij.codeInsight.daemon.ProjectSdkSetupValidator. You can add it to your plugin.xml via:
"<projectSdkSetupValidator implementation="io.github.intellij.dlanguage.DLangProjectDmdSetupValidator" />"
Hi 13nixonf,
Thanks for your help, but it didn't worked for me. I just found the solution, how to do such messages:
plugin.xml:
SomeInspection.java: