fdb2 1.0.35 → 1.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -1
- package/dist/public/explorer.css +1322 -1115
- package/dist/public/explorer.js +619 -461
- package/dist/public/index.css +717 -118
- package/dist/public/index.js +276 -26
- package/dist/public/layout.css +201 -202
- package/dist/public/layout.js +14 -14
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.ts +0 -1
- package/dist/server/service/database/clickhouse-connection.d.ts.map +1 -1
- package/dist/server/service/database/clickhouse-connection.js +3 -3
- package/dist/server/service/database/clickhouse-connection.js.map +1 -1
- package/dist/server/service/database/clickhouse-connection.ts +3 -3
- package/package.json +6 -2
- package/public/fdb2.png +0 -0
package/README.md
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
#### 💻 Desktop Client (Recommended)
|
|
36
36
|
Download the pre-built cross-platform desktop application for immediate use:
|
|
37
|
-
- **[Windows / macOS / Linux Client Download](https://github.com/fefeding/fdb2/releases/
|
|
37
|
+
- **[Windows / macOS / Linux Client Download](https://github.com/fefeding/fdb2/releases/)**
|
|
38
38
|
- Unzip and double-click to run, no environment setup required
|
|
39
39
|
|
|
40
40
|
#### 📦 Command Line Tool
|
|
@@ -78,6 +78,25 @@ http://localhost:9800
|
|
|
78
78
|
|
|
79
79
|
> 💡 **Tip**: Default port is 9800, but if occupied, it will automatically select another available port
|
|
80
80
|
|
|
81
|
+
## 🔌 VSCode Extension
|
|
82
|
+
|
|
83
|
+
Prefer staying inside the editor? `fdb2` also ships as a **VSCode extension** — "Database Tool (fdb2)" — that embeds the same UI directly in VSCode.
|
|
84
|
+
|
|
85
|
+
- **Native tree navigation** — a dedicated **Database Tool** view in the Activity Bar (Connection → Database → Table → Column). Click any node to open the related panel.
|
|
86
|
+
- **Per-connection tabs** — the same connection reuses one editor tab while different connections open new tabs, so you can compare databases side by side.
|
|
87
|
+
- **Rich content area** — connection overview, database detail, paginated table data (with a one-line pagination + page-size bar), table structure (columns/indexes/foreign keys/SQL), and a full SQL query panel (`Ctrl/Cmd+Enter` to run).
|
|
88
|
+
- **Shared config** — connections are stored at `~/.fdb2/connections.json` and reused by both the desktop app and the extension (override with the `dbtool.dataDir` setting).
|
|
89
|
+
- **Supported databases** — MySQL, PostgreSQL, SQL Server, SQLite, Oracle, CockroachDB, MongoDB, SAP HANA, ClickHouse (Oracle/SQLite/SAP HANA need native drivers compiled for VSCode's Node ABI).
|
|
90
|
+
|
|
91
|
+
Install from the Marketplace (`Ctrl/Cmd+Shift+X` → search **"Database Tool (fdb2)"**), or build from source:
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
cd packages/vscode && npm install && npm run build
|
|
95
|
+
# then press F5 in VSCode to launch the Extension Development Host
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
> For full setup, operations, settings, native-driver notes, and publishing, see [**packages/vscode/README.md**](packages/vscode/README.md).
|
|
99
|
+
|
|
81
100
|
## 📊 Supported Database Types
|
|
82
101
|
|
|
83
102
|
| Database Type | Default Port | Key Features |
|