A Visual Studio Code extension that displays file statistics in the status bar.
Features
Displays the number of lines, words, and characters
Displays the number of selected characters and the number of selections
Displays the file size in a human-readable format (e.g., KB, MB, GB)
Toggle the visibility of the status bar item using the "Toggle File Stats" command
Jump to line in the active text editor by clicking on the status bar item or using the "Jump to Line" command
Screenshots
Installation
Open the Extensions view in Visual Studio Code by clicking the Extensions icon in the left sidebar or pressing Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS).
Search for "File Stats" in the Extensions view.
Click the Install button to install the extension.
Reload Visual Studio Code or wait for the extension to activate.
Usage
Open a file in Visual Studio Code.
The file statistics will be displayed in the status bar.
Select some text to see the number of selected characters and the number of selections.
Use the "Toggle File Stats" command to toggle the visibility of the status bar item.
Commands
file-stats.toggle: Toggle the visibility of the status bar item.
file-stats.jumpToLine: Jump to a line in the active text editor.