Bug 83074 - [editor] Define views to edit attributes and to show text content
Summary: [editor] Define views to edit attributes and to show text content
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: Future   Edit
Assignee: wst.xml CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2005-01-18 05:39 EST by Lorenzo Donati CLA
Modified: 2013-07-18 14:17 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Donati CLA 2005-01-18 05:39:56 EST
I would find very useful a view that allows editing of all the attributes of an
element selected in the design view of the editor. In some kind of jobs I find
myself changing lots of attributes, and having a separate view (maybe together
with an option to filter them out of the editor design view, to reduce clutter)
would speed things up.
For the same reasons, a view allowing editing of just the text content of a node
would be great.
Some other hints for improving the user interaction could be taken from the
xmlshell editor (from www.softgauge.com), which seems to be discontinued (I
tried to get a license for it, but that company never replied to me), I used a
demo for a while and I really miss many of those features in eclipse.
Comment 1 Nitin Dahyabhai CLA 2005-01-21 08:09:21 EST
This partially sounds like the functionality that's in the Properties view,
especially if you rearrange and resize the Outline view.
Comment 2 Lorenzo Donati CLA 2005-01-21 10:31:08 EST
Enhancing properties view could also be ok. 
To be more specific, the features I'd like to have are at least the following:
- being able to change an attribute name, not only its value
- being able to add a new attribute (better with just a keypress: no dialogs,
just a new name-value pair with default values to be modified afterwards)
- being able to delete many attributes at once (i.e., multiple selection for
attribs)
- some filtering capabilities based on attribute names
Maybe the properties view could  also be enhanced to cope with the text nodes
(and other non-element children, perhaps, like PIs or comments) as well.
But in this case the view should support reordering (such as dragging a text
node before a comment or another text node, for example), because for attribute
nodes order is not significant, but for the others it is.
Thanks. 
Comment 3 Nitin Dahyabhai CLA 2007-09-13 03:34:01 EDT
A lot of these ideas are already present scattered around the editor, and while some of them would clash with the way we operate, some of the suggestions for keyboard shortcuts, filtering, and renames sound useful.  Unfortunately we don't have people to work on this just now.  We would accept high quality patches, though.