     cursorString   = if range? then editor.getTextInBufferRange editor.bufferRangeForScreenRange range
     return cursorString or editor.getWordUnderCursor().replace(/,/g)
 
-  # getStringFromCursor: (cursorPosition) ->
-  #   editor = @getEditor()
-  #   range  = editor.displayBuffer.bufferRangeForScopeAtPosition('.string', cursorPosition)
-  #   return unless range
-  #   cursorString = editor.getTextInBufferRange(editor.bufferRangeForScreenRange(range))
-  #   return cursorString
-
   currentWordIsMethod: ->
     editor           = @getEditor()
     cursor           = editor.getLastCursor()

    if str? then str[0] is '\'' or str[0] is '"' else false

  isAbsolutePath: (filePath) ->
    filePath.match ABSOLUTE_PATH_PATTERN

  isRelativePath: (filePath) ->
    filePath.match RELATIVE_PATH_PATTERN


  cacheProjectDirectories: ->
    @cacheDirectory directory for directory in @getProjectDirectories()

  # cache project roots with Directory object and project name for future lookup
  cacheDirectory: (directory) ->
