I am developing an SQL editor, I used the current
lang-sql package and it works great.
One problem I faced was how we could add column name hints based on the selected table.
Assume we have two tables,
sales(both are provided in schema)
select name from users;
in current version, when we provide
users it will globally autocomplete the column names(
name in this case)
but if we do a query like
select total from sales;
we are still getting auto-completion for the
users table as it was set to default, not columns related to
is there a possibility to change the column auto-completion based on context?