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.

Add onTagText to IHoverParticipant (or extend IHoverParticipant)

See original GitHub issue

For the LemMinX/lsp4xml Maven extension, I would like to add support for hover request when hovering over text within a tag. Currently, IHoverParticipant only declares hovers for onTag, onAttributeName and onAttributeValue. Since the interface is already in use, perhaps a IHoverParticipantExtension should be added, which would declare onTagText. This function would only be called when the child of a node contains only text content (and not another node/tag).

This is required for https://github.com/AObuchow/lsp4xml-extensions-maven/issues/30 as well as other use cases. For a demo of the hover we are trying to implement, see this GIF.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
angelozerrcommented, Mar 9, 2020

Will the 1.0.0 version occur with the first,

Not for the moment, any PR are welcome!

1reaction
angelozerrcommented, Mar 9, 2020

Since the interface is already in use, perhaps a IHoverParticipantExtension should be added, which would declare onTagText.

No please not do that, the participant API are not frozen for the moment since we are not in 1.0.0 version

Read more comments on GitHub >

github_iconTop Results From Across the Web

Extend &:hover of any class to any other class's hover in SASS ...
4 Answers 4 ... You can use a placeholder. ... Also adding @extend .button1 in .button2's hover worked. Is it the right way?...
Read more >
hover - CSS: Cascading Style Sheets - MDN Web Docs
The :hover CSS pseudo-class matches when the user interacts with an element with a pointing device, but does not necessarily activate it.
Read more >
Image Hover Text Overlay Effect with HTML & CSS - YouTube
View the Code and CodePen:https://dcode.domenade.com/tutorials/image- hover -text-effect-html-cssIn today's video I'll be showing you how to ...
Read more >
How to Add Hover Effects to WordPress Using Elementor
In this tutorial we show how to add hover effects to WordPress using Elementor's hover feature. With this feature, you can add hover...
Read more >
How to Create an Interactive Email: 7 Elements to Add - Litmus
Interactive Email for Beginners: 7 Interactive Elements You Can Add to Your Emails Today · Hover effects: Text · Hover effects: Fades ·...
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