Skip to content

Module Completion Menu

  • In addition to the built-in completion menu of PowerShell, PSCompletions module also provides a more powerful module completion menu.

    • Setting: psc menu config enable_menu 1 (Default: 1)
    • You can run psc to view the related key bindings.
  • It is only available in Windows, because PowerShell in Linux/MacOS does not implement the relevant methods.

  • All configurations of it, you can trigger completion by running psc menu, then learn about them by the completion tip.

    • For configured values, 1 means true and 0 means false. (It applies to all configurations of PSCompletions)
    • Some common menu behaviors:
      • Auto-apply when there's only one completion item: psc menu config enable_enter_when_single 1
      • ...