 {XRegExp} = require 'xregexp'
 fs = require 'fs'
 
-{ getModulePrefix, getProjectRoot } = require './utils'
+{ getProjectRoot } = require './utils'
 
 pscIde = require './psjs/IdePurescript.PscIde'
 psAtomCompletion = require './psjs/IdePurescript.Atom.Completion'

    else
      Promise.resolve()

  getSuggestions: ({editor, bufferPosition, scopeDescriptor, prefix}) =>
    line = editor.getTextInRange([[bufferPosition.row, 0], bufferPosition])

    psAtomCompletion.getSuggestions({
      line: line
      moduleInfo:
        modules: @editors.getUnqualActiveModules()
        getQualifiedModule: @editors.getQualModule

  getType: (text, modulePrefix) =>
    pscIde.getType(text)(modulePrefix||"")(@editors.getUnqualActiveModules())(@editors.getQualModule)()

  loadDeps: (editor) ->
    main = @editors.getMainModuleForEditor editor
    if main
