Extending visual studio xml editor with hyperlinks (navigation)

udhuha9pap

New Member
Is there a way to extend visual studio xml editor with navigation functionality like in C# editor. C# editor (I don't know is this VS or Resharper functionality) allows jumping to another class definition if you press Ctrl and click on class name. I would like to implement something like this in XML editor.
Example: file1.xml:\[code\]<elements> <element elementId="el1" relatedElement="file2.el2" dsDefinition="ds1"/></elements><datasources> <datasource elementId="ds1"/></datasources>\[/code\]file2.xml:\[code\]<elements> <element elementId="el2"/></elements>\[/code\]Clicking on \[code\]file2.el2\[/code\] (while holding ctrl) should open \[code\]file2.xml\[/code\] and position cursor on el2 element. Clickin on ds1 should position cursor to ds1 datasource. Is this possible using visual studio editor extension mechanisms? If not, are there any other options?Thanks.
 
Back
Top