Add ToolTip display support to tab completion preview window#374
Draft
Copilot wants to merge 3 commits into
Draft
Add ToolTip display support to tab completion preview window#374Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Co-authored-by: kelleyma49 <2152684+kelleyma49@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add tooltip display support in Invoke-FzfTabCompletionInner
Add ToolTip display support to tab completion preview window
Dec 21, 2025
kelleyma49
reviewed
Dec 21, 2025
| PreviewWindow = $initialPreviewState | ||
| Delimiter = '\0' | ||
| WithNth = '2' | ||
| Nth = '1..' |
Owner
There was a problem hiding this comment.
@copilot , you need to add support for the 'Nth' parameter to Invoke-Fzf
Contributor
Author
There was a problem hiding this comment.
Added Nth parameter support to Invoke-Fzf function in commit aed70ca. The parameter accepts a string value and generates the --nth argument for fzf.
Co-authored-by: kelleyma49 <2152684+kelleyma49@users.noreply.github.com>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Tooltip display support in Invoke-FzfTabCompletionInner()
Invoke-FzfTabCompletionInner()to include ToolTip as third field in delimiter-separated stringWithNthparameter to continue showing only ListItemText in fzf (added Nth parameter)PsFzfTabExpansion-Preview.ps1to receive and display ToolTip in preview windowPsFzfTabExpansion-Parameter.ps1to receive and display ToolTip in preview windowNthparameter support toInvoke-FzffunctionImplementation Summary
Successfully implemented ToolTip display support for PSFzf tab completion. When using tab completion with FZF, completion items now display their ToolTip information at the top of the preview window.
Changes Made
PSFzf.Base.ps1:
Nthparameter toInvoke-Fzffunction (string type)--nthfzf argumentPSFzf.TabExpansion.ps1:
Nth = '1..'to fzf argumentsCompletionText\0ListItemText\0ToolTiphelpers/PsFzfTabExpansion-Preview.ps1:
helpers/PsFzfTabExpansion-Parameter.ps1:
Benefits
Testing Results
✅ All 62 existing tests pass
✅ No new PSScriptAnalyzer warnings
✅ No security vulnerabilities detected
✅ Integration tests confirm correct behavior
✅ Code review completed with no issues
✅ Nth parameter properly defined and functional
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.