History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-1052
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Maxim Shafirov
Votes: 1
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

'Go To' based on ID and IDREF in XML

Created: 07 Feb 05 19:34   Updated: 01 Sep 07 18:20
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
http://www.intellij.net/tracker/idea/viewSCR?publicId=16754
Given the XML document below, I'd like to position the cursor on one of the idref attributes, and then 'go to' the corresponding element with the matching id. Currently the only 'go to' option was 'Go To Declaration', which took me to the DTD.

<!DOCTYPE test [
<!ELEMENT test (test)>
<!ATTLIST test id ID #REQUIRED
idref IDREF #REQUIRED>
]>
<test id="4" idref="10">
<!-- ..lots of markup.. -->
<test id="10" idref="4"/>
</test>

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



 All   Comments   Work Log   Change History      Sort Order:
Sascha Weinreuter - 01 Sep 07 17:57
Completion and navigation for ID/IDREF types would be handy. Since IDEA already checks them, this can't be too hard, can it?

Maxim Mossienko - 01 Sep 07 18:20
It is pretty hard to do it efficiently