implemented basic "autocomplete" in editIndex.ts, involving collections autocomple and fields autocomplete in "from" clauses