-AutoCompleteOptions Command

Use the -AutoCompleteOptions command to apply auto-completion of command names and command variable names as you type them.

It is the command window variant of the AutoCompleteOptions command.

To set options for auto-completion of command entries:

  1. Type -AutoCompleteOptions at the command prompt.
  2. Specify options:
    • Auto Selection. Automatically selects the command or variable name that is closest to what you entered when you press Enter. Otherwise you need to enter the complete name or select an entry from the suggestion list.
    • List Display. Specifies whether a suggestion list displays as you type a command or variable name. This list appears above the command prompt or below the Quick Input box near the pointer.
      If you turned on the display of the suggestion list, specify more options:
      • Aliases. Specifies options related to alias commands:
        1. Specify whether to include alias command names in the suggestion list.
        2. If you specified to include alias command names, specify whether to display the aliased command name in brackets after the alias name.
      • Command variables. Includes command variable names in the suggestion list.
      • Delay. Sets a delay time (in milliseconds) which passes before the suggestion list displays.
      • Delay. Sets a delay time (in milliseconds) which passes before the suggestion list displays.
  3. Press Enter.