                     for obj, index in data.completions
                         if index == maxItems
                             break
+                        if obj.type == 'string'
+                            # remove leading and trailing double quotes since
+                            # they are already typed and won't be replaced by
+                            # the suggestion and who would use double quotes
+                            # anyway duh
+                            obj.name = obj.name.replace /(^"|"$)/g, ''
+                            
                         that.suggestionsArr.push {
-
                             word: obj.name,
                             prefix: prefix,
                             label: obj.type,

    disposables: null
    documentationView = null
    maxItems = null
    force = false
    # automcomplete-plus
    autocompletePlus = null
    id: 'atom-ternjs-provider'
    selector: '.source.js'
    blacklist: '.source.js .comment,source.js .string'

    init: (client, documentationView) ->
        atom.packages.activatePackage('autocomplete-plus')

        return [] unless options?.editor? and options?.buffer? and options?.cursor?
        prefix = options.prefix

        if prefix.endsWith(';') or prefix.indexOf('..') != -1 or !prefix.length
            @documentationView.hide()
            return []

