# vscode-filesize **Repository Path**: fanshichao/vscode-filesize ## Basic Information - **Project Name**: vscode-filesize - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-22 - **Last Updated**: 2021-02-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # filesize package for Visual Studio Code This package is intended for use with the [Visual Studio Code](https://code.visualstudio.com) editor and it displays the size of the focused file in the status bar of the editor. **Bonus:** If you click on the status bar component it will display more information about the file! ## Installation In VS Code, press Ctrl-P or Cmd-P (Mac) and type in `ext install vscode-filesize`. Click install in the left bar. Once the extension is installed you will be prompted to restart Visual Studio Code. Or you can just search for `filesize` in the extension search bar inside the editor. ## Screenshots `filesize` with the status bar component active: ![status bar component](https://cldup.com/_Y52O-UfkK.jpg) ### Detailed view To open the detailed view for the current file in focus you can just click at the size in the status bar or use `Crtl`-`shift`-`'` or `Cmd`-`shift`-`'` if you are on a Mac. `filesize` with the detailed info panel open: ![detailed info](https://cldup.com/x6qsyVLtee.jpg) ## Settings This package has two user configurable settings: - `useDecimal`: set to `true` if you want your size data to be displayed according to the [SI unit system](https://en.wikipedia.org/wiki/International_System_of_Units) or leave it at `false` to use [IEC's](https://en.wikipedia.org/wiki/Binary_prefix) format (default). - `use24HourFormat`: set to `true` to use the 24-hour clock, set to `false` to use the 12-hour clock. Default is `true`. - `showGzip`: set to `true` to show calculated gzip size in the detailed info view. Default is `true`. - `showGzipInStatusBar`: set to `true` to show calculated gzip size in the status bar. Default is `false`. ## Contributing You are welcome to send any issues or pull requests. Please run eslint in the code and test it with Visual Studio Code before sending changes. Any bugs? Please file an [issue](https://github.com/mkxml/vscode-filesize/issues/new). Did something nice with the code? Please send a [pull request](https://github.com/mkxml/vscode-filesize/pulls). ## Authors - [Matheus Kautzmann](https://github.com/mkxml) ## License [MIT](LICENSE)