How to Set Up Continue.dev in VS Code and JetBrains
Continue.dev is an open-source AI coding assistant with extensions for VS Code and JetBrains, configured by a YAML file rather than a vendor account. You choose the model, the endpoint and which features use which model. That control is the reason to pick it; the config file is the reason it takes an hour instead of two minutes.
The current versions ship a configurable assistant with chat, inline edit and autocomplete, all driven from the same file.
What are the three config blocks that matter
Models, context providers, and rules. Everything else is a variation on those.
- models declares each model with a provider, name and role (chat, edit, apply, autocomplete).
- context providers list what the assistant may read: the current file, the codebase index, a docs site, terminal output.
- rules are always-on instructions, like conventions for tests or commit messages.
Miss the roles and you get a chat model trying to do autocomplete slowly and expensively. Assign a small fast model to autocomplete and a stronger one to chat.
How do you install and get a first working setup
- Install the extension from the marketplace for VS Code or the plugin manager for JetBrains.
- Open the Continue panel and choose a provider: a hosted API, or a local server like Ollama.
- Enter the key or local endpoint.
- Confirm the config file was written and that the model name matches what the provider serves.
- Open a file, ask a question about it, then test inline edit on one function.
If the panel shows an error, read the config file first. Nine times in ten the model name does not match the provider’s identifier exactly.
Which models should go in which role
| Role | Model type |
|---|---|
| Autocomplete | Small and fast, local if possible |
| Chat | Strong reasoning model |
| Edit | Mid-size, good at diffs |
Running autocomplete locally removes latency and cost; a 7B code model on a modern laptop is enough for completions. Chat can stay on a hosted model where quality matters.
Keep the autocomplete model small. A big model completing every keystroke makes the editor feel broken, not smart.
How do rules change the output
Rules are plain text said to the model on every request. A rule like “tests use pytest fixtures; never mock the database” removes a category of correction. Two or three rules is right; twenty dilutes attention.
What are the trade-offs
More setup than a managed assistant, and no vendor support when a provider changes its API. You own key security, which for a team means secret management rather than pasting keys into a config file that ends up in a repo.
The upside is portability and cost control: swap providers without changing your workflow, run fully local for sensitive code. Compare with Cline for agent-style multi-file edits and Codeium for zero-config setups.
Who should not choose it
Developers who want to install and forget. Teams without anyone comfortable editing a YAML file. And anyone who needs guaranteed vendor SLAs on model availability.
Quick Summary
- Continue.dev is open source, configured by YAML, with VS Code and JetBrains extensions.
- Three blocks matter: models with roles, context providers, and rules.
- Assign a small model to autocomplete and a strong one to chat.
- Model names must match the provider exactly, or the panel errors.
- You own keys and provider changes; that is the cost of portability.
