Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TreeItem markdown string tooltip overflow needs scrollbars #120019

Closed
RandomFractals opened this issue Mar 27, 2021 · 2 comments
Closed

TreeItem markdown string tooltip overflow needs scrollbars #120019

RandomFractals opened this issue Mar 27, 2021 · 2 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@RandomFractals
Copy link

RandomFractals commented Mar 27, 2021

  • VS Code Version: v1.54
  • OS Version: win

Steps to Reproduce:

  1. Install Snippets Viewer extension: https://marketplace.visualstudio.com/items?itemName=RandomFractalsInc.snippets-viewer
  2. Install some extensions with snippets that have a body longer than a page of code
  3. Mouse over a snippet with long code body in Snippets Viewer tree view

Problem:

Snippets Viewer uses vscode TreeItem with MarkdownString tooltips. That extension displays snippet prefix, description and full snippet body in TreeItem tooltip for preview. For long snippet bodies, TreeItem tooltip will need scrollbars added and overflow set on that UI element to see full snippet body in a tooltip.

Example:

tree-item-large-tooltip-overflow

This is from: RandomFractals/vscode-snippets-viewer#24

@vscodebot
Copy link

vscodebot bot commented Mar 27, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@Tyriar
Copy link
Member

Tyriar commented Mar 29, 2021

/duplicate #111608

@Tyriar Tyriar closed this as completed Mar 29, 2021
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants
@RandomFractals @Tyriar and others