Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 400372 - XML editing actions are not available in XML Editor
Summary: XML editing actions are not available in XML Editor
Status: CLOSED DUPLICATE of bug 399831
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: wst.xml CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
: 400371 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-02-08 17:04 EST by Ian Trimble CLA
Modified: 2013-02-08 17:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Trimble CLA 2013-02-08 17:04:35 EST
Specific edit or actions are not available when editing an XML file in the XML Editor. This can also be seen in embedded SSEditors, such as the Web Page Editor and the Faces Config Editor, but can be reproduced with the simple XML Editor.

Reproduction:
1. Create an XML file (based on DTD, schema, or template).
2. Open XML file in XML Editor, select "Source" page.
3. If empty, provide some content (ex. <parent><child /></parent>)
4. Place cursor inside parent element but outside of any tag (so, in ex. above, between parent start tag and child tag; ex. <parent>place_cursor_here<child /></parent>).
5. On "Edit" menu, note "Content Assist" action is disabled.
6. On "Source" menu, note "Shift Left", "Shift Right", "Format", and "Format Active Elements" actions are disabled.
7. As expected, since the actions are disabled, the associated keystrokes also do not work.
Comment 1 Nick Sandonato CLA 2013-02-08 17:31:27 EST
Hi Ian,

This appears to be a duplicate of Bug 399831. I used 4.2-M20130204-1200 as a base, as mentioned in the bug, and all of the actions are enabled and working as expected. Please reopen this bug if you find that using the newer Eclipse driver doesn't help.

*** This bug has been marked as a duplicate of bug 399831 ***
Comment 2 Nick Sandonato CLA 2013-02-08 17:32:24 EST
*** Bug 400371 has been marked as a duplicate of this bug. ***