         @notify "#{file.type.capitalize()} extracted!", "success"
         @refreshFolder @nodes[file.parentPath], =>
           @selectNode @nodes[response.path]
-  
+
   compileApp:(nodeView, callback)->
-    
+
     folder = nodeView.getData()
     folder.emit "fs.compile.started"
     name = FSHelper.trimExtension folder.path

          delete @nodes[oldPath]
          @nodes[nodeView.getData().path] = nodeView
          nodeView.childView.render()
      
      @setKeyView()
      @beingEdited = null
  
  createFile:(nodeView, type = "file")->
    
    @notify "creating a new #{type}!"
    nodeData = nodeView.getData()
    parentPath = if nodeData.type is "file"
      nodeData.parentPath
    else
      nodeData.path
    
    path = "#{parentPath}/New#{type.capitalize()}#{if type is 'file' then '.txt' else ''}"

    FSItem.create path, type, (err, file)=>

    super

  drop: (nodeView, event)->

    return if nodeView in @selectedNodes

    sameParent = no
    @selectedNodes.forEach (selectedNode)->
      sameParent = yes if selectedNode.getData().parentPath is nodeView.getData().parentPath

    return if sameParent

    if event.altKey
