Overview
Continue.dev is an open-source AI coding assistant for VS Code. This guide shows how to integrate Pylance MCP for enhanced Python support.Prerequisites
- Visual Studio Code
- Continue.dev extension installed
- Pylance MCP Server
- OpenAI or Anthropic API key
Installation
1
Install Continue.dev
Install from VS Code Marketplace:
2
Install Pylance MCP
3
Configure Continue
Open Continue config:
Cmd/Ctrl+Shift+P → “Continue: Open config.json”config.json
4
Reload VS Code
Usage
Inline Completion
Start typing and Continue suggests completions:Chat with Context
Open Continue sidebar (Cmd/Ctrl+L) and ask:
Code Actions
Highlight code → Right-click → Continue:- Explain Code: Get detailed explanation
- Refactor: Suggest improvements
- Fix Bugs: Identify and fix issues
- Add Tests: Generate unit tests
- Add Docs: Generate docstrings
Configuration Options
Custom LLM Provider
Use Claude instead of GPT-4:config.json
Multiple Workspaces
config.json
Remote Server
config.json
Advanced Features
Custom Slash Commands
Define shortcuts for common tasks:config.json
/review in Continue chat
Context Providers
Include additional context:config.json
Keyboard Shortcuts
keybindings.json
Examples
Code Review
Test Generation
Troubleshooting
Completions Not Showing
Completions Not Showing
- Check Python interpreter is selected
- Verify workspace folder is open
- Ensure files are saved
- Check Continue logs:
Output→Continue
MCP Server Crashes
MCP Server Crashes
- Increase memory limit in config
- Reduce
maxFilesin context providers - Check Python version compatibility (3.9+)
Slow Performance
Slow Performance
- Disable unnecessary context providers
- Reduce workspace scope
- Use
diagnosticMode: "openFilesOnly"
Best Practices
Use descriptive names in chat for better context
Highlight relevant code before asking questions
Reference specific files with @filename
Use slash commands for repetitive tasks
Next Steps
Windsurf Setup
Configure for Windsurf IDE
Custom Workspace
Advanced configuration