Show test and main packages separately

Hi,

In my Maven project, for every package com.foo.bar in the src/main/java directory I have an identical com.foo.bar package in the src/test/java directory. In the package view, IDEA does not distinguish between these two packages and whenever I want to create a new class it asks me whether I want to create it under test/java/com.foo.bar or main/java/com.foo.bar. Is it possible to configure IDEA so that even in the package view it shows these two packages as two separate nodes of the module in the Project Window's tree?

Thanks in advance,
Behi

Please sign in to leave a comment.