What is Continue.dev?
Continue is an open-source AI code assistant for VS Code and JetBrains IDEs. It supports local models via Ollama, providing Copilot-like features without sending code to external servers.
Setting Up Ollama
# Install Ollama on your server
curl -fsSL https://ollama.com/install.sh | sh
# Pull code-optimized models
ollama pull codellama:13b
ollama pull deepseek-coder-v2:16b
ollama pull starcoder2:7b
# Ensure Ollama is accessible
# Edit /etc/systemd/system/ollama.service
# Set OLLAMA_HOST=0.0.0.0
Installing Continue
# Install Continue extension in VS Code
# Extensions > Search "Continue" > Install
# Or from command line:
code --install-extension Continue.continue
Configuring for Ollama
// ~/.continue/config.json
{
"models": [
{
"title": "DeepSeek Coder",
"provider": "ollama",
"model": "deepseek-coder-v2:16b",
"apiBase": "http://your-server:11434"
}
],
"tabAutocompleteModel": {
"title": "StarCoder",
"provider": "ollama",
"model": "starcoder2:7b",
"apiBase": "http://your-server:11434"
}
}
Features
- Tab autocomplete (like Copilot)
- Chat with codebase context
- Code explanation and refactoring
- Documentation generation
- Multi-file editing with AI
- Custom slash commands
- 100% private with local models