You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way how these 3 plugins interact together is confusing:
langserver
underlines
hover
If I understand it correctly:
Let's say you hover a linter warning message, like an unused import. The langserver plugin tells the underlines plugin to display that yellow underline you see, and when hovered, the underlines plugin tells the hover plugin to display the popup message.
Let's say you hover a function name. The hover plugin emits a virtual event saying that something was hovered, and later, the langserver plugin responds with a message to be shown in that hover.
Hovering URLs in the code is similar to hovering linter warning messages, but with urls plugin instead of langserver plugin.
I want to simplify this somehow, but I'm not sure how. If I merge the underlines and hover plugins, it will likely become impossible to show a hover that doesn't come from an underline. I could add a temporary/dummy underline just for the hover, but that works nicely only if the langserver tells me where the hovered function name starts and ends. I'm not sure if it does.
The text was updated successfully, but these errors were encountered:
The way how these 3 plugins interact together is confusing:
If I understand it correctly:
Hovering URLs in the code is similar to hovering linter warning messages, but with urls plugin instead of langserver plugin.
I want to simplify this somehow, but I'm not sure how. If I merge the underlines and hover plugins, it will likely become impossible to show a hover that doesn't come from an underline. I could add a temporary/dummy underline just for the hover, but that works nicely only if the langserver tells me where the hovered function name starts and ends. I'm not sure if it does.
The text was updated successfully, but these errors were encountered: