(Created page with "Category:Settings") |
|||
Line 1: | Line 1: | ||
− | [[Category:Settings]] | + | [[Category:Coding tab]] |
+ | [[File:Ultraedit xml manager.png|right|alt=Screenshot of XML manager in UltraEdit]] | ||
+ | The '''XML manager''' is a dockable window in UltraEdit which provides a parsed, visual, tree-style representation of the active XML file with options for modifying the XML structure. | ||
+ | |||
+ | '''Double-clicking''' on an item in the XML manager will move the caret to the related XML element in the active file. Pressing '''Shift + Double-click''' with the cursor on a node will select the text corresponding with that node in the active file. Expanding a node in the XML manager will also cause the corresponding source code to be expanded in the editor if folded. | ||
+ | |||
+ | The '''📂 button''' at the upper right corner of the window will split the XML manager into two panes; the upper pane will display the active XML document tree while the lower pane will display a table with an '''Attribute''' and '''Value''' column. When a node is selected in the top pane, it will be scanned for attributes, and any found are listed in lower pane along with their values. | ||
+ | |||
+ | If a node (element/attribute) is selected, after a momentary delay you can click a second time to make it editable. When editing an element in the XML manager, you can press '''Enter''' to save the change to the document tree and appropriately update the open and close tag for the element in the active document. | ||
+ | |||
+ | The combobox at the top of the XML Manager can be used to navigate quickly within the document tree of the active XML document. Typing an element or attribute name and then pressing '''Enter''' will jump to and select the first matching node. | ||
+ | |||
+ | You can also '''drag-and-drop''' elements in the XML tree to reposition them in the active XML document. As you drag-and-drop nodes in the XML manager, the corresponding text in the active file will be moved accordingly. | ||
+ | |||
+ | The XML manager will always highlight the current/active XML node under the caret in the main edit window. | ||
+ | |||
+ | Right-clicking in the XML Manager opens a context menu with the following options: | ||
+ | |||
+ | {| | ||
+ | |Up | ||
+ | |moves selected node up in document tree | ||
+ | |- | ||
+ | |Down | ||
+ | |moves selected node down in document tree | ||
+ | |- | ||
+ | |Copy | ||
+ | |copies the selected node to the clipboard | ||
+ | |- | ||
+ | |Select | ||
+ | |selects the active node in the document tree | ||
+ | |- | ||
+ | |Copy XPath | ||
+ | |Copies the selected node's XPath to the clipboard | ||
+ | |- | ||
+ | |Format document | ||
+ | |reformats active XML document into more human-readable structure by adding/removing line breaks and indentation where necessary | ||
+ | |- | ||
+ | |Parse document | ||
+ | |parses active XML document and updates XML document tree | ||
+ | |- | ||
+ | |Cut | ||
+ | |cuts the selected node to the clipboard | ||
+ | |- | ||
+ | |Replace with clipboard | ||
+ | |replaces the selected node with the contents of the clipboard | ||
+ | |- | ||
+ | |Paste before | ||
+ | |pastes the node in the clipboard before the active node | ||
+ | |- | ||
+ | |Paste after | ||
+ | |pastes the node in the clipboard after the active node | ||
+ | |- | ||
+ | |Duplicate | ||
+ | |duplicates the selected node below the active node in the document tree | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | <div class="idm-see-also"> | ||
+ | See also: | ||
+ | * [[Settings:XML manager|Settings » XML manager]] | ||
+ | </div> |
The XML manager is a dockable window in UltraEdit which provides a parsed, visual, tree-style representation of the active XML file with options for modifying the XML structure.
Double-clicking on an item in the XML manager will move the caret to the related XML element in the active file. Pressing Shift + Double-click with the cursor on a node will select the text corresponding with that node in the active file. Expanding a node in the XML manager will also cause the corresponding source code to be expanded in the editor if folded.
The 📂 button at the upper right corner of the window will split the XML manager into two panes; the upper pane will display the active XML document tree while the lower pane will display a table with an Attribute and Value column. When a node is selected in the top pane, it will be scanned for attributes, and any found are listed in lower pane along with their values.
If a node (element/attribute) is selected, after a momentary delay you can click a second time to make it editable. When editing an element in the XML manager, you can press Enter to save the change to the document tree and appropriately update the open and close tag for the element in the active document.
The combobox at the top of the XML Manager can be used to navigate quickly within the document tree of the active XML document. Typing an element or attribute name and then pressing Enter will jump to and select the first matching node.
You can also drag-and-drop elements in the XML tree to reposition them in the active XML document. As you drag-and-drop nodes in the XML manager, the corresponding text in the active file will be moved accordingly.
The XML manager will always highlight the current/active XML node under the caret in the main edit window.
Right-clicking in the XML Manager opens a context menu with the following options:
Up | moves selected node up in document tree |
Down | moves selected node down in document tree |
Copy | copies the selected node to the clipboard |
Select | selects the active node in the document tree |
Copy XPath | Copies the selected node's XPath to the clipboard |
Format document | reformats active XML document into more human-readable structure by adding/removing line breaks and indentation where necessary |
Parse document | parses active XML document and updates XML document tree |
Cut | cuts the selected node to the clipboard |
Replace with clipboard | replaces the selected node with the contents of the clipboard |
Paste before | pastes the node in the clipboard before the active node |
Paste after | pastes the node in the clipboard after the active node |
Duplicate | duplicates the selected node below the active node in the document tree |
See also: