Feature Request: simple syntax highlighting for timelion #17112
Labels
Feature:Timelion
Timelion app and visualization
release_note:enhancement
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
Feature Request
Sometimes working with Timelion can involve several series that have some complex queries. After a while, complex queries get hard to read.
It would be nice if there were some sort of simple syntax highlighting to make it easier for the eye to pick out different parts of a Timelion query. There's a Timelion tutorial here: https://www.timroes.de/2017/08/02/timelion-tutorial-from-zero-to-hero/ that has syntax highlighting, although I think it's a more generic highlighter. Timelion could benefit from more specific highlighting (in addition to more generic highlighting that would help distinguish strings from numbers from keywords...). Timelion-specific highlighting I was thinking of could be different classes of functions highlighted in different colours.
Example: functions that calculate derivative could highlight differently than functions that affect the visual display such as colour, bars/lines, etc...
The text was updated successfully, but these errors were encountered: