Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Code Real-Time MetricsNew to Visual Studio Code? Get it now.
Code Real-Time Metrics

Code Real-Time Metrics

Medri

|
338 installs
| (1) | Free
Instantly feedback of your code when saving it. Better approaches and clean code. Improve your code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Real-Time Metrics Extension for VSCode

Overview

This extension provides real-time code metrics right in your Visual Studio Code status bar. The metrics include:

  • Problems: The number of problems found by ESLint in your code.
  • CC (Cyclomatic Complexity): The complexity of your functions.
  • LOC (Lines of Code): The total number of lines in your code file.

Features

Status Bar Metrics

Metrics are displayed in the VSCode status bar. This is updated in real-time whenever you save your document.

Detailed Metrics View

You can click the metrics in the status bar to open a detailed view. This view lists all the problems found in your code.

How to Use

  1. Install the extension from the VSCode marketplace.
  2. Open a TypeScript or TypeScript React (TSX) file.
  3. Save the file to trigger metrics calculation.
  4. Click on the metrics in the status bar for a detailed view.

Requirements

  • VSCode version 1.52.0 or higher
  • Node.js version 12 or higher
  • TypeScript project

Known Issues

Currently, the extension only supports TypeScript and TypeScript React (TSX) files. JavaScript support will be added in future releases.

Contributing

Feel free to contribute to this project. Here is the GitHub repository for contributions: Code Real-Time Metrics on GitHub

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