Kimi Code for VS Code quick start

Kimi Code for VS Code is an extension integrated into Visual Studio Code. After installation, you can ask questions directly within the editor, review code diffs, and quickly commit changes.

The extension can read the content of files you reference and display modification suggestions through a visual interface, executing them after your confirmation. The entire workflow is under your control while significantly improving development efficiency.

This extension provides a native chat panel in VS Code, supporting:

  • Referencing files or folders via the @ symbol.
  • Executing project scans and context management via / commands.
  • Diff views showing file changes with rollback support.
  • Integrating MCP servers to call external tools.

Installation

  1. Prerequisites: You need a Kimi account subscription or a Kimi API key.
  2. Marketplace: Install via the VS Code Marketplace.

If the extension doesn't appear after installation, please restart VS Code or execute Developer: Reload Window in the command palette (Mac: Cmd+Shift+P, Win/Linux: Ctrl+Shift+P).


Authentication

Kimi Code supports two authentication modes. You can switch modes at any time via the gear icon.

Authentication settings
  • Kimi Account Mode: Click the login button to authorize via your browser.
  • API Key Mode: Click to skip login if you have already configured an API key.

Typical Workflows


Commands and Shortcuts

Use CodePreview to quickly test commands or reference key shortcuts:

Text
ShortcutFunction
Ctrl+Shift+K / Cmd+Shift+KFocus Kimi input box
Alt+KInsert current file reference
Ctrl+N / Cmd+NNew conversation
/ Browse input history

Type Kimi Code in the command palette to access more commands: open in new tab, open in sidebar, or manage sessions.