Community
Participate
Working Groups
In JDT CodeMining, a user reported the following issue https://github.com/angelozerr/jdt-codemining/issues/52 The idea is to show mining only for the selected line. This feature requires a new API for codemining to compute and refresh the UI just for a given line. Today I have not worked on this issue, but I think it could be a cool feature.
I also like this idea! > to compute and refresh the UI just for a given line. I don't think we need to compute it for a single line. Because if you think about the use-case here, the user is most likely going to navigate code and read multiple lines on the same file. So having them all computed can be useful. It seems to me that a strategy to only "filter" for the current line in the CodeMiningManager would be enough. The good thing is that it wouldn't require extensions to add anything to support this; it'd be up to consumer (usually the editor) to deal with enablement of the code mining (current line vs visible lines).