Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse displaying one of the source folder (src/test) in different color compared to source folder - src/main?

Please, can anyone tell me what is the difference Eclipse is depicting between (1) and (2) the attached image?

eclipse-image-displaying-the-difference

Tried googling, but couldn't find any proper source stating above :)

like image 580
Lokeshwar Tailor Avatar asked May 29 '18 10:05

Lokeshwar Tailor


1 Answers

This feature was introduced in Eclipse 4.8 to indicate that a source folder contains test code.

See New and Noteworthy, the section "Test sources" describes it in more detail.

I'll quote the relevant part here:

Test source folders and dependencies are shown with a darker icon in the build path settings, the package explorer and other locations. This can be disabled in Preferences > Java > Appearance

Eclipse settings

like image 81
user1438038 Avatar answered Oct 02 '22 19:10

user1438038