Feature Request: Control-click type and ref attribute values in xsd editor to jump around the schema

Hi, Would it be possible to make type and ref attributes in the xsd editor clickable so that control clicking them jumps to their targets? For example: 1. <xs:element name="foo" type="foo"/> 2. 3. <xs:complexType name="foo"> 4. <xs:sequence> 5. <xs:element ref="foo"/> Clicking type="foo" at 1. jumps to line 3, and clicking ref="foo" at line 5. jumps back to line 1. I know you can do this currently using the diagram view, but it would be really useful if you could do it directly from within the editor. thanks -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/

Hi Andrew, The action is available also in the editor. It is named "Show Definition" and it is available from the contextual menu or you can invoke it with CTRL+Shift+Enter (configurable to a different shortcut in Options->Menu Shortcut keys). Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Andrew Welch wrote:
Hi,
Would it be possible to make type and ref attributes in the xsd editor clickable so that control clicking them jumps to their targets?
For example:
1. <xs:element name="foo" type="foo"/> 2. 3. <xs:complexType name="foo"> 4. <xs:sequence> 5. <xs:element ref="foo"/>
Clicking type="foo" at 1. jumps to line 3, and clicking ref="foo" at line 5. jumps back to line 1.
I know you can do this currently using the diagram view, but it would be really useful if you could do it directly from within the editor.
thanks

2008/6/3 George Cristian Bina <george@oxygenxml.com>:
Hi Andrew,
The action is available also in the editor. It is named "Show Definition" and it is available from the contextual menu or you can invoke it with CTRL+Shift+Enter (configurable to a different shortcut in Options->Menu Shortcut keys).
Ahh great - sorry for not noticing! It would be nice/intuitive (for me at least) if when I hold down the control key the attribute value becomes a hyperlink when you mouse over it (just like the Java editor in Netbeans etc) however, ctrl -> shift -> enter is perfectly fine - thanks. -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
participants (2)
-
Andrew Welch
-
George Cristian Bina