     
     completions = []
     
-    completions = @getPropertyNameCompletions(request)
+    line = editor.getTextInRange([[bufferPosition.row, 0], bufferPosition])
+    
+    # if(@isPropertyNameCompletion()){
+    console.log alloyIdNamePatter.test(line)
+    console.log alloyIdNamePatter.exec(line)
+    console.log line
+    if alloyIdNamePatter.test(line)
+      sourceEditor = util.getFileEditor related.getTargetPath('xml')
+      if(!sourceEditor.isEmpty())
+        sourceEditor.scan /id="(.*?)"/g, (item) -> 
+          # console.log item.match[1]
+          completions.push({
+            type: '#'
+            text: item.match[1]
+            # description: item.match[1]'class definition'
+          })
+    else
+      completions = @getPropertyNameCompletions(request)
+    
+    # else if(@isAlloyIdCompletion()){
+    #   
+    # }
+    
     
     completions?.sort  util.completionSortFun
     # for item in api.types

fs = require('fs')
tagRegExp =  /(<([^>]+)>)/ig
util = require './ti-pkg-util'

propertyNamePrefixPattern = /\.([a-zA-Z]+[-a-zA-Z]*)$/

module.exports =
  # This will work on JavaScript and CoffeeScript files, but not in js comments.

      # else  
      completions.push(
        type: 'property'
        text: "#{property} = "
        displayText: property
        replacementPrefix: prefix
        description: options.description
