Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Private Code AssistantNew to Visual Studio Code? Get it now.
Private Code Assistant

Private Code Assistant

private-code-assistant

|
17 installs
| (1) | Free
Your private AI code assistant powered by Watsonx and Gemini
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Private Code Assistant (Your AI Programming Advisor)

This is an AI assistant that "reads" and "understands" your entire project.

It's not just another chatbot. It's a "Senior Project Advisor" deeply integrated into your editor. It works by indexing your local codebase to provide intelligent help that truly understands your project's context while you code, refactor, and review.

🧠 Our AI Completion is a "Project Advisor," Not a "Stenographer"

  • Stenographer (Regular Autocomplete): Only sees your current file. Helps you complete variable names.
  • Project Advisor (This Extension):
    1. "Learns" Your Project: It indexes your entire workspace, using tree-sitter to intelligently parse all your functions and classes.
    2. "Connects" Related Code: When you start writing a new feature, it automatically searches its local index to find relevant utility functions or APIs from other files in your project.
    3. "Generates" a Complete Solution: It tells the AI: "Use these internal functions I found to write the full piece of code for the user.".

The Result: You don't get a single word. You get a full, runnable block of code that already imports and uses your project's own tools correctly.

🖼️ Figma-to-Code with "One Click" (Multimodal)

(Gemini Required) Paste a Figma URL, and it will analyze both the design (vision) and the node structure (YAML) to automatically generate React / Vue component files, complete with styles.

🔐 Your Code Stays Yours. Period.

  • 100% Local Indexing: All of your project's code, its structure, and its index never leave your machine.
  • You Control the API: You have the flexibility to choose between Google Gemini or IBM Watsonx. All API traffic is under your control.

Your AI Toolkit

All the power is built right into your natural workflow.

Feature Where to Find It What It Does
AI Chat Sidebar Panel Your 24/7 pair programmer. Stuck? Flip the "Deep Thinking" switch for a more powerful model.
AI Auto-Write Code Right-click AI Auto-Complete Select a comment (e.g., // Create a function to fetch...) and the AI will write the code for you.
AI Explain Code Right-click Explain Code Select any "magic" code you don't understand, and the AI will explain it in plain English.
AI Audit Code Right-click Generate Robustness Report Select a function, and the AI will find potential edge cases and bugs, then give you a report.
AI Analyze Log Explorer (Right-click a .log file) Log file has thousands of lines? Right-click Analyze Log File and the AI will find the root cause of the error.

Get Started in 3 Simple Steps

  1. Install & Configure:

    • Install the extension.
    • Open the sidebar panel and click the ⚙️ (Gear) icon.
    • Enter your API Key (Gemini is strongly recommended for RAG & Figma features).
  2. Index Your Project (The Most Important Step!):

    • Press Ctrl+Shift+P (Mac: Cmd+Shift+P) to open the Command Palette.
    • Run Build Project Index for AI.
    • Let the AI "study" your project (you only need to do this once to get started).
  3. Start Working:

    • Completions: Just start typing. The AI will provide "ghost text" suggestions.
    • Tools: Right-click on your code.
    • Chat: Ask questions in the sidebar.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft