Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Ran - Commit Message GeneratorNew to Visual Studio Code? Get it now.
Ran - Commit Message Generator

Ran - Commit Message Generator

Nai You Ran

|
3 installs
| (1) | Free
AI-powered git commit message generator using claude-cli, perplexity, vscode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Commit

AI-powered git commit message generator for VS Code. Click the sparkle icon (✨) in the Source Control panel to instantly generate a commit message from your staged diff.

Features

  • One-click generation — sparkle button in the SCM title bar generates a commit message from your staged (or unstaged) diff
  • Multiple AI backends — works with GitHub Copilot, Claude CLI, Perplexity AI, or any VS Code LM provider
  • Smart fallback — auto mode tries the VS Code language model API first, then falls back to the Claude CLI

Requirements

Depending on your chosen method:

  • auto / vscode-lm — a VS Code language model provider such as GitHub Copilot
  • claude-cli — the claude CLI installed and available on your PATH
  • perplexity — a Perplexity API key (set via the command Git Commit: Store Perplexity API Key)

Extension Settings

Setting Default Description
ranCommit.method auto Generation method: auto, vscode-lm, claude-cli, or perplexity
ranCommit.modelFamily (default) Model family/name. For vscode-lm/auto: filter by family (e.g. gpt-4o, claude-sonnet). For claude-cli: model family passed to the CLI. For perplexity: model name portion of vendor/model (e.g. sonar).
ranCommit.modelVendor (default) Model vendor. For vscode-lm/auto: filter by vendor (e.g. copilot, anthropic). For perplexity: vendor prefix in vendor/model (e.g. perplexity). Not used by claude-cli.

Usage

  1. Stage your changes in the Source Control panel (or leave them unstaged — the extension will use the full diff as a fallback).
  2. Click the ✨ sparkle icon in the SCM title bar.
  3. The generated commit message is inserted into the commit message box, ready to edit or submit.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft