Search in sources :

Example 1 with NodeStackTraceFilter

use of com.intellij.javascript.nodejs.NodeStackTraceFilter in project intellij-plugins by JetBrains.

the class KarmaServerLogComponent method createConsole.

@NotNull
private static ConsoleView createConsole(@NotNull Project project) {
    GlobalSearchScope scope = GlobalSearchScope.allScope(project);
    TextConsoleBuilderImpl builder = new TextConsoleBuilderImpl(project, scope);
    builder.setUsePredefinedMessageFilter(false);
    builder.addFilter(new NodeStackTraceFilter(project));
    return builder.getConsole();
}
Also used : GlobalSearchScope(com.intellij.psi.search.GlobalSearchScope) NodeStackTraceFilter(com.intellij.javascript.nodejs.NodeStackTraceFilter) TextConsoleBuilderImpl(com.intellij.execution.filters.TextConsoleBuilderImpl) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

TextConsoleBuilderImpl (com.intellij.execution.filters.TextConsoleBuilderImpl)1 NodeStackTraceFilter (com.intellij.javascript.nodejs.NodeStackTraceFilter)1 GlobalSearchScope (com.intellij.psi.search.GlobalSearchScope)1 NotNull (org.jetbrains.annotations.NotNull)1