       @setSelectItem path for path in projectPaths
       @modulePath.parents('.form-group').addClass 'hide'
       @selectProject.parents('.form-group').removeClass 'hide'
+      @modulePath.setText pathM.join @selectProject.val(),'modules'
     else
       @selectProject.parents('.form-group').addClass 'hide'
       @modulePath.parents('.form-group').removeClass 'hide'

      if paths?
        console.log paths[0]
        @modulePath.setText paths[0]

  checkMoudleID: ->
    path = @moduleId.getText().trim()

    @moduleId.getModel().onDidChange => @checkMoudleID()
    @moduleName.getModel().onDidChange => @checkInput()
    @mainEntry.getModel().onDidChange => @checkInput()
    @selectProject.on 'change',(e) => @onSelectChange(e)

  attached: ->
    @mainEntry.setText desc.mainEntryFileName
