Merge pull request #443 from oleggator/autocompletion
Add SQL keyword autocompletion
This commit is contained in:
commit
9afc152f25
@ -12,6 +12,7 @@
|
||||
<script type="text/javascript" src="static/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="static/js/ace.js"></script>
|
||||
<script type="text/javascript" src="static/js/ace-pgsql.js"></script>
|
||||
<script type="text/javascript" src="static/js/ext-language_tools.js"></script>
|
||||
<script type="text/javascript" src="static/js/bootstrap-contextmenu.js"></script>
|
||||
<script type="text/javascript" src="static/js/utils.js"></script>
|
||||
<script type="text/javascript" src="static/js/bootstrap3-typeahead.min.js"></script>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -715,6 +715,10 @@ function buildTableFilters(name, type) {
|
||||
function initEditor() {
|
||||
var writeQueryTimeout = null;
|
||||
editor = ace.edit("custom_query");
|
||||
editor.setOptions({
|
||||
enableBasicAutocompletion: true,
|
||||
enableLiveAutocompletion: true,
|
||||
});
|
||||
|
||||
editor.setFontSize(13);
|
||||
editor.setTheme("ace/theme/tomorrow");
|
||||
|
8
static/js/ext-language_tools.js
Normal file
8
static/js/ext-language_tools.js
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user