Replies: 3 comments
-
I think this is by design - when a cursor touches two columns, both their hover message is shown. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you. Is there a way to customize or modify this setting? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Not that I know of. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Reproducible in vscode.dev or in VS Code Desktop?
Reproducible in the monaco editor playground?
Monaco Editor Playground Code
Actual Behavior
1- If I hover on
c
(or put the focus betweenb
andc
, then pressCtrl+K Ctrl+I
), both of the two messages are shown.2- Similarly, if I hover on
d
(or put the focus betweend
ande
, then pressCtrl+K Ctrl+I
), both of the two messages are shown.Expected Behavior
At Location 1, only the message for
c
is relevant and expected.At Location 2, only the message for
d
is relevant and expected.Additional Context
In Monaco Editor, Markers allow to underline a text and display a message when hovering over it. But I just realized that the reactive range of hovering is a little bit larger than the underlining range. As a consequence, messages can be confusing when two markers are adjacent.
Beta Was this translation helpful? Give feedback.
All reactions