I'm trying to create a plugin for a test framework i created for CLION and when following the docs ran into some issues with dependencies I'm missing on my end. This was the tutorial - https://plugins.jetbrains.com/docs/intellij/line-marker-provider.html . Below is a snippet from my plugin.xml. As of now it runs on every file but i only want the RunLineMarkr to run on files written in CPP (.cpp, .tpp, and .h files) . I tried putting in "JAVA" as the language as the tutorial instructed (just as a quick test) and it was not able to resolve that value with the default project setup.
<runLineMarkerContributor language="" implementationClass="BenchmarkrRunLineMarkerContributor"/>
A few of the options i have to choose from are TEXT, HTML, DTD, JSON, and XML.
Below is a snippet from my build.gradle with all the plugins & dependencies I've tried adding to my project as of now, none of them have allowed me to resolve "JAVA" as a language (which is expected i guess because i just added clion/c++ dependencies) but I haven't been able to find / resolve options for C++ type files either (which is more important in my case).
// See https://github.com/JetBrains/gradle-intellij-plugin/
version = '2021.2.2'
type = 'CL'
plugins = [
Is there a package / plugin i need to add to get access / options to other language types?
The other tokens I'm not able to resolve is PsiMethod or PsiIdentifier . What dependency / plugin do i need to add to get access to those classes?