The
Quick Fix support in
Oxygen XML Author Eclipse plugin helps you resolve
errors that appear in an XML document by offering proposals to fix problems such as missing
required attributes or invalid elements.
Quick Fixes are available in
Text mode
and
Author mode and they can be presented and activated in several ways.
- When hovering over an area of text where a validation error or warning occurs, the
Quick Fix proposals can be presented as links in a tooltip pop-up
window.
- When hovering over an error or
warning in Author mode, the Quick Fix proposals are
presented in a small drop-down menu.
- If you place the cursor in the highlighted area where a validation error or warning
occurs, a Quick Fix icon (
)
is displayed in the stripe on the left side of the editor. Clicking that icon will allow
you select from the available proposals.
- If you place the cursor in the highlighted area where a validation error or warning
occurs, you can also access the Quick Fix menu by pressing Ctrl + 1 (Command + 1 on
macOS) on your keyboard.
- The Quick Fix menu also contains the option to automatically fix all validation
errors in the document where quick fix proposals were generated. By selecting
Apply all default quick fix proposals, each default quick fix
proposal for each validation problem reported in the document will be applied (in bulk).
The effect is similar to invoking the Apply all default quick fix proposals action from the
contextual menu in Text mode, or the Apply all default quick fix proposals action from the
context menu in Author mode.