Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 544842

Summary: [code mining] No code mining line headers are shown for class references
Product: [Eclipse Project] JDT Reporter: Gayan Perera <gayanper>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: loskutov, mistria
Version: 4.11   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Gayan Perera CLA 2019-02-26 13:08:41 EST
When opening eclipse with previously opened editors, in those editors code mining are not shown. For example reference minings are not shown. To get mining the user should close the file and reopen it.
Comment 1 Andrey Loskutov CLA 2019-02-26 13:10:16 EST
Is this regression in 4.11? Which Eclipse version are you using?
Comment 2 Gayan Perera CLA 2019-02-26 13:19:12 EST
Version: 2019-03 (4.11)
Build id: I20190220-1800
Comment 3 Gayan Perera CLA 2019-02-26 13:19:20 EST
Version: 2019-03 (4.11)
Build id: I20190220-1800
Comment 4 Andrey Loskutov CLA 2019-02-26 13:20:29 EST
Is this regression in 4.11?
Comment 5 Gayan Perera CLA 2019-02-26 13:21:36 EST
Yes its working fine in 4.10

Sorry for double post.

Well i also noticed that even when we open the file for a very first time after starting IDE, the mining are not shown, they will be shown only if i reopen the file.
Comment 6 Andrey Loskutov CLA 2019-02-26 17:10:02 EST
Mickael, any idea?
Comment 7 Mickael Istria CLA 2019-02-27 01:41:45 EST
(In reply to Andrey Loskutov from comment #6)
> Mickael, any idea?

Not rightnnow.without a debugger. JavaCodeMiningReconcilier would be where I'd put the first breakpoint to compare executions in both cases.
Comment 8 Mickael Istria CLA 2019-02-27 11:06:00 EST
Using today's I-Build, I couldn't reproduce the problem. It's very likely that I didn't perform the right steps.
@Gayan: can you please details the simplest steps to reproduce this issue?
Comment 9 Gayan Perera CLA 2019-02-27 11:10:13 EST
Strange thing happened, i did a update and i'm pretty sure the Eclipse SDK didn't update, but starting with a clean project i tested, and now everything seems to work. 

May be if someone else also can confirm this we can close this issue.
Comment 10 Gayan Perera CLA 2019-02-27 11:10:43 EST
@Mickael i think we can close this issue :)
Comment 11 Mickael Istria CLA 2019-02-27 11:16:36 EST
Closing then.
Thanks for testing again, and feel free to reopen if you can reproduce it and sort out some steps to reproduce.