Home » Language IDEs » ServerTools (WTP) » Idea: Show id/name in XML Outline View
Idea: Show id/name in XML Outline View [message #65583] |
Fri, 14 January 2005 07:13  |
Eclipse User |
|
|
|
Originally posted by: jrduncans.stephenduncanjr.com
After discussing this here, I can put this in as a feature request in
Bugzilla if it still seems feasible and a good idea.
Right now, the outline view for XML (and the visual XML editor as
opposed to the XML source editor), only show the tag name. When I have
a series of the same tag (like a series of appenders in log4j.xml, or a
series of servlets in web.xml), I would like to be able to go directly
to a certain appender or servlet via the outline view.
My idea would be to show the name or id of the element next to the tag
name in the outline view. I know that there may not be standard way to
do this that satisfies all the xml schemes out there, but even some
support would be very useful.
It seems to me that, at a minimum, you should be all to display the
attribute value for a tag if the data-type of that attribute is "ID", right?
Any other ideas on how to determine what you'd actually show? Or
anything similar that you'd want in the outline view?
-Stephen Duncan Jr
|
|
| | | | |
Re: Idea: Show id/name in XML Outline View [message #121357 is a reply to message #65709] |
Fri, 15 July 2005 22:51   |
Eclipse User |
|
|
|
On Fri, 14 Jan 2005 23:17:48 -0500, Craig Salter <csalter@ca.ibm.com> wrote:
>>>>
>>>> Are there already any plans for that in new Milestones of Webtools?
>>>>
>
> BTW, if anyone is interested in writing some code to make this happen I'd
> be happy to point you to relevant places to get you started.
>
We may not be fast, but we do respond ... :)
Amy Wu has provided some preliminary support for this in RC1. One
attribute is shown. Its not user configurable, per se, users can turn
the display of the attribute on and off on outline filter button
(default is off). Amy came up with some ideas on how to make the
attribute displayed following something of a "smart" process ... she
may correct me, but I think, in order,
if there's one defined as ID in content model, it is shown, if
there is a required one, it is shown, else if there's one called 'name', it
is shown, else first one is shown ... or something like that.
We wanted to get something into out into our .7 release so 1) we'd be sensitive to
all the user requests we've gotten for it, and 2) we know no one will be
completely happy with it the way it is, so maybe that will motivate many
to contribute some real high powered user customization preferences :)
|
|
|
Re: Idea: Show id/name in XML Outline View [message #121366 is a reply to message #121357] |
Sat, 16 July 2005 02:42   |
Eclipse User |
|
|
|
Spring ide project have this feature (use wtp editor)
see http://springide.org/project/wiki/BeansXmlEditor
It is great
David Williams wrote:
> On Fri, 14 Jan 2005 23:17:48 -0500, Craig Salter <csalter@ca.ibm.com>
> wrote:
>
>>>>>
>>>>> Are there already any plans for that in new Milestones of Webtools?
>>>>>
>>
>> BTW, if anyone is interested in writing some code to make this happen I'd
>> be happy to point you to relevant places to get you started.
>>
>
> We may not be fast, but we do respond ... :)
>
> Amy Wu has provided some preliminary support for this in RC1. One
> attribute is shown. Its not user configurable, per se, users can turn
> the display of the attribute on and off on outline filter button
> (default is off). Amy came up with some ideas on how to make the
> attribute displayed following something of a "smart" process ... she
> may correct me, but I think, in order,
> if there's one defined as ID in content model, it is shown, if
> there is a required one, it is shown, else if there's one called 'name',
> it is shown, else first one is shown ... or something like that.
> We wanted to get something into out into our .7 release so 1) we'd be
> sensitive to all the user requests we've gotten for it, and 2) we know no
> one will be completely happy with it the way it is, so maybe that will
> motivate many to contribute some real high powered user customization
> preferences :)
|
|
|
Re: Idea: Show id/name in XML Outline View [message #123053 is a reply to message #121357] |
Tue, 19 July 2005 13:14  |
Eclipse User |
|
|
|
Originally posted by: amywu.us.DELETETHISPART.ibm.com
David was very close in his description. Except there is nothing done to
look for an attribute named "name"
Details of the new feature can be found:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=88444
"David Williams" <david_williams@us.ibm.com> wrote in message
news:op.stzjkbx3ac05ss@news.eclipse.org...
> On Fri, 14 Jan 2005 23:17:48 -0500, Craig Salter <csalter@ca.ibm.com>
wrote:
>
> >>>>
> >>>> Are there already any plans for that in new Milestones of Webtools?
> >>>>
> >
> > BTW, if anyone is interested in writing some code to make this happen
I'd
> > be happy to point you to relevant places to get you started.
> >
>
> We may not be fast, but we do respond ... :)
>
> Amy Wu has provided some preliminary support for this in RC1. One
> attribute is shown. Its not user configurable, per se, users can turn
> the display of the attribute on and off on outline filter button
> (default is off). Amy came up with some ideas on how to make the
> attribute displayed following something of a "smart" process ... she
> may correct me, but I think, in order,
> if there's one defined as ID in content model, it is shown, if
> there is a required one, it is shown, else if there's one called 'name',
it
> is shown, else first one is shown ... or something like that.
> We wanted to get something into out into our .7 release so 1) we'd be
sensitive to
> all the user requests we've gotten for it, and 2) we know no one will be
> completely happy with it the way it is, so maybe that will motivate many
> to contribute some real high powered user customization preferences :)
|
|
|
Goto Forum:
Current Time: Thu May 29 02:08:10 EDT 2025
Powered by FUDForum. Page generated in 0.03733 seconds
|