Skip to content

gosvig123/reference_count_extension

Repository files navigation

Reference Counter for VSCode

This is an open source extension for Visual Studio Code that displays the number of times a given function, class, or method is called in your codebase as a number in the editor.

If you like this extension, please consider starring the repo on GitHub: reference-counter, if you have any suggestions or feedback, please open an issue on the repo. We also welcome pull requests as long as they are in the spirit of the project and backwards compatible!

The goal of this extension is to help you understand usage of functions, classes, and methods in your code, while you are writing it.

I developed this extension to find unused functions, classes, and methods in my codebase, and understand how much care I need to take when refactoring, portrayed in a single number.

A Visual Studio Code extension that displays the number of references for functions, classes, and methods directly in your code editor.

Features

  • Shows reference counts inline next to:
    • Functions
    • Classes
    • Class methods
  • Automatically updates when you edit code
  • Supports multiple programming languages:
    • Python (.py)
    • JavaScript (.js, .jsx)
    • TypeScript (.ts, .tsx)
  • Configurable file exclusion patterns

Configuration

You can configure the extension through VS Code settings:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published