Description
Proposal
Currently, the codemirror-autocomplete only supports keyboard navigation (up/down keys) to view information about metrics. When users select a metric using arrow keys, additional information appears in a tooltip to the side.
However, there's no support for hovering over suggestions to achieve the same effect. Users have to explicitly use keyboard navigation to see the additional context for each suggestion.
We're currently using CodeMirror's autocomplete functionality via the @codemirror/autocomplete
package and it doesn't offer a built-in configuration option for hover selection.
This seems like a nice feature to have since the natural behavior after seeing the autocomplete dropdown is to hover over the options, which currently doesn't trigger any selection. This makes the interface feel a bit broken, forcing users to switch to keyboard navigation. Please let me know if this issue is relevant and if we need this feature.
I am currently working on this and will raise a PR soon.