Work with the extension

Use the VS Code extension when you want Vibe Code in the same workspace as your files, selections, diffs, and source control, with no context switch and no extra terminal.

Open Vibe in VS Code

Open Vibe in VS Code

Open the extension from one of these entry points:

  • Click the Mistral Vibe icon in the activity bar.
  • Run Mistral Vibe: Open Mistral Vibe from the Command Palette.
  • Use the editor title action when it appears for the active file.

The extension keeps the Vibe panel in a VS Code webview and runs the bundled Vibe ACP agent in the background.

Use editor context

Use editor context

The extension tracks your active editor and current selection so you don't have to copy paths or paste snippets:

ContextHow it works
Active fileVibe receives a workspace mention for the active file.
Selected linesVibe receives the file mention with start and end line numbers.
Selected textVibe includes selected text when the selection has enough non-whitespace content and stays under the selection size limit.
Tip

Highlight the code you want to discuss, then ask Vibe in plain language. The extension attaches the right context for you.

Send a prompt

Send a prompt

Write a focused request in the Vibe panel. Include the expected outcome and any constraints that matter.

Examples:

Explain how authentication is wired in the selected file.
Refactor this function to make error handling explicit. Keep the public API unchanged.
Review this diff for edge cases before I open a pull request.
Review actions

Review actions

When Vibe Code needs permission, the extension shows approval controls in the webview. Review the proposed action before approving it. For file changes, use VS Code's diff and source control views to inspect the result before committing or opening a pull request.

For the shared approval model, see Safety, approvals, and permissions.

Current limits

Current limits

The extension doesn't expose every CLI command or workflow.

AreaExtension behavior
Slash commandsExposes a subset of CLI slash commands. See Commands and slash commands.
CLI installNot required for normal extension use.
Programmatic modeNot supported from the extension. For unattended runs, install the CLI and use vibe --prompt.