Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>JustInTimeNew to Visual Studio Code? Get it now.
JustInTime

JustInTime

Pranaav Iyer

|
1 install
| (0) | Free
Step-by-step walkthroughs of your own code. Ask a question and it walks you through the files that matter, or describe a bug and it proposes each change as a diff you approve. Works with Claude, OpenAI, Ollama and Codex.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JustInTime

JustInTime walks you through your own code inside VS Code, one step at a time.

Ask a question about a project and it opens each file that matters, highlights the lines and explains what they do and why they are there. Or describe a bug and it plans a fix as a short list of steps, showing each change as a diff that only lands when you click Apply & Next.

It works with Claude (recommended), OpenAI, Ollama, any OpenAI-compatible endpoint, and the Codex CLI.

The JustInTime panel on step 2 of a Solve walkthrough: the file location, an explanation of the change, a diff preview and the Apply & Next button

Install

From a .vsix file: download justintime-1.0.0.vsix from the latest release, then either

  • in VS Code, open the Extensions view, click the … menu at the top, choose Install from VSIX… and pick the file, or
  • run code --install-extension justintime-1.0.0.vsix

From the Marketplace: search for JustInTime in the Extensions view.

JustInTime needs VS Code 1.95 or newer and an open folder.

Quick start

  1. Pick a provider. If you already use Claude Code and are signed in, there is nothing to do. Otherwise run JustInTime: Choose Provider from the Command Palette. The Get Started page (Help → Welcome, or JustInTime: Get Started) walks through the same steps.
  2. Explain. Click JustInTime in the status bar (or press ⌘⌥J on a Mac, Ctrl+Alt+J elsewhere), choose Explain and ask something like "How does a request get from the router to the database?". Use Next to move through the steps, and type a follow-up question under any step. Explain never edits files.
  3. Solve. Start again, choose Solve and describe a bug or a small change, for example "The average is NaN when the list is empty". Each step opens the file, explains the change and shows a diff. Click Apply & Next to write it, Skip to leave it out, or Pause to stop for a while.

If you change your mind, JustInTime: Revert All Applied Changes puts every file JustInTime edited back the way it was, even after VS Code restarts.

Providers

Run JustInTime: Choose Provider to switch. API keys are kept in VS Code's secret storage.

Provider What you need
Claude (default, recommended) Claude Code installed and signed in. JustInTime runs your installed claude command, so it uses your existing Claude plan. You can paste an Anthropic API key instead.
OpenAI An API key and a model, for example gpt-4o.
Ollama Ollama running on your machine and an installed model, for example llama3.1. No key.
Other OpenAI-compatible endpoint A base URL ending in /v1, an API key and a model.
Codex CLI The Codex CLI installed and signed in with ChatGPT (macOS or Linux). No API key. Defaults to gpt-6-sol.

If Claude Code is missing, signed out or out of usage, JustInTime says so and offers to open the provider picker.

FAQ

Where does my code go? To the provider you picked, and nowhere else. JustInTime has no server and collects no telemetry. With Ollama, everything stays on your machine. Claude reads your files with read-only tools. For the other providers, JustInTime reads the files the model asks for and sends them along.

What does it cost? JustInTime is free and open source (MIT). Model usage is billed by your provider: your Claude plan or Anthropic API key, your OpenAI account, or your ChatGPT plan for Codex. Ollama is free.

Which model should I use? Claude gives the most complete explanations. In our tests on the VS Code source (about 21,000 files), Claude's walkthroughs covered 94% of the key facts we checked for, and Codex's covered 65%. Local models through Ollama work, but small ones lose track on larger projects. To pin a model, set justintime.model.

Can it change my code without asking? No. Explain is read-only. In Solve, each change is shown as a diff first and only written when you click Apply & Next.

Does it work on big projects? Yes. It searches the whole workspace rather than a sample. On very large folders, analysis can take a few minutes; raise justintime.analysisTimeoutSeconds if it times out.

Commands

Command What it does
JustInTime: New Walkthrough Pick Explain or Solve, then type your question or problem
JustInTime: Explain Code (read-only) Start an Explain walkthrough
JustInTime: Solve a Problem Start a Solve walkthrough
JustInTime: Pause / Resume / Skip Step Control the current walkthrough
JustInTime: Revert All Applied Changes Restore every file JustInTime edited
JustInTime: Choose Provider Pick a provider and, if needed, an API key and model
JustInTime: Get Started Open the getting-started page

Settings

Setting Default
justintime.provider claude-agent-sdk Which provider runs walkthroughs
justintime.model blank Pin a model. Blank uses the provider's default
justintime.claudeExecutable blank Path to claude if JustInTime can't find it
justintime.codexExecutable blank Path to codex if JustInTime can't find it
justintime.autoNavigate true Open and scroll to the file for each step
justintime.maxSteps 30 Most steps in one walkthrough
justintime.analysisTimeoutSeconds 600 Give up after this long (0 = never)
justintime.highlightColor light blue Highlight for the lines a step is about

Feedback

Bugs and ideas: GitHub issues. Building from source and design notes are in docs/ENGINEERING.md.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft