One of the most useful features in Author mode is the Content Completion Assistant. It offers a list of elements, attributes, attribute values, and other options that are valid in the current editing context.
The Content Completion Assistant is enabled by default. To disable it, open the Preferences dialog box , go to , and deselect the Enable content completion option.
You can navigate through the list of proposals by using the Up and Down keys on your keyboard. In same cases, the Content Completion Assistant displays a documentation window with information about the particular proposal and some of them have links to additional information (for example, DITA elements might have a link to the DITA Style Guide). You can use Tab and Shift + Tab to navigate to those links and Space to trigger them. You can also change the size of the documentation window by dragging its top, right, and bottom borders.
To insert the selected proposal in Author mode, simply press Enter.
The Content Completion Assistant offers the following types of proposed actions depending on the current context:
Full Tags
mode), it will allow you to rename the element.If the cursor is positioned at the beginning or at the end of the element, the first item offered in the Content Completion Assistant is a New <Element> item. Selecting this item will insert an empty element.
If the cursor is positioned somewhere inside the element, the first entry in the Content Completion Assistant is a Split <Element> item. In most cases, you can only split the closest block element to the cursor position, but if it is inside a list item, the list item will also be proposed for split. Selecting Split <Element> splits the content of the specified element around the cursor position.
If the cursor is positioned inside a space-preserved element (for example, a codeblock), the first choice in the Content Completion Assistant is Enter, which will insert a new line in the content of the element, followed by New <Element>.
If invoked
on a selection that only contains an element start or end tag (remember that you can see all
element tags while working in
Full Tags
mode), it will allow you to rename the element.
If invoked on a selection of multiple elements or other content, it will allow you to surround the content with certain tags.