elastic / kibana

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

[dev console] better syntax highlighting for esql _query endpoint #201510

Open mattkime opened 1 week ago

mattkime commented 1 week ago

KEEP should be highlighted in the example query below. Investigation is needed to determine if its using ESQL language validation.

Image

elasticmachine commented 1 week ago

Pinging @elastic/kibana-management (Team:Kibana Management)

sabarasaba commented 1 week ago

I think the keyword might need to be added in https://github.com/elastic/kibana/blob/main/packages/kbn-monaco/src/sql/lexer_rules/sql.ts#L17