Skip to content

chore: fix bug in codegen #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/codegen/src/default_configuration.rs
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ pub fn generate_default_configuration(docs_dir: &Path) -> anyhow::Result<()> {
let index_path = docs_dir.join("index.md");

let printed_config = format!(
"\n```json\n{}```\n",
"\n```json\n{}\n```\n",
serde_json::to_string_pretty(&PartialConfiguration::init())?
);

4 changes: 3 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ A collection of language tools and a Language Server Protocol (LSP) implementati
This project provides a toolchain for Postgres development, built on Postgres' own parser `libpg_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 the [Language Server Protocol](https://microsoft.github.io/language-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.

Currently, the following features are implemented:

- Autocompletion
- Syntax Error Highlighting
- Type-checking (via `EXPLAIN` error insights)
@@ -64,7 +65,8 @@ After running the `init` command, you’ll have a `postgrestools.jsonc` file in
"database": "postgres",
"connTimeoutSecs": 10
}
}```
}
```

[//]: # (END DEFAULT_CONFIGURATION)