LanguageConsoleView (@NotNull Project project, @NotNull Language language) { final MyHelper helper = new MyHelper(project, language.getDisplayName() + " Console", language, psiFileFactory); GutteredLanguageConsole consoleView = new GutteredLanguageConsole(helper, gutterContentProvider); if (oneLineInput) { consoleView.getConsoleEditor().setOneLineMode(true); } if (executeActionHandler != null) { assert historyType != null; doInitAction(consoleView, executeActionHandler, historyType, false); } if (processInputStateKey != null) { assert executeActionHandler != null; if (PropertiesComponent.getInstance().getBoolean(processInputStateKey)) { executeActionHandler.myUseProcessStdIn = true; DaemonCodeAnalyzer daemonCodeAnalyzer = DaemonCodeAnalyzer.getInstance(consoleView.getProject()); daemonCodeAnalyzer.setHighlightingEnabled(consoleView.getFile(), false); } consoleView.addCustomConsoleAction(new UseConsoleInputAction(processInputStateKey)); } return consoleView; }