display subtag in outline view

Are you missing a feature? Request its implementation here.
mikes222
Posts: 2
Joined: Wed Sep 05, 2007 10:50 am

display subtag in outline view

Post by mikes222 »

Dear Oxygen Team!

During editing of Docbook documents it would be nice to see the content of the subtag "title" in the outline-view in Eclipse.

The docbook-xml looks like:

<chapter>
<title>Chapter 1</title>
</chapter>

In the outline-view it would be nice to see "Chapter 1" beneath the chapter-tag.

Currently it is only possible to show attributes of the chapter-tag itself (name, id by default) which leads to additional effort during the editing of the docbook documents in order to get the same result.

regards,

Mike
mikes222
Posts: 2
Joined: Wed Sep 05, 2007 10:50 am

Post by mikes222 »

Hello!

When thinking further that would lead to a behaviour like this:

"When there are no attributes that should be displayed, use the first subtag with a content"

This would be more generic.

regards,

Mike
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,
mikes222 wrote:Currently it is only possible to show attributes of the chapter-tag itself
It is also possible to display in a node of the outline tree the beginning of the text content of an element. The Text toggle button from the toolbar of the Outline view controls the display of the beginning of the text content. When the button is pressed the text content "Chapter 1" is displayed in the outline tree in the node of the title element. I think that displaying the text content of a child element in the node of the parent element could be confusing in general.


Regards,
Sorin
Post Reply