Chris Carlson created AIRFLOW-1341:
--------------------------------------
Summary: Improved Syntax Highlighting
Key: AIRFLOW-1341
URL: https://issues.apache.org/jira/browse/AIRFLOW-1341
Project: Apache Airflow
Issue Type: Improvement
Components: ui
Reporter: Chris Carlson
Priority: Minor
Attachments: airflow_syntax_highlighting.png,
sublime2_syntax_highlighting.png
Issue:
One of my most common use cases for Airflow is to have it run some SQL against
the DB and generate a mart table. I prefer to write my queries directly in the
DAG (rather than read them from file) as it allows me to easily review the
logic using the 'code' UI at the `admin/airflow/code` endpoint.
The problem is that Airflow's syntax highlighting treats SQL as a string (see
attached screenshots for comparison).
Would be great if Airflow had more advanced syntax highlighting, would be even
better if different themes could be selected.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)