package org.jetbrains.plugins.terminal;

import com.intellij.openapi.project.Project;
import com.intellij.openapi.wm.ToolWindow;
import com.intellij.openapi.wm.ToolWindowFactory;

/**
 * @author traff
 */
public class TerminalToolWindowFactory implements ToolWindowFactory {
  @Override
  public void createToolWindowContent(Project project, ToolWindow toolWindow) {
    TerminalView terminalView = TerminalView.getInstance();
    terminalView.initTerminal(project, toolWindow);
  }
}

@@ -34,16 +34,63 @@
 minal;%0A%0A
+import com.intellij.openapi.project.DumbAware;%0A
 import c
@@ -312,16 +312,27 @@
 wFactory
+, DumbAware
  %7B%0A  @Ov

Work while indexing (PY-10618).