Build Status

Eclipse plugin for JDT Java Code Mining and Git Code Mining (Experimental)

JUnit CodeMining Demo

JDT CodeMining is a an Eclipse plugin which requires Eclipse Photon based on JFace Text which provides CodeMining support.

JUnit CodeMining Demo


JDT Java CodeMining requires Eclipse Photon (4.8) or above.

It is compatible with Eclipse 2018-12 (4.10) in which basic CodeMining features are provided and enriched by JDT Java CodeMining.

Install and activation

To install JDT Java CodeMining:

By default minings are disabled, you must activate them with preferences:

Show variable values inline while debugging

To show the result of the toString() method of an Object instead of for example myObject= Integer (id=20) it is recommended to enable the following option:

Go to Preferences > Java > Debug > Detail Formatters. On the section Show variable details ('toString()' value) select As the label for all variables.


JUnit CodeMining Debugging ToString() Before


JUnit CodeMining Debugging ToString() After



jdt-codemining provides several JDT Java CodeMining:


Help us to get this into the Eclipse standard

Please star this project if you want to have those CodeMinings inside JDT. After discussing with JDT Team, this CodeMining support will not included for Photon release in June but perhaps in september if jdt-codemining receives good feedback. Indeed as CodeMining is a new feature which could cause some trouble (like performance) and JDT Team are very busy, they prefer not include my work on Java CodeMining for Photon release in June.

So please star this github project and create any issues to know your feelings and bugs. Thanks!

Issues can be about:


Here several demos with:

Java CodeMining Demo

JUnit CodeMining Demo

JUnit CodeMining Demo