Support rendering the tooltip in PSReadLine list view
See original GitHub issuePrerequisites
- Write a descriptive title.
Description of the new feature/enhancement
Today, the PredictiveSuggestion
type has the Tooltip
property, but PSReadLine doesn’t use it in its rendering.
For completeness, it should render the tooltip, and ideally the tooltips should be displayed in a popup terminal UI window when the user moves the focus to an item in the list, in the form similar to this: https://github.com/waf/CSharpRepl#c-repl
Proposed technical implementation details (optional)
No response
Issue Analytics
- State:
- Created 6 months ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Set-PSReadLineOption (PSReadLine) - PowerShell
The Set-PSReadLineOption cmdlet customizes the behavior of the PSReadLine module when you're editing the command line. To view the PSReadLine settings, ...
Read more >PSReadLine 2.3.1-beta1 Release - PowerShell Team
For long tooltips, ListView shows up to four lines of the tooltip. You can get more information for the selected item by pressing...
Read more >c# - How to set tooltip for a ListviewItem
I am using a ListView with a few fixed-size columns. The text in the rows may be too large to fit in the...
Read more >Which tab completion option do you like the most?
In PSReadLine 2.0.0 - the list view has been removed (3 and 4) but tooltips are enabled by default. The list view was...
Read more >Powershell - Iron Castle Systems
Cross-platform Support: In the open-source project, we plan to compile ... we enabled a new tooltip view in the ListView mode of PSReadLine...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Close via #3667
@StevenBucher98 I like this idea. It’s ideal to use a popup window for tooltips because tooltips may be arbitrary multiple line text, but admittedly, it will be hard to support popup window in PSReadLine without significant changes and re-design.
I think I can quickly implement this and see how it works. BTW, the
ShowToolTips
is for menu completion only, but we can make it control the list view tooltips too.