Smart editing

Closing tag auto-expansion

If you want to insert content into an auto closing tag like <tag/> deleting the / character saves some keystrokes by inserting a separate closing tag automatically and placing the cursor between the start and end tags: <tag></tag>

Auto-rename matching tag

When you edit the name of the start tag, <oXygen/> will mirror-edit the name of the matching end tag. This feature can be controlled from the Content Completion option page.

Auto-breaking the edited line

The Hard line wrap option breaks the edited line automatically when its length exceeds the maximum line length defined for the pretty-print operation.

Indent on Enter

The Indent on Enter option indents the new line inserted when Enter is pressed.

Smart Enter

The Smart Enter option inserts an empty line between the start and end tags and places the cursor in an indented position on the empty line automatically when the cursor is between the start and end tag and Enter is pressed.

Triple click

A triple click with the left mouse button selects a different region of text of the current document depending on the position of the click in the document:

  • if the click position is inside a start tag or an end tag then the entire element enclosed by that tag is selected

  • if the click position is immediately after a start tag or immediately before an end tag then the entire content of the element enclosed by that tag is selected, including all the child elements but excluding the start tag and the end tag of the element

  • otherwise the triple click selects the entire current line of text