michelin / snowflake-grafana-datasource

Snowflake Grafana datasource plugin enables the visual representation of Snowflake data within Grafana dashboards and manages alerts.
Apache License 2.0
67 stars 33 forks source link

Use monospaced font in query editor #63

Closed rumbin closed 5 months ago

rumbin commented 7 months ago

The code editor of the SQL queries uses a variable-spaced font instead of a monospaced one. This results in bad readability of the SQL code.

So the suggestion is to use a monospaced font. For reference, see https://github.com/grafana/grafana/issues/15414

rumbin commented 7 months ago

As an extension of this request, I'd like to share some thought on alternative ways to approach this issue:

Related issues with the current SQL query code editor:

Maybe it would be an option to switch to Monaco editor, i.e., the web editor of VS Code? Some components/plugins of Grafana already seem to use it: