     @hasStringScope(scopes) and @hasTagScope(scopes)
 
   hasTagScope: (scopes) ->
-    console.log scopes
-    # scopes.indexOf('meta.tag.xml') isnt -1 or
-    scopes.indexOf('entity.name.tag.localname.xml') isnt -1 #or
-      # scopes.indexOf('meta.tag.block.any.html') isnt -1 or
-      # scopes.indexOf('meta.tag.inline.any.html') isnt -1 or
-      # scopes.indexOf('meta.tag.structure.any.html') isnt -1
+    scopes.indexOf('meta.tag.any.html') isnt -1 or
+      scopes.indexOf('meta.tag.other.html') isnt -1 or
+      scopes.indexOf('meta.tag.block.any.html') isnt -1 or
+      scopes.indexOf('meta.tag.inline.any.html') isnt -1 or
+      scopes.indexOf('meta.tag.structure.any.html') isnt -1
 
   hasStringScope: (scopes) ->
     scopes.indexOf('string.quoted.double.html') isnt -1 or


  isTagStartWithNoPrefix: ({prefix, scopeDescriptor}) ->
    scopes = scopeDescriptor.getScopesArray()
    console.log prefix
    if prefix is '<' and scopes.length is 1
      scopes[0] is 'text.xml'
    else if prefix is '<' and scopes.length is 2
      scopes[0] is 'text.xml' and scopes[1] is 'meta.scope.outside-tag.html'
    else
      false

  isTagStartTagWithPrefix: ({prefix, scopeDescriptor}) ->
    console.log 0
    return false unless prefix
    console.log 1
    return false if trailingWhitespace.test(prefix)
    console.log 2
    @hasTagScope(scopeDescriptor.getScopesArray())

  isAttributeStartWithNoPrefix: ({prefix, scopeDescriptor}) ->

    else if @isTagStartWithNoPrefix(request)
      @getTagNameCompletions()
    else if @isTagStartTagWithPrefix(request)
      @getTagNameCompletions(prefix)
    else
      []

  onDidInsertSuggestion: ({editor, suggestion}) ->
    setTimeout(@triggerAutocomplete.bind(this, editor), 1) if suggestion.type is 'attribute'
