Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Copilot YoursNew to Visual Studio Code? Get it now.
Copilot Yours

Copilot Yours

ziuchen

|
5 installs
| (0) | Free
Real-time Code completions with LLM provided yourself.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copilot Yours - VSCode Extension

An AI programming assistant that supports self-hosted endpoints, triggering in-line code completions in real-time.

Features

  • 🤖 Intelligent Code Completion: AI-driven code completion based on the current file content and cursor position
  • ⚡ Real-time Trigger: Auto-triggers completion while editing, with manual trigger option
  • 📊 Status Bar Indicator: AI working status displayed in the bottom status bar
  • ⚙️ Visual Settings: Click the status bar to open the settings panel for easy configuration
  • 🔧 Flexible Configuration: Supports custom API endpoints, models, and parameters

Installation & Configuration

1. Install the Extension

  • Search for "Copilot Yours" in VSCode and install it
  • Or install from a VSIX file

2. Configure API

  1. Click the "Copilot Yours" button in the bottom status bar
  2. Modify custom settings in the popup settings panel

3. Enable/Disable

Toggle the "Enable AI Completion" switch in the settings panel

Usage

Auto Completion

  • Edit code in any supported file
  • The extension auto-triggers completion after you stop typing
  • Suggestions are shown in gray at the cursor position
  • Press Tab to accept, or Esc to dismiss the suggestion

Configuration Options

Option Type Default Description
copilot-yours.enabled boolean true Enable AI completion
copilot-yours.baseURL string https://api.openai.com/v1 API base URL
copilot-yours.apiKey string "" API key
copilot-yours.model string gpt-4o Model to use
copilot-yours.maxTokens number 2000 Maximum number of tokens to generate

Notes

  1. API Key Security: API keys are stored in VSCode's global configuration. Please keep them safe.
  2. Network Connection: A stable network connection is required to access AI services.
  3. Usage Cost: Each completion consumes an API call; be mindful of your usage costs.
  4. Privacy Protection: Your code will be sent to the AI service for processing; please be mindful of privacy concerns.

Troubleshooting

Completion Not Working

  1. Check if your API key is configured correctly
  2. Ensure your network connection is stable
  3. Check for errors in the VSCode Developer Console

Slow Completion

  1. Try using a faster model
  2. Reduce the maxTokens setting
  3. Check for network latency
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft