Skip to content

Commit d278394

Browse files
chore: rename to postgrestoosl
1 parent 07796e7 commit d278394

File tree

32 files changed

+4092
-4481
lines changed

32 files changed

+4092
-4481
lines changed

.vscode/launch.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"--disable-extensions",
1010
"--extensionDevelopmentKind=node",
1111
"--extensionDevelopmentPath=${workspaceFolder}",
12-
"--log=supabase.pglt-vscode:debug",
12+
"--log=supabase.postgrestools-vscode:debug",
1313
"${workspaceFolder}/test/fixtures/monorepo-nested-config"
1414
],
1515
"outFiles": ["${workspaceFolder}/out/**/*.js"],
@@ -24,7 +24,7 @@
2424
"--disable-extensions",
2525
"--extensionDevelopmentKind=node",
2626
"--extensionDevelopmentPath=${workspaceFolder}",
27-
"--log=supabase.pglt-vscode:debug",
27+
"--log=supabase.postgrestools-vscode:debug",
2828
"${workspaceFolder}/test/fixtures/node-modules-strat"
2929
],
3030
"outFiles": ["${workspaceFolder}/out/**/*.js"],
@@ -38,7 +38,7 @@
3838
"--disable-extensions",
3939
"--extensionDevelopmentKind=node",
4040
"--extensionDevelopmentPath=${workspaceFolder}",
41-
"--log=supabase.pglt-vscode:debug",
41+
"--log=supabase.postgrestools-vscode:debug",
4242
"${workspaceFolder}/test/fixtures/simple-project-download"
4343
],
4444
"outFiles": ["${workspaceFolder}/out/**/*.js"],
@@ -52,7 +52,7 @@
5252
"--disable-extensions",
5353
"--extensionDevelopmentKind=node",
5454
"--extensionDevelopmentPath=${workspaceFolder}",
55-
"--log=supabase.pglt-vscode:debug",
55+
"--log=supabase.postgrestools-vscode:debug",
5656
"${workspaceFolder}/test/fixtures/simple-project-global-bin"
5757
],
5858
"outFiles": ["${workspaceFolder}/out/**/*.js"],
@@ -66,7 +66,7 @@
6666
"--disable-extensions",
6767
"--extensionDevelopmentKind=node",
6868
"--extensionDevelopmentPath=${workspaceFolder}",
69-
"--log=supabase.pglt-vscode:debug",
69+
"--log=supabase.postgrestools-vscode:debug",
7070
"${workspaceFolder}/test/fixtures/workspace-with-settings"
7171
],
7272
"outFiles": ["${workspaceFolder}/out/**/*.js"],
@@ -80,7 +80,7 @@
8080
"--disable-extensions",
8181
"--extensionDevelopmentKind=node",
8282
"--extensionDevelopmentPath=${workspaceFolder}",
83-
"--log=supabase.pglt-vscode:debug",
83+
"--log=supabase.postgrestools-vscode:debug",
8484
"${workspaceFolder}/test/fixtures/yarn-pnp-strat"
8585
],
8686
"outFiles": ["${workspaceFolder}/out/**/*.js"],

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
# PGLT Extension for VS Code
1+
# PostgresTools Extension for VS Code
22

3-
The **PGLT extension for Visual Studio Code** brings PostgreSQL inline suggestions, linting, and type checks to VSCode and VSCode-based editors.
3+
The **PostgresTools extension for Visual Studio Code** brings PostgreSQL inline suggestions, linting, and type checks to VSCode and VSCode-based editors.
44

55
## Installation
66

7-
The PGLT extension for VS Code is not yet distributed but will soon be available via the Visual Studio Marketplace and the Open VSX Registry.
7+
The PostgresTools extension for VS Code is not yet distributed but will soon be available via the Visual Studio Marketplace and the Open VSX Registry.
88

99
## Architecture
1010

11-
The VSCode extension looks for the `pglt` binary and uses it to start an LSP background process. It then creates a VSCode LSP Client and connects it to the server.
11+
The VSCode extension looks for the `postgrestools` binary and uses it to start an LSP background process. It then creates a VSCode LSP Client and connects it to the server.
1212

1313
It'll try five strategies to find the binary, in the following order:
1414

15-
1. The `pglt.bin` VSCode setting can point to a binary with relative or absolute paths.
16-
2. If you have installed pglt via node_modules, the extension will look for the matching binary in your `node_modules`.
17-
3. If you have installed pglt via Yarn Plug'n'Play, the extension will check your `.pnp.cjs` file for a binary.
18-
4. The extension will scan your $PATH for a `pglt` on Darwin/Linux or `pglt.exe` on Windows.
19-
5. If no binary will be found, you will be prompted to download a binary from `pglt`'s Github Releases. You can always download a CLI version via VSCode's Command Palette. (If you want to download prereleases, set `pglt.allowDownloadPrereleaes` in your VSCode settings.)
15+
1. The `postgrestools.bin` VSCode setting can point to a binary with relative or absolute paths.
16+
2. If you have installed postgrestools via node_modules, the extension will look for the matching binary in your `node_modules`.
17+
3. If you have installed postgrestools via Yarn Plug'n'Play, the extension will check your `.pnp.cjs` file for a binary.
18+
4. The extension will scan your $PATH for a `postgrestools` on Darwin/Linux or `postgrestools.exe` on Windows.
19+
5. If no binary will be found, you will be prompted to download a binary from `postgrestools`'s Github Releases. You can always download a CLI version via VSCode's Command Palette. (If you want to download prereleases, set `postgrestools.allowDownloadPrereleaes` in your VSCode settings.)
2020

21-
To connect to your database, `pglt` needs to read a `pglt.toml` config file. By default, the extension will look for that file in your repository. You can specify an alternative path via the `pglt.configFile` VSCode setting.
21+
To connect to your database, `postgrestools` needs to read a `postgrestools.toml` config file. By default, the extension will look for that file in your repository. You can specify an alternative path via the `postgrestools.configFile` VSCode setting.

0 commit comments

Comments
 (0)