question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support rendering the tooltip in PSReadLine list view

See original GitHub issue

Prerequisites

  • 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:closed
  • Created 6 months ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
daxian-dbwcommented, May 2, 2023

Close via #3667

1reaction
daxian-dbwcommented, Apr 17, 2023

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found