Skip to content

Releases: abgox/PSCompletions

v4.3.3

27 Aug 14:52
c2e0332
Compare
Choose a tag to compare
  • Fix an error that occurred when menu_is_prefix_match was enabled, due to the input after public prefix extraction.

v4.3.2

18 Aug 13:17
c9d927a
Compare
Choose a tag to compare
  • Fix a method(show_module_menu) parameter type conversion error.

v4.3.1

18 Aug 04:28
8e1e277
Compare
Choose a tag to compare
  • Add a configuration item menu_is_loop, controlling whether the menu is looped, with a default value of 1.
    • Disable it: psc menu config menu_is_loop 0
  • Optimize the migration logic of old versions.

v4.2.0

09 Aug 11:40
Compare
Choose a tag to compare
  • Add three menu configurations:

    1. menu_trigger_key: Default value is Tab, which is used to set the trigger key of the completion menu.
      • Setting: psc menu config menu_trigger_key <key>
    2. menu_enhance: Default value is 1, which is used to enable or disable the enhanced completion menu feature.
      • Setting: psc menu config menu_enhance 1
      • When enabled, PSCompletions will intercept all completions and uses the completion menu provided by PSCompletions to render completions.
      • For example, commands such as Get-*, Set-* in PowerShell will use the completion menu provided by PSCompletions to render the completion.
      • Note: This setting only takes effect if menu_enable is also enabled.
      • About menu enhance
    3. menu_show_tip_when_enhance: Default value is 1, which is used to control whether to show command tips for completions that are not added through psc add.
      • Setting: psc menu config menu_show_tip_when_enhance 1
      • Use together with menu_enhance.
  • Fix an issue where multi-byte characters(such as Chinese characters) could cause partial rendering errors in the menu.

    • This is useful with menu_enhance.
    • For example, when using the cd command, even if the path completion contains Chinese or other multi-byte characters, the menu will render correctly.
  • Completion tips now support automatic line wrapping based on available width.

    • For a better experience, the default value of the menu_tip_follow_cursor config has been changed from 0 to 1.
  • Refactored code by reorganizing the source file directory structure and extracting common code.

  • Use multi-threading to optimize performance and remove some redundant code.

  • Fixed some other issues.

  • Cleaned up the code.

v4.1.0

07 Aug 01:34
Compare
Choose a tag to compare
  • Now Windows PowerShell can use the completion menu provided by PSCompletions.
    • But, due to rendering problems, the border style of the completion menu cannot be customized.
  • Fix some other issues.
  • Change the directory structure of the source code file.
  • Clean up the code.

For more version info: CHANGELOG.md