Show test and main packages separately


In my Maven project, for every package in the src/main/java directory I have an identical 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/ or main/java/ 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,

Please sign in to leave a comment.