 
     splitView.on 'ResizeDidStop', KD.utils.throttle 500, @bound 'doResize'
 
+
   mergeSplitView: ->
+
     panel     = @activeTabView.parent.parent
     splitView = panel.parent
     {parent}  = splitView

    # @getView().unsetClass 'sidebar-collapsed'
    # @isSidebarCollapsed = no

  toggleSidebar: ->
    if @isSidebarCollapsed then @expandSidebar() else @collapseSidebar()

  splitVertically: ->
    @splitTabView 'vertical'

  splitHorizontally: ->
    @splitTabView 'horizontal'

  createNewFile: do ->

          @createNewTerminal machine
          @setActiveTabView @ideViews.first.tabView


  getMountedMachine: (callback = noop) ->

    KD.getSingleton('computeController').fetchMachines (err, machines) =>
      if err
        KD.showError "Couldn't fetch your VMs"
