 
     terminalSessions["New Session"] =
       callback            : => @createTerminal { machine }
-      separator           : canTerminateSessions
+      separator           : (canTerminateSessions or inActiveSessions.length)
+
+    if inActiveSessions.length
+      terminalSessions['Open All']  =
+        callback          : => @openAllSessions { machine, inActiveSessions }
 
     if canTerminateSessions
       terminalSessions["Terminate all"] =

    return items


  createPlusContextMenu: ->

    return  if @isReadOnly


    terminalSessions = {}
    activeSessions   = []
    inActiveSessions = []

    # Collect active sessions
    frontApp.forEachSubViewInIDEViews_ 'terminal', (pane) =>
      activeSessions.push pane.remote.session  if pane.remote?

    # Collect inactive sessions
    for session in sessions
      isActive = activeSessions.indexOf session
      inActiveSessions.push session  if isActive is -1

    sessions.forEach (session, i) =>
      isActive = session in activeSessions
