You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -76,7 +76,7 @@ The project uses a modular Rust workspace with crates prefixed with `pgt_`:
76
76
77
77
**Core Infrastructure:**
78
78
-`pgt_workspace` - Main API and workspace management
79
-
-`pgt_lsp` - Language Server Protocol implementation
79
+
-`pgt_lsp` - Language Server Protocol implementation
80
80
-`pgt_cli` - Command-line interface
81
81
-`pgt_fs` - Virtual file system abstraction
82
82
-`pgt_configuration` - Configuration management
@@ -103,8 +103,8 @@ The project uses a modular Rust workspace with crates prefixed with `pgt_`:
103
103
### TypeScript Packages
104
104
Located in `packages/` and `editors/`:
105
105
- VSCode extension in `editors/code/`
106
-
- Backend JSON-RPC bridge in `packages/@postgrestools/backend-jsonrpc/`
107
-
- Main TypeScript package in `packages/@postgrestools/postgrestools/`
106
+
- Backend JSON-RPC bridge in `packages/@postgres-language-server/backend-jsonrpc/`
107
+
- Main TypeScript package in `packages/@postgres-language-server/postgres-language-server/`
108
108
109
109
### Database Integration
110
110
The server connects to a Postgres database to build an in-memory schema cache containing tables, columns, functions, and type information. This enables accurate autocompletion and type checking.
@@ -132,7 +132,7 @@ cargo insta review
132
132
133
133
### Rust Configuration
134
134
-`Cargo.toml` - Workspace definition with all crate dependencies
135
-
-`rust-toolchain.toml` - Rust version specification
135
+
-`rust-toolchain.toml` - Rust version specification
136
136
-`rustfmt.toml` - Code formatting configuration
137
137
-`clippy.toml` - Clippy linting configuration
138
138
@@ -150,6 +150,6 @@ Many parser structures are generated from PostgreSQL's protobuf definitions usin
150
150
### Database Schema
151
151
The `pgt_schema_cache` crate contains SQL queries in `src/queries/` that introspect the database schema to build the in-memory cache.
152
152
153
-
### Multi-Platform Support
153
+
### Multi-Platform Support
154
154
The project includes platform-specific allocators and build configurations for Windows, macOS, and Linux.
155
-
- Seeing the Treesitter tree for an SQL query can be helpful to debug and implement features. To do this, create a file with an SQL query, and run `just tree-print <file.sql>`.
155
+
- Seeing the Treesitter tree for an SQL query can be helpful to debug and implement features. To do this, create a file with an SQL query, and run `just tree-print <file.sql>`.
0 commit comments