Closed enigmurl closed 3 weeks ago
@enigmurl Thans for the first issue! Yeah I did not use RustRover before but I am using Intellij Idea quite frequently. Indeed I think keeping these infomation inside the editor is interesting and sweet. In this way it maybe more focusing on the workflow. But currently there are some hard parts for the implementation maybe.
Yeah so it's interesting but maybe hard. Currently I am still working on the some more basic functionalities. Yeah if possible you can check the currently codebase and see how to do this! Feel free to contact anytime here or zulip!
Displaying those information is possible with LSP Inlay Hint. If your language server can support inlay hint, LSP4IJ will render it.
I am interested in this project and would like to offer help. In particular, when working on lean I have often felt that in addition to an interactive proof, it would very helpful to have live annotations at several places through the document.
For instance, in something similar to #check, rather than having to scroll over check, it would be nice if it just always appeared, similar to Rust type hints if you've ever seen it in RustRover. Below, the /- -/ denote where the IDE annotations would go.
Similarly, rather than having to move cursor to see the proof goal, it would be helpful if the goal for various parts of the proof were shown automatically (in particular whenever the main goal changes, or some other heuristic). Say, something like this:
Does this sound interesting? If so, I would be willing to help out with development.