AD SPACE AVAILABLE · BRAND PARTNERS WELCOME

How Continue Integrates Open-Source LLMs into VS Code and JetBrains for Private Offline Coding

廖珮嘉 · 365Finds Editorial
Indexed 88,650 Wiki articles

Put 365 Wiki to work with your AI

Copy the prompt below, paste it into the AI you already use, then ask your question.

Download full Skill

Try it with the prompt first. If you use 365 Wiki often, install the full 365Wiki Skill so you do not have to paste it again. No regular AI? Gemini or Microsoft Copilot on the web will work.

365Wiki Skill

Modern developer tools love the cloud, but strict enterprise compliance, proprietary intellectual property, and air-gapped security policies do not. If you work on financial ledgers, healthcare data, defense systems, or sensitive internal codebases, sending your keystrokes to hosted endpoints like GitHub Copilot or Anthropic Claude is out of the question.

This is where Continue changes the equation. Continue is an open-source AI code assistant that embeds directly inside VS Code and JetBrains IDEs, communicating with local inference engines over localhost or an isolated intranet network. At 365Finds, our assessment is straightforward: Continue is currently the most practical, developer-controlled bridge between local open-source LLMs and daily IDE workflows.

However, running AI completely offline is not just about flipping a toggle. It requires understanding model roles, hardware limits, and telemetry settings. Here is how Continue works under the hood and how to configure a bulletproof, offline coding station.


The Architecture: How Continue Handles Local Execution

Unlike proprietary SaaS tools that hardcode model interactions behind cloud APIs, Continue acts as an open client interface. It decouples the editor UI from the underlying language model runtime:

[ IDE: VS Code / JetBrains ]
       │
       ▼
[ Continue Extension / config.yaml ]
       │
       ├── HTTP / REST (Localhost)
       ▼
[ Local Inference Engine: Ollama / vLLM / llama.cpp ]
       │
       ▼
[ Local GPU / RAM: Open-Source Models (e.g., Qwen2.5-Coder) ]

When you prompt Continue for inline tab completion, conversational code explanation, or multi-file edits, the extension packages the surrounding context (active files, selection, git diffs) and dispatches standard HTTP requests to a local runtime like Ollama, LM Studio, or vLLM.

Nothing leaves your local machine unless you explicitly define a remote endpoint.


365Finds Core Recommendation: The Two-Model Strategy

The biggest trap developers fall into when configuring local AI is attempting to run a single monolithic model for everything.

At 365Finds, we strongly advise against this. Tab autocomplete and conversational chat demand fundamentally different trade-offs:

  1. Tab Autocomplete (FIM - Fill In The Middle): Needs sub-200ms latency. If inline completions take two seconds to show up, you have already typed past them. You want a lightweight, highly specialized coding model such as qwen2.5-coder:1.5b or qwen2.5-coder:3b.
  2. Chat, Edit, and Refactoring: Needs reasoning depth and multi-step context comprehension. Here, latency of 2–4 seconds is acceptable. You want a model like qwen2.5-coder:7b, qwen2.5-coder:14b, or deepseek-coder running on an Apple Silicon unified memory Mac or an Nvidia RTX GPU with at least 12GB–16GB VRAM.

Splitting these roles inside Continue gives you seamless inline suggestions without locking up your GPU during heavy chat sessions.


Step 1: Install Local Inference and Download Models

Before touching Continue, your local inference daemon must be running. We recommend Ollama for quick local setups.

  1. Install Ollama from its official package repository.
  2. In your terminal, pull your autocomplete and chat models:
# Lightweight model for real-time tab autocomplete
ollama pull qwen2.5-coder:1.5b

# Larger model for sidebar chat and inline refactoring
ollama pull qwen2.5-coder:7b

# (Optional) Embedding model for local codebase context indexing
ollama pull nomic-embed-text

Verify that Ollama is responding locally by visiting http://localhost:11434 in your browser.


Step 2: Install Continue in VS Code and JetBrains (Offline / Air-Gapped)

If you are working in an air-gapped network without marketplace access:

VS Code Installation

  1. On an internet-connected workstation, download the latest Continue .vsix release package from GitHub.
  2. Transfer the .vsix bundle to your isolated environment.
  3. In VS Code, open the Extensions view (Ctrl + Shift + X or Cmd + Shift + X), click the Views and More Actions (...) menu at the top right, and select Install from VSIX....

JetBrains Installation (IntelliJ IDEA, PyCharm, WebStorm, etc.)

  1. Download the Continue plugin .zip distribution from the JetBrains Marketplace.
  2. Open JetBrains Settings (Ctrl + Alt + S on Windows/Linux or Cmd + , on macOS).
  3. Select Plugins, click the gear icon, choose Install Plugin from Disk..., and select the archive.
  4. Restart the IDE.

Step 3: Hardening Privacy: Disable Telemetry

Even though your code stays local, default builds of modern developer extensions may attempt outbound diagnostic requests to tracking services like PostHog. In a true offline or confidential environment, cut this off immediately:

  1. In your IDE settings, search for Continue Telemetry.
  2. Uncheck Continue: Allow Anonymous Telemetry (or set "continue.telemetryEnabled": false in settings.json).
  3. If running inside a corporate proxy or strictly sandboxed network, ensure outbound egress on unapproved ports is firewalled.

Step 4: Configure config.yaml for Local LLMs

Modern versions of Continue use a standardized YAML configuration located at:

Open this file (or click the gear icon in the bottom-right of Continue's sidebar) and define your model topology:

name: Local Private Assistant
version: 1.0.0
schema: v1

models:
  # Primary model for sidebar Chat and inline Edit (Cmd/Ctrl + I)
  - name: Qwen 2.5 Coder 7B
    provider: ollama
    model: qwen2.5-coder:7b
    roles:
      - chat
      - edit
      - apply

  # Dedicated fast model for Tab Autocomplete
  - name: Qwen 2.5 Coder 1.5B (FIM)
    provider: ollama
    model: qwen2.5-coder:1.5b
    roles:
      - autocomplete

# Local vector embeddings for codebase indexing (@codebase)
embeddingsProvider:
  provider: ollama
  model: nomic-embed-text

365Finds Hardware Tip: If you run an enterprise private server hosting a vLLM instance rather than a local workstation GPU, change provider: ollama to provider: openai, point apiBase: http://your-internal-gpu-server:8000/v1, and set an internal dummy token. Continue uses the standard OpenAI-compatible API spec effortlessly.


Step 5: Day-to-Day Keyboard Workflow

Once configured, Continue stays out of your way until you summon it:

FeatureVS Code ShortcutJetBrains ShortcutWhat It Does
Open Chat SidebarCmd + L / Ctrl + LCmd + J / Ctrl + JConversational debugging, architecture questions, and @codebase indexing queries.
Inline Code EditCmd + I / Ctrl + ICmd + I / Ctrl + IHighlights selected code and asks the model to rewrite, optimize, or generate tests in place.
Tab AutocompleteTabTabAccepts inline ghost text suggestions generated by the local FIM model.
Word-by-Word AcceptCmd + → / Ctrl + →Cmd + → / Ctrl + →Accepts completions incrementally when you only want the next token or expression.

If inline suggestions do not pop up, check the Continue status indicator in the bottom-right toolbar of your editor and verify that Tab Autocomplete is enabled.


365Finds Take: Is Local Coding Ready for Production?

Let us be realistic: running local LLMs on your laptop will not match Claude 3.5 Sonnet's architectural comprehension or GPT-4o's broad training corpus. If you expect a 7B local model to write an entire distributed microservice from scratch, you will be disappointed.

Where 365Finds sees genuine commercial value is in daily velocity and total data sovereignty:

For developers bound by non-disclosure agreements and air-gapped environments, Continue combined with Qwen2.5-Coder and Ollama is currently the premier private coding stack.

References