Ace: Add commented-out language_tools lines in case we want them later

We may want this if we enable code completion, though it's a little
dumb. (It seems to show suggestions regardless of context.)
This commit is contained in:
Dan Stillman 2020-12-24 02:48:54 -05:00
parent 1040ba0b5e
commit 874c4044e5
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,8 @@
<head>
<script type="text/javascript" src="chrome://zotero/content/include.js"></script>
<script type="text/javascript" src="resource://zotero/ace/ace.js"></script>
<!-- Enable for autocomplete -->
<!--<script type="text/javascript" src="resource://zotero/ace/ext-language_tools.js"></script>-->
<script type="text/javascript" src="resource://zotero/ace/mode-javascript.js"></script>
<script type="text/javascript" src="aceWrapper.js"></script>
</head>

View file

@ -41,6 +41,8 @@ const symlinkFiles = [
// We only need a couple Ace Editor files
'!resource/ace/**/*',
'resource/ace/ace.js',
// Enable for autocomplete
//'resource/ace/ext-language_tools.js',
'resource/ace/ext-searchbox.js',
'resource/ace/keybinding-emacs.js',
'resource/ace/keybinding-vim.js',