Not getting quotes with custom CompletionData
I've got a very simple implementation of HtmlCompletionData. This works just fine except for the fact that when i select any attribute that is contributed from my CompletionData IDEA doesn't generate the ="" in front of the attribute name like it does for all the other attributes.
I'm guessing it might be the LookupItem instance that i return that might not the constructed correctly, but i can't find a way for this to work. I've tried:
new LookupItem(attributeName, attributeName)
new LookupItem(new Key(attributeName), attributeName)
new LookupItem(PsiManager.getInstance(completionContext.project).getElementFactory().createXmlAttribute(attributeName, ""), attributeName)
with no sucess.
I'd appreciate some ideas...
Thanks...
Please sign in to leave a comment.
I've just created an issue for this
http://www.jetbrains.net/jira/browse/IDEA-12873