yabab-dev/ng2-codemirror

How can I tweak it to create a custom autocomplete without "Ctrl+Space"

jdgomezb opened this issue · 0 comments

Hey this is just a question on how can I tweak Codemirror to pass it a list of keywords that I want to appear in the autocomplete list?

But then the autocomplete is not supposed to appear on the shortcut ctrl+space but as soon as the user types three consecutive letters. How can I listen to the events on the Codemirror instance and fire the autocomplete with the custom list of keywords?

Thanks in advance for any guidance you can provide me with.