elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.63k stars 8.22k forks source link

[ES|QL] consider commit characters #192738

Open drewdaemon opened 2 months ago

drewdaemon commented 2 months ago

Monaco allows completion items to include a set of "commit characters" (ref). They are "an optional set of characters that when pressed while this completion is active will accept it first and then type that character."

One example in the Typescript intellisense (source) is typing ( to accept a method suggestion. E.g. typing ( when the suggestion menu opens after Math.

https://github.com/user-attachments/assets/181fa21f-c029-4804-869c-aadd61031294

We could consider including this functionality in the ES|QL editor.

elasticmachine commented 2 months ago

Pinging @elastic/kibana-esql (Team:ESQL)