'Go To' based on ID and IDREF in XML

Does anyone know if given the XML document below, I can position the cursor on one of the idref attributes, and then 'go to' the corresponding element with the matching id? I tried it, but the only 'go to' option was 'Go To Declaration', which took me to the DTD.

    

        
]]>

(Incidentally, I also noticed that IDEA didn't flag up duplicate ids as an error when they occurred...)

1 comment
Comment actions Permalink

IDEA currently don't support neither of the operations you mentioned. It's not aware of element ID's at all -- and since id duplication isn't caught by DTD validation, it doesn't point that as an error.

However, both things are good additions to IDEA XML editing capabilities. Maybe you should fill in a feature request?

0

Please sign in to leave a comment.