The GetAttributeCompletions call has a very handy existingAtts parameter but due to the way the parser stop parsing at the caret, if you start adding new attributes in the middle of an existing attributes list like so:
Then only the attr1="foo" attribute will find its way into the dictionary.
The problem is the next attribute is a syntax error.
We'd need some kind of extra-tolerant mode, or maybe cache and inspect with the previous value parse unit.
*** Bug 22399 has been marked as a duplicate of this bug. ***
*** Bug 58761 has been marked as a duplicate of this bug. ***
Fixed in version 184.108.40.206 (master)
Author: David Karlas??
Commit: 02905ab6a08d68d361cede575d66953c9fbf8342 (mono/monodevelop)