Open maury91 opened 7 years ago
interesting idea, I actually think it shouldn't be too smart in order to not accidentally limit the things.
I'd go first with filling the mapping object_name -> properties
without distinguishing the type of object. I.e. if there is schema public
and table public
then the mapping would contain properties for both schema and table.
Having the above will allow "smart" autocompletion after pressing the dot.
I really appreciate if you implement this. I'm not planning to work on this in the nearest future for sure.. (still working on explain plan visualisation)
I was thinking a way to reduce the noise on the autocomplete. Analyse the query to understand which tables are being used is probably too difficult. But there's an easy workaround
(I can implement this feature, I've already spotted the interested areas)