MattiasMTS / cmp-dbee

Autocompletion for nvim-dbee
MIT License
53 stars 9 forks source link

feat: add flatten structure for models #15

Closed MattiasMTS closed 9 months ago

MattiasMTS commented 9 months ago

New feature which allows tables/views/functions to be autocompleted out of the box but with addition of schema as prefix.

For example: I've a table in flights schema which is called seattle... something. Now when I start to write seattle it still finds this table but adds the schema as a prefix:

image

so when "accepting" this autocompletion -> the schema.table is accepted

image

This allows tables/views to be prompted out of the box but without causing ambiguity later on when executing the query.


EDIT I realize now that I need to make a new video..