Can Autocomplete plus provider determine wordRegex?


#1

I love Autocomplete plus. :slightly_smiling:

I just want to know the way that Autocomplete plus provider determines wordRegex.

Because for autocompleting with ‘/’ strings such as path autocomplete.(eg directory/filename.js)

After typing / character, autocomplete plus gives prefix, which only after / character, to getSuggestions of autocomple plus provider


#2

Opps, I found a solution :slightly_smiling:

user getPrefix method.

see this doc : https://github.com/atom/autocomplete-plus/wiki/Provider-API#generating-a-new-prefix