In IDEA 15 how can I limit the duplicated code inspection to only alert me to duplicates in production src. By which I mean src/main/... in Maven terms?
I've tried setting only Production scope in the inspection (unselecting everything else choice). But this has the opposite effect to what I want. Now the test code duplicate isn't highlighted but the production code is still showing the duplicate in the test/ src. How can I switch this round to prioritize only production duplicate code issues, or only duplicates between classes within the same scope?
As test src isn't distibruted code the duplicates IDEA is highlighting between compile and test scopes aren't particulary helpful.