Python CodeLens is a Visual Studio Code extension that displays reference counts for Python symbols such as Classes, Methods, and Functions. This extension helps developers quickly identify how many times and where a particular symbol is referenced within the workspace.
Features
Reference Counts: Displays the number of references for classes, methods, and functions directly above the symbol.
Navigation: Click on the reference count to view and navigate to the referenced locations.
Auto-Refresh: Automatically refreshes the reference counts when Python files are modified, created, or deleted.
Configuration Watcher: Watches for changes in the Python interpreter configuration and refreshes the reference counts accordingly.
Requirements
Python Extension: This extension depends on the Python Extension by Microsoft. Ensure that you have this extension installed and configured before using Python CodeLens.