     if @globalObjInd.indexOf(wordLower) != -1
       return @getDefLoc(@projectObjList[wordLower])
     # Look in local scopes
-    lineContext = @getLineContext(editor, bufferPosition)
     for lineScope in lineScopes
       containingScope = @findInScope(lineScope, wordLower)
       if containingScope?

      return @modFiles[fileRef]+":"+lineRef.toString()
    return null

  getLineContext: (editor, bufferPosition) ->
    useRegex = /^[ \t]*use/i
    line = editor.getTextInRange([[bufferPosition.row, 0], bufferPosition])
    if line.match(useRegex)?
      return 1 # In use declaration
    return 0 # Unknown enable everything!!!!

  getLineScopes: (editor, bufferPosition) ->
    filePath = editor.getPath()

        completions = @addChildren(lineScope, completions, prefixLower, [])
        usedMod = @getUseSearches(lineScope, usedMod, [])
      for useMod of usedMod
        completions = @addPublicChildren(useMod, completions, prefixLower, usedMod[useMod])
    else
      lineScopes = @getLineScopes(editor, bufferPosition)
      cursorScope = @getClassScope(editor, bufferPosition, lineScopes)
