   getType: (text, modulePrefix) =>
     pscIde.getType(text)(modulePrefix||"")(@editors.getUnqualActiveModules())(@editors.getQualModule)()
 
-  abbrevType: (type) ->
-    type.replace(/(?:\w+\.)+(\w+)/g, "$1")
-
   loadDeps: (editor) ->
     main = @editors.getMainModuleForEditor editor
     if main

    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

{XRegExp} = require 'xregexp'
fs = require 'fs'

{ getProjectRoot } = require './utils'

pscIde = require './psjs/IdePurescript.PscIde'
psAtomCompletion = require './psjs/IdePurescript.Atom.Completion'
