SQL Lab Extension Points
SQL Lab provides 5 extension points where extensions can contribute custom UI components. Each area serves a specific purpose and can be customized to add new functionality.
Layout Overview
┌──────────┬─────────────────────────────────────────┬─────────────┐
│ │ │ │
│ │ │ │
│ │ Editor │ │
│ │ │ │
│ Left │ │ Right │
│ Sidebar ├─────────────────────────────────────────┤ Sidebar │
│ │ │ │
│ │ Panels │ │
│ │ │ │
│ │ │ │
│ │ │ │
├──────────┴─────────────────────────────────────────┴─────────────┤
│ Status Bar │
└──────────────────────────────────────────────────────────────────┘
| Extension Point | ID | Description |
|---|---|---|
| Left Sidebar | sqllab.leftSidebar | Navigation and browsing (database explorer, saved queries) |
| Editor | sqllab.editor | SQL query editor workspace |
| Right Sidebar | sqllab.rightSidebar | Contextual tools (AI assistants, query analysis) |
| Panels | sqllab.panels | Results and related views (visualizations, data profiling) |
| Status Bar | sqllab.statusBar | Connection status and query metrics |
Area Customizations
Each extension point area supports three types of action customizations:
┌───────────────────────────────────────────────────────────────┐
│ Area Title [Button] [Button] [•••] │
├───────────────────────────────────────────────────────────────┤
│ │
│ │
│ Area Content │
│ │
│ (right-click for context menu) │
│ │
│ │
└───────────────────────────────────────────────────────────────┘
| Action Type | Location | Use Case |
|---|---|---|
| Primary Actions | Top-right buttons | Frequently used actions (e.g., run, refresh, add new) |
| Secondary Actions | 3-dot menu (•••) | Less common actions (e.g., export, settings) |
| Context Actions | Right-click menu | Context-sensitive actions on content |