Today I can write the start of each package or path "part" to select it, like this:
or.apa.App will match (among others) org.apache.Appender
It would be nice if it was possible to use pattern matching, like the one used for matching file/class names, to match against package or path "parts", like this:
*marshal.Int will match (among others) com.sun.xml.bind.unmarshaller.InterningXMLReader
My use case is that a standard in Maven projects is to have the module directory named after artifact id, that typically has some of the group id in it, like this (look at Maven 2 repository -> http://repo1.maven.org/maven2/org/apache/maven/archetypes
):
maven-archetype-archetype
maven-archetype-bundles
maven-archetype-j2ee-simple
...
Say I want to jump to the pom.xml file of the maven-archetype-j2ee-simple project I have to enter maven-archetype-j2/pom.xml to uniquely identify the file. It would be much nicer to be able to say *j2ee/pom.xml
I can agree on that this pattern matching is needed more for paths than packages, but I guess they are quite related.