PythonConsoleView (@NotNull Sdk sdk) { PythonConsoleView consoleView = new PythonConsoleView(myProject, myTitle, sdk, false); myPydevConsoleCommunication.setConsoleFile(consoleView.getVirtualFile()); consoleView.addMessageFilter(new PythonTracebackFilter(myProject)); consoleView.addMessageFilter(new PythonImportErrorFilter(myProject)); return consoleView; }