postgres-language-server
postgres-language-server copied to clipboard
A Language Server for Postgres
Personally I'd use it in its unfinished state as it's better than anything in there already, but whatever you wish. This would be a good idea when it is 'stable'...
# Bug report ## Describe the bug cargo xtask install command is not working properly ## To Reproduce follow readme to install with cargo ``` ➜ postgres_lsp git:(main) cargo xtask...
this pr rewrites the statement splitter so that it passes through all postgres regression tests. closes #135 todos: - [ ] introduce `Repeated` syntax definition to parse CTEs and UNION...
**[wip document]** This tracks the current near-term plans for `postgres_lsp`. **Groundwork** - [ ] Stabilise change processing in base-db - [ ] Rewrite statement splitter to be more resilient #135...
Right now, the autocomplete feature is very bare-bones. It just supports tables and does not have any advanced searching or ordering. - [ ] improve implementation for tables autocomplete -...
The statement splitter is a crate that receives sql source and returns ranges for every statement in the file. It's supposed to work with incomplete and incorrect statements. Right now,...
This crate should serve as a utility box for any feature crates that need to find a schema cache item from a source item. It works okay for functions already,...
We need the postgres version in the schema cache to eg show hints or compute lints based on the version of postgres. Note that we can copy the sql from...
The `pg_query_ext` crate is a small wrapper around `pg_query` that uses procedural macros to implement missing or incomplete functionality from `pg_query`. To improve performance and clean up our implementation, we...
Right now, we implement just a single rule in the analyser. We should port all of the remaining rules from [Squawk](https://github.com/sbdchd/squawk) over. There is a [contribution guide](https://github.com/supabase-community/postgres_lsp/blob/main/crates/pg_analyser/CONTRIBUTING.md) for analyser rules...