The Oxygen XML Editor Quick Fix support helps you resolve missing target reference
errors that may occur when developing Ant build documents.
To activate this feature, hover over or place the cursor in the highlighted area of text
where a validation error or warning occurs. If a Quick Fix is available for that particular
error or warning, you can access the Quick Fix proposals with any of the following methods:
- When hovering over the error or warning, the proposals are presented in a tooltip popup
window.
- 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. If you click this icon, Oxygen XML Editor displays the list of available fixes.
- With the cursor placed in the highlighted area of the error or warning, you can also
invoke the quick fix menu by pressing Alt 1 (Meta Alt 1 on OS
X) on your keyboard.
Oxygen XML Editor provides the following types of quick fixes for Ant build files:
- Create new target - Creates a new target with the specified
name.
- Change reference to "targetName" - Corrects the reference to
point to an already defined target.
- Remove target reference - Removes the erroneous reference.