<oXygen/> XML Editor User Guide |
<oXygen/> offers a group of actions for working on single XML elements. They are available from the menu and the context menu of the main editor panel.
+ -> : Selects the entire current element;
+ -> : Selects the current element, excluding the start tag and end tag;
+ -> : Selects all the attributes of the current element;
![]() | Note |
---|---|
The Select actions are enabled when the caret is positioned inside a tag name. |
Tab): Shifts the selected block to the right;
+ -> (Shift+Tab): Shifts the selected block to the left;
+ -> (+ -> : Escapes a range of characters by replacing them with the corresponding character entities.
+ -> : Replaces the character entities with the corresponding characters;
+ -> :Corrects the indentation of the selected block of lines.
+ -> : Pretty prints the element that surrounds the caret position;
+ -> : Shows a dialog that allows you to select a list of files as sources for external entities. The DOCTYPE section of your document will be updated with the chosen entities. For instance, if choosing the file chapter1.xml, and chapter2.xml, the following section is inserted in the DOCTYPE:
<!ENTITY chapter1 SYSTEM "chapter1.xml">
<!ENTITY chapter2 SYSTEM "chapter2.xml">
+ -> : Removes <!-- --> comment brackets from currently selected comment.
+ -> : Places <!-- --> comment brackets around current selection or cursor position.
Ctrl+Shift+G): Moves the cursor to the end tag that matches the start tag, or vice versa.
+ -> (Ctrl+/): Selected Text in the editor is marked with start and end tags of the last 'Surround in' action.
+ -> (Ctrl+E): Selected Text in the editor is marked with the specified start and end tags.
+ -> (+ -> : Selected Text in the editor is marked with a CDATA tag.
Alt+Shift+R): The element from the caret position and the elements that have the same name as the current element can be renamed according with the options from the Rename dialog.
+ -> (Ctrl+Alt+D): Split the element from the caret position in two identical elements. The caret must be inside the element
+ -> (Ctrl+Alt+J): Joins the left and the right elements relative to the current caret position. The elements must have the same name, attributes and attributes values.
+ -> (Ctrl+Alt+X): Deletes the start tag and end tag of the current element.
+ -> (