use of com.jetbrains.python.run.PythonTracebackFilter in project intellij-community by JetBrains.
the class PyDebugConsoleBuilder method createConsole.
protected ConsoleView createConsole() {
PythonDebugLanguageConsoleView consoleView = new PythonDebugLanguageConsoleView(myProject, mySdk);
consoleView.addMessageFilter(new PythonTracebackFilter(myProject));
consoleView.addMessageFilter(new PyRunCythonExtensionsFilter(myProject));
return consoleView;
}
use of com.jetbrains.python.run.PythonTracebackFilter in project intellij-community by JetBrains.
the class SphinxBaseCommand method execute.
public void execute(@NotNull final Module module) {
final Project project = module.getProject();
try {
if (!setWorkDir(module))
return;
final ProcessHandler process = createProcess(module);
new RunContentExecutor(project, process).withFilter(new PythonTracebackFilter(project)).withTitle("reStructuredText").withRerun(() -> execute(module)).withAfterCompletion(getAfterTask(module)).run();
} catch (ExecutionException e) {
Messages.showErrorDialog(e.getMessage(), "ReStructuredText Error");
}
}
Aggregations