Bug 545661 - restrict Code Minings search to ignore JRE and jar Dependencies
Summary: restrict Code Minings search to ignore JRE and jar Dependencies
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.12   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL: https://stackoverflow.com/questions/5...
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-22 06:00 EDT by Andrej Kvasnica CLA
Modified: 2024-02-25 15:44 EST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Kvasnica CLA 2019-03-22 06:00:29 EDT
The Eclipse 2018-12 (4.10) added Code Minings support in Java editor which is supercool feature generating pseudo-line above the type/field/method with reference count and after click it perform search to show those references in Search tab.

The problem is that this counts also stuff from JRE and jar Dependencies, so with specific field

    private ShipmentRepository shipmentRepository;

there is only 1 reference found (it's in my code), but for more generic method

    public void add(Shipment shipment)

it founds 67 references (with 66 in spring and tomcat dependent jars and only 1 in my project code).

I am only interested in that 1 reference in my code, but I am not able to restrict Code Minings search to ignore JRE and jar Dependencies.

I think it will be cool to add this as the config option (?) here.

I asked this at stack overflow https://stackoverflow.com/questions/55282077/how-to-restrict-eclipse-code-minings-search-to-avoid-jre-and-dependencies being redirected to codemining at github https://github.com/angelozerr/jdt-codemining/issues/97 beeing redirected here.
Comment 1 Adam Swartz CLA 2020-01-27 13:42:21 EST
I often run out of memory when I have code minings on.  Would also be great if it could run on demand.
Comment 2 Eclipse Genie CLA 2022-01-17 10:32:31 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 3 Eclipse Genie CLA 2024-02-25 15:44:40 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.