       obj._typeSelf = 'function'
 
     if obj.name
-      obj.rightLabelDoc = obj.rightLabel.replace(/^fn/, obj.name)
       if obj.leftLabel is obj.name
         obj.leftLabel = null
         obj.rightLabel = null
 
     if obj.leftLabel is obj.rightLabel
-      obj.rightLabelDoc = null
       obj.rightLabel = null
 
     obj

        obj.leftLabel = obj.type.replace(/fn\(.{0,}\)/, '').replace(' : ', '')

    if !obj.type.endsWith(')') or obj.type.match(/\(\)$/)
      obj.rightLabel = obj.rightLabelDoc = obj.type.replace(/( : .+)/, '')
    else
      obj.rightLabel = obj.rightLabelDoc = obj.type

    if obj.rightLabel.startsWith('fn')
      if atom.config.get('atom-ternjs.useSnippets')

    "#{name}(#{suggestionParams.join(',')})"

  extractParams: (type) ->
    return [] unless type
    start = 0
    params = []
    inside = 0
