public static TextConsoleBuilder createConsoleBuilder(Project project) {
TextConsoleBuilder builder = TextConsoleBuilderFactory.getInstance().createBuilder(project);
//final ExceptionFilter exceptionFilter = new ExceptionFilter(new ProjectScopeImpl(project, new ProjectFileIndexFacade(project, ge)));
Filter[] filters = {new RegexpFilter(project, CONSOLE_FILTER_REGEXP)};
for (Filter filter : filters) {
builder.addFilter(filter);
}
return builder;
}