Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Language Server for Postgres

License

NotificationsYou must be signed in to change notification settings

supabase-community/postgres-language-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Postgres Language Server

Postgres Language Server

A collection of language tools and a Language Server Protocol (LSP) implementation for Postgres, focusing on developer experience and reliable SQL tooling.

Docs:pgtools.dev

Install:instructions

Overview

LSP DemoCLI Demo
LSP DemoCLI Demo

This project provides a toolchain for Postgres development, built on Postgres' own parserlibpg_query to ensure 100% syntax compatibility. It is built on a Server-Client architecture with a transport-agnostic design. This means all features can be accessed not only through theLanguage Server Protocol, but also through other interfaces like a CLI, HTTP APIs, or a WebAssembly module. The goal is to make all the great Postgres tooling out there as accessible as possible, and to build anything that is missing ourselves.

The following features are implemented:

  • Autocompletion
  • Syntax Error Highlighting
  • Type-checking (viaEXPLAIN error insights)
  • Linter, inspired bySquawk

Our current focus is on refining and enhancing these core features while building a robust and easily accessible infrastructure. For future plans and opportunities to contribute, please check out the issues and discussions. Any contributions are welcome!

Contributors

Acknowledgements

A big thanks to the following projects, without which this project wouldn't have been possible:

  • libpg_query: For extracting the Postgres' parser
  • Biome: For implementing a toolchain infrastructure we could copy from
  • Squawk: For the linter inspiration

About

A Language Server for Postgres

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors23


[8]ページ先頭

©2009-2025 Movatter.jp