Summary: | [code mining] Gives the capability to update code mining for a given line | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Angelo ZERR <azerr> |
Component: | Text | Assignee: | Platform-Text-Inbox <platform-text-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | mistria |
Version: | 4.8 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Angelo ZERR
2018-11-19 09:55:39 EST
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).
|