       ideView.tabView.addPane pane
 
     @setActiveTabView ideView.tabView
+    @ideViews.push ideView
 
     if parentSplitView and panelIndexInParent
       parentSplitView.options.views[panelIndexInParent] = ideView

      type      : type
      views     : [ null, newIDEView ]

    splitView.once 'viewAppended', ->
      splitView.panels.first.attach ideView
      splitView.panels[0] = ideView.parent


    appView   = @getView()
    workspace = @workspace = new Workspace { layoutOptions }
    @ideViews = []

    workspace.once 'ready', =>
      panel = workspace.getView()
      appView.addSubView panel

      panel.once 'viewAppended', =>
        ideView = panel.getPaneByName 'editorPane'
        @setActiveTabView ideView.tabView
        @ideViews.push ideView
        appView.emit 'KeyViewIsSet'

  setActiveTabView: (tabView) ->
