Automatic Argument Completion - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Automatic Argument Completion

 

Argument Completion in the Document

Argument Completion in the Code Editor

Details

Argument Completion in the Document

When typing commands in 2-D Math or 1-D Math, Maple offers automatic completions for arguments in many useful cases. When such items are available, Maple displays a popup list of suggested completions.

To use argument completion:

1. 

If only one item is suggested, press Tab to insert the suggested item into your expression.

2. 

If more than one item is listed, use the arrow keys to select an entry then press Tab.  You can alternatively use your pointer to select an entry from the list.

The argument completion list can include examples for some suggested items.  In such a case, if you select that entry, the example is inserted.

Argument Completion in the Code Editor

This works similarly to how it works in the document.  The only difference is to select an item with the mouse, you must double-click the item.

Details

Argument completion is enabled by default. You can disable/enable it from the Options Dialog.

1. 

Open the Options Dialog.

2. 

In the Interface tab, under Show:

– 

To disable this feature, clear the Automatic argument completion check box.

– 

To enable this feature, select the Automatic argument completion check box.

3. 

Select apply to session or apply globally.

Argument completion works on some expressions.  These suggestions can appear when you are typing a function call of the form commandname(arguments).  Typically, the popup list would appear in one of these cases:

– 

After you type commandname(    to suggest a first argument

– 

After you have typed commandname(arguments,    to suggest an additional argument or option name

– 

After you have typed commandname(arguments,argname=    to suggest the value for an option name

– 

After you type any of the above followed by the beginning of a word, to suggest a completion for that argument

Maple checks both your current session and Maple's library of known names, so, for example, if you have assigned an expression to the name A and then begin typing a function call for which A is a valid option for the first argument, Maple may suggest A.

See Also

Complete Command

Entering 1-D math

Entering 2-D math

Options>Interface