[ https://issues.apache.org/jira/browse/DRILL-5868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16318870#comment-16318870 ]
ASF GitHub Bot commented on DRILL-5868: --------------------------------------- Github user kkhatua commented on a diff in the pull request: https://github.com/apache/drill/pull/1084#discussion_r160487621 --- Diff: exec/java-exec/src/main/resources/rest/static/js/ace-code-editor/snippets/sql.js --- @@ -0,0 +1,46 @@ +/** + * Drill SQL Syntax Snippets + */ + +ace.define("ace/snippets/sql",["require","exports","module"], function(require, exports, module) { +"use strict"; + +exports.snippetText = "snippet info\n\ + select * from INFORMATION_SCHEMA.${1:<tableName>};\n\ +snippet sysmem\n\ --- End diff -- Not sure what you mean. All available snippet keywords (e.g. 'info') are in lower-case, but I don't think that is affecting the suggested autocomplete options. The template, however, is projected verbatim to the definition. So, INFORMATION_SCHEMA will remain in upper case. ![image](https://user-images.githubusercontent.com/4335237/34736399-a2c01e78-f527-11e7-84aa-fcdfcefc6a5c.png) > Support SQL syntax highlighting of queries > ------------------------------------------ > > Key: DRILL-5868 > URL: https://issues.apache.org/jira/browse/DRILL-5868 > Project: Apache Drill > Issue Type: New Feature > Components: Web Server > Reporter: Kunal Khatua > Assignee: Kunal Khatua > Priority: Minor > Fix For: 1.13.0 > > > It would be nice to have the Query Editor support syntax highlighting. > An autocomplete would be even better as new functions are introduced in Drill -- This message was sent by Atlassian JIRA (v6.4.14#64029)