Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>SPhoenixAI — AI Quick Fixes, Chat & Code ToolsNew to Visual Studio Code? Get it now.
SPhoenixAI — AI Quick Fixes, Chat & Code Tools

SPhoenixAI — AI Quick Fixes, Chat & Code Tools

SPhoenix AI

|
8 installs
| (1) | Free
AI-powered quick fixes on hover, inline code completion, chat, test generation, docs, and refactors—built for real-world coding speed.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

SPhoenixAI — AI Quick Fixes, Chat & Code Tools

AI-powered quick fixes on hover, automatic syntax error detection & fixing, inline completions, AI code generation from comments, and a focused chat that explains, optimizes, tests, and documents your code. Works across popular languages.

Why developers install SPhoenixAI

  • Fix errors instantly on hover: AI suggests precise replacements with confidence & impact info; apply with a click.
  • 🆕 Smart Syntax Error Fixes: Ask AI to "fix syntax errors" and get interactive fix suggestions with before/after preview, one-click apply, and instant undo.
  • Generate code from comments: Write // Create a function to validate emails, press Ctrl+Shift+Space, and AI generates the complete function below your comment.
  • Inline & classic completions: get in-flow suggestions without leaving the editor.
  • One-click Quick Actions: Explain, Fix, Optimize, Generate Tests, and Generate Docs—right inside the chat panel.
  • Smart status bar: see login & plan status, remaining requests, and rate-limit/warning badges.

Features

  • Hover Quick Fixes & Refactors: AI proposals for syntax, imports, undefined vars, type mismatches, etc., with previews and explanations.
  • 🆕 Interactive Syntax Error Fixes: AI analyzes your code for syntax errors and provides precise fixes with:
    • Before/After Preview: See exactly what will change
    • One-Click Apply: Fix errors instantly with confidence scores
    • Smart Undo: Revert changes safely with automatic file focusing
    • Multi-Language Support: Works with Python, JavaScript, TypeScript, Java, C#, and more
  • AI Code Generation: Transform comment prompts into working code with Ctrl+Shift+Space — supports all major languages and comment styles.
  • Inline Completions (optional) across supported languages.
  • Chat Panel with code-context toggle and export/clear, plus auth/plan UI for new users.
  • Status Bar: usage gauge, warnings when near/at limit, quick entries to login/usage.

Syntax Error Fixing Examples

Simply ask the AI in chat to fix syntax errors and get interactive suggestions:

# Before: Missing closing parenthesis
print("Hello world"

# After AI fix suggestion:
print("Hello world")
// Before: Missing semicolon
const name = "John"
console.log(name)

// After AI fix suggestion:
const name = "John";
console.log(name);
// Before: Missing brace
public void hello() {
    System.out.println("Hello")

// After AI fix suggestion:
public void hello() {
    System.out.println("Hello");
}

How it works:

  1. Type "fix syntax errors" in the AI chat
  2. AI analyzes your code and detects syntax issues
  3. Get an interactive fix suggestion with preview
  4. Click "Apply Fix" to fix instantly, or "Undo" to revert

Code Generation Examples

Write descriptive comments and press Ctrl+Shift+Space (Windows/Linux) or Cmd+Shift+Space (Mac):

# Create a function to validate email addresses with regex
# → AI generates complete email validation function
// Generate a REST API endpoint for user authentication
# → AI creates Express.js route with error handling
// Implement singleton pattern for database connection
// → AI generates thread-safe singleton class

Supported comment styles: //, /* */, #, <!-- -->, -- and more.

Commands

  • SPhoenixAI: Open Chat (sphoenixAI.openChat)
  • SPhoenixAI: Generate Code from Comment (sphoenixAI.generateCode) - Ctrl+Shift+Space
  • SPhoenixAI: Generate Code from Selection (sphoenixAI.generateCodeFromSelection) - Ctrl+Shift+G
  • SPhoenixAI: Generate Code with Custom Prompt (sphoenixAI.generateCodeWithPrompt) - Ctrl+Alt+G
  • SPhoenixAI: Explain Code (sphoenixAI.explainCode)
  • SPhoenixAI: Fix Code (sphoenixAI.fixCode)
  • SPhoenixAI: Optimize Code (sphoenixAI.optimizeCode)
  • SPhoenixAI: Generate Tests (sphoenixAI.generateTests)
  • SPhoenixAI: Generate Docs (sphoenixAI.generateDocs)
  • SPhoenixAI: Apply Code Fix (from Hover) (sphoenixAI.applyCodeFixFromHover)
  • SPhoenixAI: Retry Hover (sphoenixAI.retryHover)
  • SPhoenixAI: Login (sphoenixAI.login)
  • SPhoenixAI: Check Usage (sphoenixAI.checkUsage)

Keyboard Shortcuts

  • Ctrl+Shift+Space (Mac: Cmd+Shift+Space) - Generate code from comment
  • Ctrl+Shift+G (Mac: Cmd+Shift+G) - Generate code from selected text
  • Ctrl+Alt+G (Mac: Cmd+Alt+G) - Generate code with custom prompt

Settings

General

  • sphoenixAI.enabled – enable/disable features.
  • sphoenixAI.apiUrl – backend base URL.
  • sphoenixAI.inlineCompletions – toggle inline completions.
  • sphoenixAI.autoSaveAfterFix – automatically save files after applying syntax fixes (default: true).

Code Generation

  • sphoenixAI.codeGenerator.includeComments – include comments in generated code (default: true).
  • sphoenixAI.codeGenerator.includeErrorHandling – include error handling (default: true).
  • sphoenixAI.codeGenerator.includeTypeHints – include type hints where applicable (default: true).
  • sphoenixAI.codeGenerator.modernSyntax – use modern syntax patterns (default: true).
  • sphoenixAI.codeGenerator.complexityLevel – set complexity level: beginner, intermediate, advanced (default: intermediate).

Getting Started

  1. Install the extension.
  2. Click "Login to SPhoenix AI" in the status bar and authenticate.
  3. Try syntax error fixing: Open a file with syntax errors, open the AI chat, and type "fix syntax errors".
  4. Try code generation: Write a comment like // Create a hello world function, place cursor on it, press Ctrl+Shift+Space.
  5. Use hover fixes: Open a code file → Hover an error to get AI suggestions.
  6. Open chat panel: Use the chat for explanations, optimizations, and more complex tasks.

Quick Start Examples

Fix Syntax Errors

# Open a Python file with syntax errors
print("Missing quote)
def function_missing_colon()
    return True

# In AI chat, type: "fix syntax errors"
# Get interactive fix suggestions with preview

Python Code Generation

# Create a function to read CSV files with pandas
# Press Ctrl+Shift+Space here

TypeScript/React

// Generate a React component for file upload with drag and drop
// Press Ctrl+Shift+Space here

Java

// Create a method to sort array using quicksort algorithm
// Press Ctrl+Shift+Space here

Tip: Be specific in your comments. Include details like "with error handling", "using async/await", or "with input validation" for better results.

New: Use natural language in chat for syntax fixes: "fix the missing semicolons", "add missing braces", or simply "fix syntax errors".

Privacy: We only send the minimal code needed for your selected action. See our Privacy Policy at https://www.sphoenixai.com/privacy-policy

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft