I'm fairly new to IntelliJ, and very new to Plugin development. I might be asking about things that have already been implemented or posted (I searched), and if so I apologize. Basically, I'm wondering which openapi classes to get started with.
I want to make an editor with all the editing capabilities/features of the build-in editor (highlighting, inspection, etc.), plus some additional functionality. I want persistent text (comments) that will appear inline, without changing the underlying file. I also want to click a line number, drag it, and fold all the lines dragged over. Reverse to unfold.
For the first bit, I could probably get the original Document, combine it with editor state info to make another Document, and write changes through as appropriate. However, I want line numbers to ignore my special text, and I don't think that's possible with the default editor.
For click-drag, I don't think I can use the default editor at all, since line numbers aren't selectable...
Ideally, what I want is to take the default editor, with its default rendering, chop the rendered display into pieces, and hide/intersperse those as necessary. I'm fairly sure that's impossible, though. Can I use the editor, but just change its rendering? I want to change as little as possible, since I can't tell from the API documentation what behavior is inherited by any editor, and what behavior is implemented in the default editor.
I also have some more questions, about Go To Implementation, and a possible Go Back operation... should I post those in a separate thread?