rumbin opened a new issue #4204: Add syntax highlighting for SQL expressions in 
Edit Table form
URL: https://github.com/apache/incubator-superset/issues/4204
 
 
   ### Feature Request
   
   There are several fields in the __Edit Table__ form that contain SQL 
expressions, namely
   * __Detail__ tab: __Sql__ and maybe(?) __Fetch Values Predicate__
   * __List Columns__ tab: __Expression__ and __Database Expression__
   * __List Metrics__ tab: __SQL Expression__
   
   I think it would be very helpful if syntax highlighting and, most 
importantly, hinting for pairs of parentheses/brackets/braces would be 
available in these fields.
   Especially for more sophisticated metrics I often end up either counting the 
parentheses or pasting the code into an editor which shows which pair of 
parentheses is incomplete.
   
   Maybe an implementation in a similar way like the modal for the Markup slice 
would be possible?
   In this modal parentheses and braces get closed automatically and hints for 
corresponding pairs are given, as well (although a bit too faint in my eyes).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to