Version: 1.6.0 | Last Updated: December 31, 2025
Target Audience: All Users | Use Case: Quick Feature Lookup
This is your quick lookup reference for SODA+ AI features. Use it to:
For detailed instructions, see the Full User Guide.
Add Server
AI Analysis
AI Review Button (Toolbar)
Analyze Dependencies
Auto-Login
%APPDATA%\SODA_PLUS\user_session.datBest Practices Analysis
Breadcrumb (Code Viewer)
Call Order Tab
Chart Analysis
Chart Button (Toolbar)
Chart Direction ⭐ NEW!
Clear Chart ⭐ NEW!
Close Application Button
Copy Name
[Schema].[ObjectName]Cross-Database Search ⭐ NEW!
Custom Prompts
Database Explorer
Dependency Analyzer
Dependency Direction ⭐ NEW!
Depth Setting
Downstream Dependencies
Drill-Down Analysis
Environment Selection
Export Button (Toolbar)
Export Definition
File Menu ⭐ NEW!
Formatted View Tab
Full Window Button (Toolbar)
Functions (Object Type)
Load Mermaid ⭐ NEW!
Login
Logic Flowchart
Messages Panel
Multi-Tab Architecture
Object Explorer
Object Search
Open in SSMS ⭐ NEW!
Open SVG
Performance Analysis
Procedures (Object Type)
Quick Chart
Reference Guide
Refactoring Suggestions
Registration
Remove Server
Save SVG As... ⭐ NEW!
Security Analysis
Server Explorer
Session Management
%APPDATA%\SODA_PLUS\user_session.datSQL Formatting Preferences ⭐ NEW!
SQL Code Viewer
Summary Analysis
Tables (Object Type)
Tabs (Analyzer)
Test Connection
Upstream Dependencies
Views (Object Type)
Windows Authentication
| Shortcut | Action | Context |
|---|---|---|
| F1 | Toggle Server Explorer | Any |
| F2 | Toggle Database Explorer | Any |
| F3 | Toggle Object Explorer | Any |
| Ctrl+F | Open Cross-Database Search | Any ⭐ NEW! |
| Ctrl+Shift+F | SQL Formatting Preferences | Any ⭐ NEW! |
| Ctrl+Tab | Cycle through analyzer tabs | Analyzer tabs open |
| Alt+F4 | Close application | Any |
| Shortcut | Action | Context |
|---|---|---|
| Ctrl+Tab | Cycle through main tabs | Multiple tabs open |
| Ctrl+F | Search in code | Code viewer focused |
| Escape | Clear search | Object search focused |
| Shortcut | Action | Tab |
|---|---|---|
| Ctrl+C | Copy selected text | AI Response |
| Ctrl+S | Save session | Any |
| Alt+F4 | Close window | Any |
| Ctrl+Tab | Cycle through tabs | Any |
| Ctrl+F | Browser search | Formatted View |
| Enter | Custom search | Formatted View |
| Shortcut | Action | Context |
|---|---|---|
| Ctrl+S | Save .mmd file | File menu active |
| Ctrl+L | Load .mmd file | File menu active ⭐ NEW! |
| Ctrl+C | Copy Mermaid code | Mermaid Code tab |
| Alt+F4 | Close window | Any |
| Alt+F | Open File menu | Any ⭐ NEW! |
| Alt+O | Open Output menu | Any ⭐ NEW! |
Right-click server:
Right-click Procedure/Function:
Right-click Table:
Right-click View:
Right-click dependency node:
Right-click messages:
| Button | Icon | Action | When Visible |
|---|---|---|---|
| AI Review | 🤖 | Opens AI Review window with SQL code | Procedures/Functions only |
| Chart | 📊 | Opens chart window with current data | Always |
| Export | 💾 | Exports dependencies in 4 formats | Always |
| Format - Clean | 💎 | Formats SQL using ScriptDom (fast, strips comments, 30s timeout) | Always ⭐ NEW! |
| Format - AI | 🤖 | Formats SQL using Grok AI (preserves comments, 30-120s adaptive timeout) | Always ⭐ NEW! [BETA] |
| Open in SSMS | 📤 | Auto-opens code in SSMS query window | Always ⭐ NEW! |
| Full Window | 📺 | Opens standalone analyzer window | Always |
| Depth | 1-10 | Sets dependency depth | Always |
Format Button Details:
@Parameter names| Menu Item | Action | Shortcut | Access Level |
|---|---|---|---|
| SQL Formatting Preferences | Opens SQL formatting configuration dialog | Ctrl+Shift+F | All users |
| - My Preferences Tab | Configure personal formatting options | - | All users |
| - Organization Template Tab | Set shop-wide defaults | - | Admins only |
| Button/Menu | Icon | Action | When Enabled |
|---|---|---|---|
| Chart Type | ▼ | Select chart generation mode | Always |
| Direction | ⬇️⬆️ | Select dependency direction (Downstream/Upstream) | Always ⭐ NEW! |
| Depth | 1-10 | Shows dependency depth from Analyzer | Always (read-only) |
| Generate Chart | 📊 | Creates chart based on selected type | Always |
| File Menu | 📁 ▼ | File operations dropdown | Always ⭐ NEW! |
| - Save Mermaid (.mmd) | 💾 | Saves Mermaid source code | After generation |
| - Load Mermaid (.mmd) | 📂 | Loads Mermaid from file | Always ⭐ NEW! |
| - Copy to Clipboard | 📋 | Copies Mermaid code | After generation |
| - Clear Chart | 🗑️ | Clears current chart | After generation ⭐ NEW! |
| Output Menu | 🖼️ ▼ | Output operations dropdown | Always ⭐ NEW! |
| - Render to SVG | 🎨 | Creates SVG graphic | After generation |
| - Open SVG | 📂 | Views SVG in browser | After render |
| - Save SVG As... | 💾 | Saves SVG to custom location | After render ⭐ NEW! |
| Close | ✖ | Closes chart window | Always |
| Type | Speed | AI Required | Best For |
|---|---|---|---|
| Dependency (Quick) | < 1 sec | ❌ No | Quick dependency checks |
| Dependency (AI) | 5-30 sec | ✅ Yes | Complex dependencies, presentations |
| Flow Chart (AI) | 10-45 sec | ✅ Yes | Understanding procedure/function logic |
| Direction | Shows | Use Case |
|---|---|---|
| ⬇️ Downstream | What this object depends on (references) | Understanding requirements |
| ⬆️ Upstream | What depends on this object (referenced by) | Impact analysis before changes |
| Type | Focus | Output | Auto-Refactor Tab |
|---|---|---|---|
| Summary | Quick overview | Observations, structure | ❌ No |
| Low Hanging | Easy wins | Quick improvements | ✅ Yes |
| Deeper 1-4 | Progressive depth | Foundational to expert | ✅ Yes |
| Security | Vulnerabilities | SQL injection, permissions | ✅ Yes |
| Performance | Optimization | Bottlenecks, indexes | ✅ Yes |
| Best Practices | Code quality | Standards, maintainability | ✅ Yes |
| Refactoring | Restructuring | Complexity reduction | ✅ Yes |
| Type | Speed | Cost | Offline | Best For |
|---|---|---|---|---|
| Quick Chart | < 1 sec | Free | ✅ Yes | Quick checks, simple objects |
| AI-Enhanced | 5-30 sec | API credits | ❌ No | Complex dependencies, documentation |
| Logic Flowchart | 5-30 sec | API credits | ❌ No | Control flow, decision logic |
| Format | Extension | Best For | Preserves |
|---|---|---|---|
| CSV | .csv | Excel analysis | Hierarchy (flattened) |
| JSON | .json | API integration | Full hierarchy |
| Markdown | .md | GitHub/Confluence | Readable hierarchy |
| Text | .txt | Email/reports | Simple list |
All exports include:
| Feature | Quick Chart | AI-Enhanced | Logic Flowchart |
|---|---|---|---|
| Speed | < 1 second | 5-30 seconds | 5-30 seconds |
| Cost | Free | Uses API credits | Uses API credits |
| Offline | ✅ Yes | ❌ No | ❌ No |
| Dependencies | ✅ Direct only | ✅ Multi-level | Partial |
| SQL Analysis | ❌ No | ✅ Yes | ✅ Yes |
| Control Flow | ❌ No | Partial | ✅ Yes |
| Layout | Basic | AI-optimized | AI-optimized |
| Direction Control | ✅ Yes ⭐ NEW! | ✅ Yes ⭐ NEW! | N/A |
| Procedures | ✅ Yes | ✅ Yes | ✅ Yes |
| Functions | ✅ Yes | ✅ Yes | ✅ Yes |
| Views | ✅ Yes | ✅ Yes | ✅ Yes |
| Tables | ❌ No charts for tables | ❌ No | ❌ No |
| File Operations | ✅ Save, Load ⭐ NEW! | ✅ Save, Load ⭐ NEW! | ✅ Save, Load ⭐ NEW! |
Error: "Cannot connect to server"
Error: "Login failed for user"
Error: "Trust server certificate required"
Error: "No SQL code available for AI analysis"
Error: "Maximum 10 tabs reached"
Error: "API key unavailable"
Error: "Render failed - SVG file not created"
Error: "WebView2 initialization failed"
Error: "User not found"
Error: "No API keys available"
Error: "Session file corrupted"
%APPDATA%\SODA_PLUS\user_session.dat, re-loginError: "Cross-database search returned no results"
Error: "Multi-server search failed on some servers"
Error: "AI filtering unavailable"
Error: "Permission denied accessing database"
Location: %APPDATA%\SODA_PLUS\appsettings.user.json
Structure:
{
"Environments": {
"SANDBOX": {
"DisplayName": "Sandbox Environment",
"Servers": [
{
"DataSource": "localhost\\SQLEXPRESS",
"DisplayName": "Local Dev Server",
"AuthenticationType": "Windows",
"TrustServerCertificate": true,
"ConnectTimeout": 30,
"IsActive": true
}
]
},
"TEST": { ... },
"PROD": { ... }
}
}
Fields:
DataSource: SQL Server instance nameDisplayName: Friendly server nameAuthenticationType: "Windows" or "SqlServer"Username: SQL login (if SqlServer auth)EncryptedPassword: DPAPI-encrypted passwordTrustServerCertificate: Allow self-signed certificatesConnectTimeout: Connection timeout in secondsIsActive: Server enabled/disabledSecurity:
Location: %APPDATA%\SODA_PLUS\user_session.dat
Contents:
Security:
Location: appsettings.json (in installation directory)
Key Settings:
{
"Grok": {
"Model": "grok-2-1212",
"ApiKey": "your-key-here",
"Temperature": 0.7,
"MaxTokens": 4000
},
"Mermaid": {
"MaxSqlChars": 25000,
"RenderTimeout": 30000
},
"Prompts": {
"Summary": "...",
"MermaidFlowchart": "...",
"Refactoring": "..."
}
}
Do NOT modify unless:
How do I add a SQL Server?
→ Right-click Server Explorer → Add Server...
How do I search for an object?
→ Use search box above Object Explorer tree
How do I search across all databases? ⭐ NEW!
→ Search menu → Search Current Server → Enter term → Search
How do I search across all servers? ⭐ NEW!
→ Search menu → Search All Servers → Select databases → Search
How do I search inside code? ⭐ NEW!
→ Search dialog → Check "Search inside code definitions" → Search
How do I analyze dependencies?
→ Right-click object → Analyze Dependencies
How do I generate a chart?
→ Right-click object → Chart Analysis → Quick Chart
How do I control chart direction? ⭐ NEW!
→ Chart Window → Direction dropdown → Select Downstream or Upstream
How do I save a chart? ⭐ NEW!
→ Chart Window → File menu → Save Mermaid (.mmd)
How do I load a saved chart? ⭐ NEW!
→ Chart Window → File menu → Load Mermaid (.mmd)
How do I render a chart to SVG? ⭐ NEW!
→ Chart Window → Output menu → Render to SVG
How do I save rendered SVG? ⭐ NEW!
→ Chart Window → Output menu → Save SVG As...
How do I get AI suggestions?
→ Right-click procedure/function → AI Analysis → Pick type
How do I export dependencies?
→ Click Export button (💾) in analyzer toolbar → Pick format
How do I open full window?
→ Click Full Window button (📺) in analyzer toolbar
How do I switch environments?
→ Restart application, select different environment
How do I close all tabs?
→ Close tabs individually with ✖ or restart application
How do I open code in SSMS automatically? ⭐ NEW!
→ Dependency Analyzer → Click 📤 Open in SSMS button
How do I avoid certificate errors in SSMS? ⭐ NEW!
→ Use "Open in SSMS" button (preserves existing connection)
How do I customize SQL formatting? ⭐ NEW!
→ Tools menu → SQL Formatting Preferences → Adjust settings → Save
How do I change indentation size? ⭐ NEW!
→ SQL Formatting Preferences → Indentation Size (0-10 spaces)
How do I change keyword casing? ⭐ NEW!
→ SQL Formatting Preferences → Keyword Casing (UPPERCASE/lowercase/PascalCase)
How do I set organization-wide formatting? ⭐ NEW!
→ SQL Formatting Preferences → Organization Template tab → Save (admins only)
When should I use Format - AI vs Format - Clean? ⭐ NEW!
→ Use Format - AI if SQL has internal comments you want to keep, or @Parameters you want unchanged. Use Format - Clean for speed (< 1s).
Why did my format timeout after 30 seconds? ⭐ NEW!
→ SQL too large/complex for Clean mode. Try Format - AI (adaptive 30-120s timeout) or simplify SQL first.
What happens to comments when I format? ⭐ NEW!
→ Format - Clean strips internal comments (header comments preserved). Format - AI preserves ALL comments.
How do I logout?
→ Delete %APPDATA%\SODA_PLUS\user_session.dat, restart
You are here: 🔍 Reference Guide
Other Guides:
End of Reference Guide | Version: 1.6.0 | Last Updated: December 31, 2025
For detailed instructions: Full User Guide
Open in SSMS button provides fully automated workflow for opening SQL code in SQL Server Management Studio.
Key Benefits:
1. Click 📤 "Open in SSMS" button
↓
2. System detects if SSMS is running
↓
3. Prepares code with USE [Database] statement
↓
4. Copies code to clipboard
↓
5. Activates SSMS window
↓
6. Sends Ctrl+N (new query window)
↓
7. Sends Ctrl+V (paste code)
↓
8. Done! Code ready to execute
Total time: 3-5 seconds
Manual steps: Zero
| Feature | Description |
|---|---|
| Smart Detection | Detects running SSMS (avoids duplicate instances) |
| Multi-Version | Supports SSMS 18, 19, 20, 21+ (prefers newest) |
| Keyboard Automation | Uses Windows API (keybd_event) for Ctrl+N, Ctrl+V |
| Connection Preservation | Uses existing SSMS connection (no re-auth) |
| USE Statement | Auto-adds USE [Database] with GO separator |
| Temp Files | Creates timestamped .sql files in %TEMP%\SODA_PLUS_SSMS\ |
| Graceful Fallback | Shows manual instructions if automation fails |
| Window Activation | Brings SSMS to front (restores if minimized) |
Toolbar: Dependency Analyzer (right side, after Export button)
Icon: 📤
Tooltip: "Open this object in SQL Server Management Studio (SSMS 18-21)"
| Object Type | Supported | Notes |
|---|---|---|
| Stored Procedures | ✅ Yes | Full code with USE statement |
| Functions | ✅ Yes | Full code with USE statement |
| Views | ✅ Yes | Full code with USE statement |
| Tables | ✅ Yes | Object name copied (no code) |
USE [Database]Time Saved: 10x faster!
SSMS is already running (PID: 12345).
Object: dbo.GetCustomer
Server: YourServer
Database: YourDatabase
Would you like to automatically open this code in SSMS?
Automated steps:
• Activate SSMS window
• Send Ctrl+N (new query window)
• Send Ctrl+V (paste code with USE statement)
Your existing connection will be preserved!
[Yes] [No]
✅ SQL code automatically opened in SSMS!
Object: dbo.GetCustomer
Server: YourServer
Database: YourDatabase
Actions performed automatically:
• SSMS window activated
• New query window opened (Ctrl+N)
• Code pasted (Ctrl+V)
The query window contains:
• USE [YourDatabase] statement
• Complete object definition
Next step: Execute the USE statement (F5) if needed
[OK]
Could not find SQL Server Management Studio (SSMS) installation.
SSMS 18, 19, 20, or 21 must be installed to use this feature.
Would you like to download SSMS?
[Yes] [No]
Location: %TEMP%\SODA_PLUS_SSMS\{ObjectName}_{Timestamp}.sql
Example: C:\Users\YourName\AppData\Local\Temp\SODA_PLUS_SSMS\dbo_GetCustomer_20250112_150000.sql
Content:
-- Object: dbo.GetCustomer
-- Server: YourServer
-- Database: YourDatabase
-- Generated: 2025-01-12 15:00:00
USE [YourDatabase]
GO
CREATE PROCEDURE [dbo].[GetCustomer]
@CustomerId INT
AS
BEGIN
SELECT * FROM Customers WHERE Id = @CustomerId
END
What's Stored:
%TEMP%\SODA_PLUS_SSMS\What's NOT Stored:
Clipboard:
You are here: 🔍 Reference Guide
Other Guides:
End of Reference Guide | Version: 1.6.0 | Last Updated: December 31, 2025
For detailed instructions: Full User Guide