# Status Bar Sample

This is a sample extension that adds a status bar entry showing the current number of selected lines.

![Show number of selected lines](https://raw.githubusercontent.com/Microsoft/vscode-extension-samples/main/statusbar-sample/preview.gif)


## VS Code API

### `vscode` module

- [`window.createStatusBarItem`](https://code.visualstudio.com/api/references/vscode-api#window.createStatusBarItem)
