Complete Command - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Create Maple Worksheets : Enter Expressions : Enter 2-D Math : worksheet/expressions/completecommand

Complete Command


Command Completion for 2-D Math

Command Completion for Maple Input

Command Completion for 2-D Math

Automatic Command Completion for 2-D Math

When typing command and function names in 2-D Math, Maple offers automatic completions for items that are unambiguous. When such an item is available, it appears as a yellow tooltip-style popup. Pressing the Tab or Return/Enter key inserts the suggested item.

Command Completion for 2-D Math Using Command Completion List

The symbol and command completion feature can be used to enter mathematical symbols and Maple commands. When you type the first few letters of a symbol or command name and then choose Complete Command from the Tools menu (or use the shortcut key Esc), Maple displays a popup list of matching symbols and commands.

The command completion list can include command completion templates. These command completion templates offer calling sequences for Maple commands, making it easy to enter proper Maple syntax.

To use command completion:


Begin entering a command in the document or worksheet in 2-D math mode.


To list all Maple symbols, commands, functions, and packages that match the entered text, from the Tools menu select Complete Command, or use the shortcut key:


Esc, Macintosh, Windows, and Linux


Ctrl + Space, Windows


Ctrl + Shift + Space, Linux


If there is a unique completion, it is inserted. Otherwise, a list of matches is displayed. Select the correct completion from the list.


If there are any placeholders in your selection, they will appear in a colored font. Replace the placeholders in the template, using Tab to move to the next placeholder.


For example, suppose you want to solve a differential equation with initial conditions. Type dsolve [Esc]. The command completion list appears:


Select dsolve(with initial conditions). Fill in the placeholders with your values:


Replace ODE with y''=2y+1.


Replace ICs with y0=1, y'=0.


Replace y with y and x with x.


The result is yx=ⅇ2x_C2+ⅇ2x32_C212

Command Completion for Maple Input

As you enter a phrase in Maple Input (1-D math notation), the automatic command completion feature suggests a completion. Instead of typing an entire command, you can type the command partially in the worksheet and then insert the suggested command.

By default, automatic command completion is enabled. If it is not enabled:

1. From the Tools menu, select Options, and then click the Interface tab.

2. Select the Automatic command completion check box.

To use automatic command completion:


Begin entering a command in Maple Input in the worksheet or document. Maple compares your entry with Maple packages, commands, and functions. If the entered text has a unique completion, the matching command name is displayed above the entry.


You can continue typing the command or press Enter to insert the suggested command.

To turn off automatic command completion:

1. From the Tools menu, select Options, and then click the Interface tab.

2. Clear the Automatic command completion check box.

For information about command completion in TTY versions of Maple, see Command-Line Editing.

See Also

Command-Line Editing

Enable or Disable Completion Rules

Entering 1-D math

Entering 2-D math


Shortcut Keys Summary for Linux

Shortcut Keys Summary for Macintosh

Shortcut Keys Summary for Windows



Download Help Document

Was this information helpful?

Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam