Releases: abgox/PSCompletions
Releases · abgox/PSCompletions
v4.3.2
v4.3.1
v4.2.0
-
Add three
menu
configurations:menu_trigger_key
: Default value isTab
, which is used to set the trigger key of the completion menu.- Setting:
psc menu config menu_trigger_key <key>
- Setting:
menu_enhance
: Default value is1
, 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 byPSCompletions
to render completions. - For example, commands such as
Get-*
,Set-*
inPowerShell
will use the completion menu provided byPSCompletions
to render the completion. - Note: This setting only takes effect if
menu_enable
is also enabled. - About menu enhance
- Setting:
menu_show_tip_when_enhance
: Default value is1
, which is used to control whether to show command tips for completions that are not added throughpsc add
.- Setting:
psc menu config menu_show_tip_when_enhance 1
- Use together with
menu_enhance
.
- Setting:
-
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.
- This is useful with
-
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 from0
to1
.
- For a better experience, the default value of the
-
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
- Now
Windows PowerShell
can use the completion menu provided byPSCompletions
.- 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