VirtualFileFilter

I see in the OpenAPI that there is an interface VirtualFileFilter:

public interface VirtualFileFilter {
public boolean accept(VirtualFile virtualFile);
}

What i'd like to do is to be able to filter files
based on patterns and/or extension. The problem with
the current IntelliJ, is that the file exclusion works
only on exact file names, not giving you the ability
to wildcard. IE.... *.ctp to eliminate jtest class
test parameter configuration files.

I see no way to add a VirtualFileFilter to the existing
VirtualFileSystems. Does anyone have an idea on how i might go about this?

Please sign in to leave a comment.