Releases: abgox/PSCompletions
Releases · abgox/PSCompletions
v5.0.2
v5.0.1
v5.0.0
- Reduce file I/O operations and optimize initialization method to improve first load speed.
- Remove the alias.txt file in each completion directory, and use data.json to store data.
- Merge configuration data file config.json into data.json.
- Note: If you use scoop to install
PSCompletions
, please check the manifest (persist) to update to data.json.
- Note: If you use scoop to install
- Modify the name of almost all configuration items.
- The name of the configuration item has been modified, and it will not affect normal use. When the version is updated, it will automatically migrate the old configuration item to the new configuration item.
- For example:
update
=>enable_completions_update
module_update
=>enable_module_update
menu_show_tip
=>enable_tip
- ...
- Remove two configuration items:
github
andgitee
.- If you need to customize the url, please use the
url
configuration item. psc config url <url>
- If you need to customize the url, please use the
- Other optimizations and fixes.
v4.3.3
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