I'm totally new to IntelliJ plugin development and could use some help getting started on my idea. I'd like to create a plugin provides a better navigation experience when looking at Conjure files, which are used to define APIs and generate java classes. (https://github.com/palantir/conjure)
There's two main features I'd like to have:
1. cmd + click on a value to jump to the definition of that value in the conjure file
2. option + click on a value to open the corresponding java class definition (matches the name of the value)
Here's an example of a Conjure file to show what I'm talking about:
The parts that I'm struggling with are:
a. How to tell the plugin to only do this for certain .yml files, my thought being to check that its (1) a yml file and (2) is in a folder name "conjure"
b. how to respond to cmd + click and option + click and get the text that was clicked to do things with
Would greatly appreciate any type of help I can get for any part of this problem. I've read a lot of the docs and all the related forum posts I can find, but I'm still having trouble with what I mentioned.