facebook
To log a new issue, simply let us know about the problem/suggestion you have in our Forums and we'll help you from there!
1 comment Last updated 6 years ago
support-swapna commented 6 years, 8 months ago
#589579

User is working with Eclemma code coverage and when the code is run, by default the java editor displays color code for the coverage annotations and the source lines containing executable code get the following color code:

green for fully covered lines,
yellow for partly covered lines (some instructions or branches missed) and
red for lines that have not been executed at all.

With DD themes, light or dark, the editor no longer displays the color code. We need to go to the Preferences > Text Editors > Annotations, select ‘Full Coverage’ annotation type and reset it to a different color for the editor to pick up the changes.

Steps to replicate :

1. Create a Java project with a java class.
2. You will see a dropdown icon in the toolbar for Coverage. Select ‘Coverage as’ and run it.
3. The editor displays the color code for the source code in Classic theme as shown in this screenshot : https://gyazo.com/555539fbba92cec5eaaacb68cded993b
4. With a DD theme, no color coding is displayed and we have to reset it again in the Preferences as shown here :
https://gyazo.com/ffd36f95a0e2abd71782bef68c3b796d

Viewing 1 comment (of 1 total)