{"id":13596596,"url":"https://github.com/nightroman/PS-GuiCompletion","last_synced_at":"2025-04-09T16:33:13.924Z","repository":{"id":53772578,"uuid":"347819870","full_name":"nightroman/PS-GuiCompletion","owner":"nightroman","description":"A graphical menu for PowerShell tab completions.","archived":false,"fork":false,"pushed_at":"2023-12-22T13:58:08.000Z","size":203,"stargazers_count":49,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-09T08:13:03.237Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nightroman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-03-15T03:05:37.000Z","updated_at":"2025-03-04T14:54:48.000Z","dependencies_parsed_at":"2024-01-15T16:51:36.728Z","dependency_job_id":null,"html_url":"https://github.com/nightroman/PS-GuiCompletion","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightroman%2FPS-GuiCompletion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightroman%2FPS-GuiCompletion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightroman%2FPS-GuiCompletion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nightroman%2FPS-GuiCompletion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nightroman","download_url":"https://codeload.github.com/nightroman/PS-GuiCompletion/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248067998,"owners_count":21042397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:02:35.364Z","updated_at":"2025-04-09T16:33:08.916Z","avatar_url":"https://github.com/nightroman.png","language":"PowerShell","funding_links":[],"categories":["PowerShell","工具"],"sub_categories":[],"readme":"# GuiCompletion for PowerShell\r\n\r\nGUI-style tab-completion menu for PowerShell. It integrates with PSReadLine\r\nwhich comes installed in PowerShell, and the GUI code is lifted from PowerTab.\r\n\r\nThis repository clones and continues the original [PS-GuiCompletion](https://github.com/cspotcode/PS-GuiCompletion)\r\ncreated by [@cspotcode](https://github.com/cspotcode).\r\nThe same module [GuiCompletion](https://www.powershellgallery.com/packages/GuiCompletion)\r\nis developed here starting from v0.9.0.\r\n\r\n**Screenshots**\r\n\r\n[q1]: docs/q1.png \"Command completion\"\r\n[q2]: docs/q2.png \"Parameter completion\"\r\n[q3]: docs/q3.png \"Path completion\"\r\n\r\n| ![command][q1] | ![parameter][q2] | ![path][q3] |\r\n|-|-|-|\r\n\r\n## Installation\r\n\r\nInstall from the PowerShell Gallery ([GuiCompletion Gallery page](https://www.powershellgallery.com/packages/GuiCompletion)):\r\n\r\n    Install-Module -Name GuiCompletion -Scope CurrentUser\r\n\r\nOmit `-Scope` to install for all users if you have administrator permissions.\r\n\r\n## Usage\r\n\r\nUse with the default \u003ckbd\u003eCtrl+Spacebar\u003c/kbd\u003e key shortcut:\r\n\r\n    Install-GuiCompletion\r\n\r\nor with another key shortcut:\r\n\r\n    Install-GuiCompletion -Key Tab\r\n\r\n`Install-GuiCompletion` wraps PSReadLine's [Set-PSReadLineKeyHandler](https://github.com/lzybkr/PSReadLine#usage).\r\nFor more advanced scenarios, you can call the relevant PSReadLine commands directly:\r\n\r\n    Set-PSReadlineKeyHandler -Key Alt+Spacebar -ScriptBlock { Invoke-GuiCompletion }\r\n\r\nAdd these configuration commands to your PowerShell profile.\r\nOtherwise your configuration will not be applied to new PowerShell sessions.\r\n\r\n## Options\r\n\r\nThe exported variable `$GuiCompletionConfig` provides the following default\r\nconsole colors and options. They may be changed in a profile or interactively.\r\n\r\n```\r\nColors                : @{TextColor=DarkMagenta;\r\n                        BackColor=White;\r\n                        SelectedTextColor=White;\r\n                        SelectedBackColor=DarkMagenta;\r\n                        BorderTextColor=DarkMagenta;\r\n                        BorderBackColor=White;\r\n                        BorderColor=DarkMagenta;\r\n                        FilterColor=DarkMagenta}\r\nDoubleBorder          : True\r\nMinimumTextWidth      : 25\r\nFastScrollItemCount   : 10\r\nAutoReturnSingle      : True\r\nScrollDisplayDown     : True\r\nDotComplete           : True\r\nAutoExpandOnDot       : True\r\nBackSlashComplete     : True\r\nAutoExpandOnBackSlash : True\r\nCustomComplete        : True\r\nCustomCompletionChars :  ()[]:\r\n```\r\n\r\n`ScrollDisplayDown` tells to scroll the display if necessary in order to show\r\nthe list below the caret. This works around redrawing issues after the list\r\nshown above the caret in some terminals.\r\n\r\n## See also\r\n\r\n- [GuiCompletion Release Notes](https://github.com/nightroman/PS-GuiCompletion/blob/main/Release-Notes.md)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightroman%2FPS-GuiCompletion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnightroman%2FPS-GuiCompletion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnightroman%2FPS-GuiCompletion/lists"}