com.intellij.psi.impl.source.resolve.reference.impl.providers.IdReferenceProvider is too trigger happy. It needs to check whether the attribute is on a tag with a recognized namespace and/or check whether the attribute has an IDREF type (IDEABKL-1052). Another solution might be to create soft references for not exactly recognized "for"-attributes.
<x:foo for="abc"xmlns:x="foo" />
Description
com.intellij.psi.impl.source.resolve.reference.impl.providers.IdReferenceProvider is too trigger happy. It needs to check whether the attribute is on a tag with a recognized namespace and/or check whether the attribute has an IDREF type (IDEABKL-1052). Another solution might be to create soft references for not exactly recognized "for"-attributes.