 AceFindAndReplaceView         = require 'ace/acefindandreplaceview'
 EnvironmentsMachineStateModal = require 'app/providers/environmentsmachinestatemodal'
 environmentDataProvider       = require 'app/userenvironmentdataprovider'
+ShortcutsModal                = require 'app/shortcuts/modal'
 
 require('./routes')()
 
 
-module.exports = class IDEAppController extends AppController
+module.exports =
+
+class IDEAppController extends AppController
 
   _.extend @prototype, CollaborationController
 


  showShortcutsView: ->

    paneView = null

    @forEachSubViewInIDEViews_ (view) ->
      paneView = view.parent  if view instanceof IDEShortcutsView

    return paneView.parent.showPane paneView if paneView


    @activeTabView.emit 'ShortcutsViewRequested'


  getActivePaneView: ->

    @finderPane.makeEditable()
    @getView().unsetClass 'read-only'


  deleteWorkspaceRootFolder: (machineUId, rootPath) ->

    @finderPane.emit 'DeleteWorkspaceFiles', machineUId, rootPath
