I am trying to create a plugin which allows me to add annotations to a json file. Annotations in this context simply mean that the file will be parsed for specific text and if the text is found, there will some sort of a visual indicator in the left or right gutter. Ideally this will be very similar to the external annotations feature, which is currently supported for java only ( I think).
I have looked at https://www.jetbrains.org/intellij/sdk/docs/tutorials/custom_language_support/annotator.html
I got the sample to work. But if I change the plugin.xml from:
<annotator language="JAVA" implementationClass="com.simpleplugin.SimpleAnnotator"/>
<annotator language="JSON" implementationClass="com.simpleplugin.SimpleAnnotator"/>
The SimpleAnnotator is not called when a json file is opened. I will appreciate any help you can provide.