Home arrow Features arrow Code Completion in NAntBuilder
Code Completion in NAntBuilder

NAntBuilder provides code completion as you type, which allows you quickly find an NAnt element, element's attribute, property or function and then insert the code into the editor. 

Element Completion

Typing the less than character "<" will automatically bring up a list of elements that are available in the context. Pressing the Enter key or Tab key will complete the code by inserting the currently selected item into the text editor.

element_completion.png


Attribute Completion

Typing the space character in an element's start tag will bring up a list attributes that are available for the element.

attribute_completion.png


Property and Function Completion

Typing the dollar character "$" in an attribute value will bring up a list of properties and function prefixes available.

property_completion.png


Typing the space character in a pair of "${" and "}" will also bring up a list of properties and function prefixes
property_completion2.png


Function Completion

Typing double colon character ":" after a function prefix will bring up a list of function names in the prefix.

function_completion.png


Function Parameter Insight

Typing in the opening parenthesis of a method will show you its parameters and description.

function_insight.png