zhcode-fun / file-size

A simple vscode extension.Show the current file size in the status bar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

file-size

A simple extension.Show current text file size in the statusbar. The status will update when the file is saved or change active tab.

Usage

Usage

Configurations

  1. File > Preferences > User Setting (or Workspace Setting)
  2. 文件 > 首选项 > 设置
  3. Add/Modify the these key-value.
  4. 搜索拖入用户设置中覆盖即可
  5. Save.(Will change immediately)
  6. 保存后会立刻产生变化
key value default
file-size.position right/left right
file-size.priority integer 0

The priority of display in the status bar. Higher value means shown the left. file-size.priority的值越大,位置就越向左,api上是这么说的,不过我也没太摸清规律,不起作用就往大了设,我设了100才能在右端最左边显示

Setting.json

About

A simple vscode extension.Show the current file size in the status bar.


Languages

Language:JavaScript 100.0%