Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>BMetricNew to Visual Studio Code? Get it now.
BMetric

BMetric

GabrielVieira

| (0) | Free
Shows how many lines have been changed in the current local branch, simple and easy!
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BMetric – Local Branch Line Changes

BMetric is a lightweight VS Code extension that helps developers track how many lines have been changed in the current local Git branch. It displays added, removed, and total line changes directly in the VS Code status bar, keeping you aware of your work at a glance.


Features

  • ✅ Shows total changed lines in the current branch
  • ➕ Shows lines added and lines removed separately
  • ⚠️ Alerts you when the number of changed lines exceeds a configurable maximum threshold (default: 400 lines)
  • 🔄 Updates live whenever files are saved or modified
  • 💡 Lightweight and non-intrusive

Status Bar Display

The plugin shows changes in the format:
Total (+Added, -Removed)

Example:
BMetric Example

If the total exceeds the configured maximum, the status bar will turn red and a warning balloon will appear.


Configuration

You can configure the maximum number of allowed changed lines before a warning is shown:

Setting Type Default Description
bmetric.maxLinesChanged number 400 Maximum number of changed lines before showing an alert

To update, go to Settings → Extensions → BMetric Plugin in VS Code.


Installation

  1. Open VS Code Marketplace and search for BMetric
  2. Click Install
  3. Start coding and watch the status bar for live line change updates

Requirements

  • Git must be initialized in your project folder
  • VS Code version 1.80.0 or higher

Extension Settings

  • bmetric.maxLinesChanged – Set the threshold for line changes warning. Default is 400

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft