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.

[Feature Request] Create collapsed and expanded elements in tooltips

See original GitHub issue

Description

I try create my own extension. I use vscode api extensions. But I didn’t find any methods for create collapsed / expanded elements in tooltip

I try found any methods with keywords: collapse, collapsed etc. I found only treeItems, but I think this is other.

So, I want create request to add this ability to api (if this is already exist) or create method for it.

Example

How we can know, vscode have debug mode. If we enable it and try use breakpoints, we can check what storage in variables (or etc) Example: image

How we can see, _proto_, can be expanded/collapsed on click: image

Suggestion

So, how I will be wrote up.

Now, we can create tooltips with markdown string or string But I want create a bit more, like this “spoilers” (expanded / collapsed elements),

if we can I want use highlight too (like change color, bold and other styles) for any created elements. Not like a code block.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
brlebtagcommented, Dec 22, 2019

Please remove it immediately and make it your top priority. To me this is almost equally offensive as a swastika.

2reactions
BlackYuziacommented, Jan 9, 2020

But what’s a scenario this would be useful?

In many. Just use imagination image

Simple example:

  • Hide optional describe text
Read more comments on GitHub >

github_iconTop Results From Across the Web

Update accessibility MR widget expand/collapse tooltip - GitLab
No tasks are currently assigned. Use tasks to break down this issue into smaller parts. Linked items. 0.
Read more >
Managing expand/collapse state for tasks
To expand and collapse the items programmatically, you can refer to the Persist State feature request. It is planned for our 3.5.0 release....
Read more >
Collapsed sidebar-menu with one open sub-menu ... - GitHub
Create a sidebar-menu that is collapsible with three sub-menus, each sub-menu (title prop has icon and text) has one menu item.
Read more >
Expand | API Reference | ArcGIS Maps SDK for JavaScript 4.25
Tooltip to display to indicate Expand widget can be collapsed. ... Create the HTML div element programmatically at runtime and set to the...
Read more >
Ext.tip.ToolTip | Ext JS 6.2.0 - Sencha Documentation
In addition to attaching a ToolTip to a single element, you can also use delegation to attach one ToolTip to many elements under...
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