Postgres Language Server:初始版本发布

supabase-community / postgres-language-server

一个用于Postgres的 Language Server。

pgtools.dev/

License

MIT license

3.8k stars 68 forks

supabase-community/postgres-language-server

代码

目录和文件

名称 | 名称 | 最近提交信息 | 最近提交日期 ---|---|---|--- .cargo | .cargo .github | .github crates | crates docs | docs editors/code | editors/code example | example lib/tree_sitter_sql | lib/tree_sitter_sql libpg_query @ 27b2af9 | libpg_query @ 27b2af9 packages/@postgrestools | packages/@postgrestools test-db | test-db xtask | xtask .cursorignore | .cursorignore .env | .env .gitignore | .gitignore .gitmodules | .gitmodules ARCHITECTURE.md | ARCHITECTURE.md Cargo.lock | Cargo.lock Cargo.toml | Cargo.toml LICENSE | LICENSE README.md | README.md biome.jsonc | biome.jsonc bun.lock | bun.lock cliff.toml | cliff.toml clippy.toml | clippy.toml docker-compose.yml | docker-compose.yml justfile | justfile mkdocs.yml | mkdocs.yml package.json | package.json postgrestools.jsonc | postgrestools.jsonc pyproject.toml | pyproject.toml rust-toolchain.toml | rust-toolchain.toml rustfmt.toml | rustfmt.toml taplo.toml | taplo.toml test.sql | test.sql tsconfig.json | tsconfig.json uv.lock | uv.lock

Postgres Language Server

Postgres Language Server

一个 Postgres 的语言工具集合和一个 Language Server Protocol (LSP) 的实现,专注于开发者体验和可靠的 SQL 工具。

文档: pgtools.dev

安装: 安装指引

概述

本项目为 Postgres 开发提供了一个工具链,它构建在 Postgres 自己的解析器 libpg_query 之上,以确保 100% 的语法兼容性。它构建在 Server-Client 架构上,并具有传输不可知的设计。这意味着所有功能不仅可以通过 Language Server Protocol 访问,还可以通过其他接口访问,例如 CLI、HTTP APIs 或 WebAssembly 模块。目标是使所有出色的 Postgres 工具尽可能易于访问,并构建我们自己缺失的任何东西。

实现了以下功能:

我们目前的工作重点是改进和增强这些核心功能,同时构建一个强大且易于访问的基础架构。有关未来的计划和贡献机会,请查看 issues 和 discussions。欢迎任何贡献!

贡献者

致谢

非常感谢以下项目,没有它们,这个项目是不可能实现的:

关于

一个用于Postgres的 Language Server

pgtools.dev/

Topics

postgres language-server-protocol

Resources

Readme

License

MIT license

Code of conduct

Code of conduct