Skip to content
Merged
Show file tree
Hide file tree
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: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Publish Extension
permissions:
contents: read

on:
push:
Expand Down
6 changes: 4 additions & 2 deletions MARKETPLACE.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@
| 🔌 **Secure Connections** | Manage multiple connections with VS Code SecretStorage encryption |
| 📊 **Live Dashboard** | Real-time metrics, active query monitoring, and performance graphs |
| 📓 **SQL Notebooks** | Interactive notebooks with rich output, AI assistance, and export options |
| 🌳 **Database Explorer** | Browse tables, views, functions, types, extensions, and roles |
| 🌳 **Database Explorer** | Browse tables, views, functions, types, extensions, roles, and FDWs |
| 🛠️ **Object Operations** | Full CRUD operations, scripts, VACUUM, ANALYZE, REINDEX |
| 🌍 **Foreign Data Wrappers** | Manage foreign servers, user mappings, and tables |
| 🤖 **AI-Powered** | GitHub Copilot, OpenAI, Anthropic, and Google Gemini integration |
| ⌨️ **Developer Tools** | IntelliSense, keyboard shortcuts, PSQL terminal access |
| 📤 **Export Data** | Export query results to CSV, JSON, or Excel formats |
Expand Down Expand Up @@ -103,7 +104,7 @@ Navigate your database with an intuitive hierarchical tree view:
├── 🔄 Materialized Views
├── ⚙️ Functions
├── 🏷️ Types
├── 🔗 Foreign Tables
├── 🌍 Foreign Data Wrappers
├── 🧩 Extensions
└── 👥 Roles
```
Expand Down Expand Up @@ -176,6 +177,7 @@ code --install-extension ric-v.postgres-explorer
| 🔄 **Materialized Views** | Refresh, View Data, Edit, Drop |
| ⚙️ **Functions** | View, Edit, Call with Parameters, Drop |
| 🏷️ **Types** | View Properties, Edit, Drop |
| 🌍 **Foreign Data Wrappers** | Create/Drop Server, User Mappings, Import Schema |
| 🔗 **Foreign Tables** | View, Edit, Drop |
| 🧩 **Extensions** | Enable, Disable, Drop |
| 👥 **Roles** | Grant/Revoke Permissions, Edit, Drop |
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@
- 🔌 **Secure Connections** — VS Code SecretStorage encryption
- 📊 **Live Dashboard** — Real-time metrics & query monitoring
- 📓 **SQL Notebooks** — Interactive notebooks with AI assistance
- 🌳 **Database Explorer** — Browse tables, views, functions, types
- 🌳 **Database Explorer** — Browse tables, views, functions, types, FDWs
- 🛠️ **Object Operations** — CRUD, scripts, VACUUM, ANALYZE, REINDEX
- 🌍 **Foreign Data Wrappers** — Manage foreign servers, user mappings & tables
- 🤖 **AI-Powered** — GitHub Copilot, OpenAI, Anthropic, Gemini
- 📤 **Export Data** — Export results to CSV, JSON, or Excel

Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h3>Database Explorer</h3>
<ul class="feature-list">
<li>Tables, Views, Functions</li>
<li>Materialized Views</li>
<li>Types & Extensions</li>
<li>Types, Extensions, FDWs</li>
<li>Roles & Permissions</li>
</ul>
</div>
Expand Down
107 changes: 103 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"name": "postgres-explorer",
"displayName": "PostgreSQL Explorer",
"version": "0.6.0",
"displayName": "PgStudio (PostgreSQL Explorer)",
"version": "0.6.7",
"description": "PostgreSQL database explorer for VS Code with notebook support",
"publisher": "ric-v",
"private": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dev-asterix/yape.git"
"url": "https://github.com/dev-asterix/PgStudio.git"
},
"bugs": {
"url": "https://github.com/dev-asterix/yape/issues"
"url": "https://github.com/dev-asterix/PgStudio/issues"
},
"homepage": "https://github.com/dev-asterix/yape#readme",
"homepage": "https://pgstudio.astrx.dev/",
"icon": "resources/postgres-explorer.png",
"galleryBanner": {
"color": "#C80000",
Expand Down Expand Up @@ -1593,7 +1593,7 @@
"main": "./dist/extension.js",
"scripts": {
"vscode:prepublish": "npm run esbuild-base --minify && npm run esbuild-renderer --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --external:ssh2 --format=cjs --platform=node",
"esbuild-renderer": "esbuild ./src/renderer_v2.ts --bundle --outfile=dist/renderer_v2.js --format=esm --platform=browser",
"compile": "tsc -p ./ && npm run esbuild-renderer",
"watch": "tsc -watch -p ./",
Expand All @@ -1605,14 +1605,16 @@
"dependencies": {
"chart.js": "^4.5.1",
"esbuild": ">=0.25.0",
"pg": "^8.11.3"
"pg": "^8.11.3",
"ssh2": "^1.15.0"
},
"devDependencies": {
"@types/chai": "^5.2.3",
"@types/mocha": "^10.0.10",
"@types/module-alias": "^2.0.4",
"@types/node": "^16.18.126",
"@types/pg": "^8.11.11",
"@types/ssh2": "^1.15.0",
"@types/sinon": "^21.0.0",
"@types/vscode": "^1.80.0",
"@types/vscode-notebook-renderer": "^1.72.4",
Expand Down
7 changes: 7 additions & 0 deletions src/common/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ export interface ConnectionConfig {
username?: string;
password?: string;
database?: string;
ssh?: {
enabled: boolean;
host: string;
port: number;
username: string;
privateKeyPath?: string;
};
}

export interface PostgresMetadata {
Expand Down
Loading