[sqllab] add autocomplete to AceEditor for table and column names (#1475)

* [sqllab] add autocomplete to AceEditor for table and column names

* addressing comment about getCompletions as a component method
This commit is contained in:
Maxime Beauchemin
2016-10-28 21:35:49 -07:00
committed by GitHub
parent 45efcb381c
commit 4bf525222a
2 changed files with 32 additions and 2 deletions

View File

@@ -208,6 +208,7 @@ class SqlEditor extends React.PureComponent {
</Col>
<Col md={9}>
<AceEditorWrapper
tables={this.props.tables}
sql={this.props.queryEditor.sql}
onBlur={this.setQueryEditorSql.bind(this)}
/>