Skip to content

docs: add project setup instructions to README#18

Open
WaseemAldemeri wants to merge 1 commit into
LoamStudios:mainfrom
WaseemAldemeri:docs/project-setup-instructions
Open

docs: add project setup instructions to README#18
WaseemAldemeri wants to merge 1 commit into
LoamStudios:mainfrom
WaseemAldemeri:docs/project-setup-instructions

Conversation

@WaseemAldemeri
Copy link
Copy Markdown

Summary

Expands the README with project-setup instructions so new users know they need a postgres-language-server.jsonc at the root of their project before the language server provides diagnostics, autocomplete, or hover.

Why

The current README only covers installing the extension. Without a config file at the project root, the LSP loads but produces no feedback, which is a common source of confusion (e.g. #14). Adding a minimal, working db-block example up front saves users from digging through upstream docs.

What's included

  • Project Setup section with the required filename and root-folder placement
  • A copy-pasteable postgres-language-server.jsonc example with discrete db fields
  • A reload-Zed step
  • Link to upstream docs for advanced configuration (linter rules, formatter, type checking)

- Document required `postgres-language-server.jsonc` config file at project root, since the language server stays inactive without it
- Provide a sample config covering schema reference, linter rules, and database connection fields
- Note that Zed must be reloaded to pick up the new configuration
- Link to upstream Postgres Language Server docs for the full configuration reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant