Commit e2826fb
authored
feat: autocomplete with single
- [x] fix policy completions – seem to be broken given `select | from public.users "u"` or `select | from public.users u`… - autocomplete with single `"` -> results in `"u"."email"` or `"email"` - autocomplete within double `""` -> results in `"u"."email"` or `"email"` - recognize aliases regardless of whether they are quoted or not: - `"u".|` and `u.|` will both suggest `email` - `"u"."|` and `u."|` and `"u"."|"` and `u."|"` will all suggest `"email"` - *This does not yet work for tables -> separate PR* - existing behavior without quotes is unaffected" (#502)1 parent 4e2cafd commit e2826fb
File tree
18 files changed
+778
-180
lines changed- crates
- pgt_completions/src
- providers
- relevance
- pgt_hover/src
- hoverables
- pgt_lsp/src
- pgt_treesitter/src
- context
- queries
18 files changed
+778
-180
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments