initial version of autocomplete
This commit is contained in:
parent
a145ab7e28
commit
b979a16199
7 changed files with 164 additions and 1 deletions
7
src/autocomplete/Autocompleter.js
Normal file
7
src/autocomplete/Autocompleter.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import CommandProvider from './CommandProvider';
|
||||
|
||||
const COMPLETERS = [CommandProvider].map(completer => new completer());
|
||||
|
||||
export function getCompletions(query: String) {
|
||||
return COMPLETERS.map(completer => completer.getCompletions(query));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue