For the case select 1 from t<TAB> our autocompletion were suggesting all SQLite keywords that starts with t because SQLite accept everything as a table name.
The solution is to find all rules that contains the last token,then we check if some rule is any_name, that is the rule that says "accept anything here". In this cases, we suggest nothing
Description
For the case
select 1 from t<TAB>
our autocompletion were suggesting all SQLite keywords that starts witht
because SQLite accept everything as a table name. The solution is to find all rules that contains the last token,then we check if some rule isany_name
, that is the rule that says "accept anything here". In this cases, we suggest nothing