Bug 111759 - [editor] Open source by Ctrl-mouse or F2 from xml file
Summary: [editor] Open source by Ctrl-mouse or F2 from xml file
Status: RESOLVED WORKSFORME
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Nitin Dahyabhai CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords: bugday, helpwanted
Depends on:
Blocks:
 
Reported: 2005-10-06 09:18 EDT by Sergey Elin CLA
Modified: 2010-10-05 18:43 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Elin CLA 2005-10-06 09:18:13 EDT
Imagine the following lines in web.xml (or other xml file in project):
<servlet>
    <servlet-class>com.tengry.rgs.view.servlet.InitServlet</servlet-class>
</servlet>

It would be great to make it possible by click Ctrl+Mouse button or F2 to go 
into java source
Comment 1 Nitin Dahyabhai CLA 2005-10-06 10:24:16 EDT
Changing severity back to "normal" since it's really your call, but isn't this
more of an enhancement request than a normal bug?
Comment 2 Amy Wu CLA 2005-10-06 10:27:58 EDT
Hyperlink navigation already exists for xml files, but it's only a generic one 
that opens links in attribute values and dtds/schemas referenced in tags.
Maybe we need a special web.xml hyperlink detector?  Or a framework that 
allows people to contribute hyperlink detectors associated with a 
dtd/schema/uri.
Comment 3 Nitin Dahyabhai CLA 2005-10-06 10:43:34 EDT
A framework has already been suggested (or at least the idea of having a
framework) in bug 88293.  Presumably one of the JST plugins would contribute
this to the XML editor.  Alternately, web.xml files specifically could do this
using a custom content type and source viewer configuration.
Comment 4 David Williams CLA 2005-10-10 08:12:04 EDT
I would definitely encourage a "contribution", so XML Editor itself doesn't have
dependancy on JDT ... but some contribution ability will likely be a much
requested feature. 
Comment 5 Amy Wu CLA 2008-02-04 12:58:03 EST
mass reassignment of my bugs to xml-inbox
Comment 6 Nick Sandonato CLA 2010-10-05 18:43:01 EDT
Looks like this has been implemented for web.xml in the 5 years (almost to the day) since this was opened. F3 or Ctrl+Click will take you to the <servlet-class>