Continue VS Code Plugin Configuration
Free open-source AI programming plugin, supports all major models
Step 1: Enter API Key
Get your API Key from OpenCodex platform
Format: sk-live-xxxxxxxxxxxx
Step 2: Select Model
Choose the AI model that best fits your needs
Step 3: Get Configuration File
{
"models": [
{
"title": "OpenCodex API",
"provider": "openai",
"model": "deepseek-chat",
"apiKey": "sk-live-your-api-key-here",
"apiBase": "https://opencodex.hk/api/v1"
}
],
"slashCommands": [
{
"name": "edit",
"description": "Edit selected code"
},
{
"name": "comment",
"description": "Add comments to selected code"
}
]
}
Tip
In VS Code, press Cmd/Ctrl + Shift + P, type "Continue: Open config.json"
Installation Steps
# 1. 安装 Continue 插件
# VS Code: 扩展商店搜索 "Continue"
# 或使用命令行: code --install-extension continue.continue
# 2. 打开 Continue 配置
# Cmd/Ctrl + Shift + P → "Continue: Open config.json"
# 3. 粘贴上方配置
# 保存文件
# 4. 测试连接
# 按 Cmd/Ctrl + L 打开 Continue
# 输入 "测试连接"
Features
Code Completion
Smart code completion and auto-complete
Code Explanation
Select code, AI automatically explains the logic
Code Generation
Generate complete code from comments
Code Refactoring
AI helps you optimize and refactor code
