Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>File Explorer Note CountNew to Visual Studio Code? Get it now.
File Explorer Note Count

File Explorer Note Count

NameZH131

|
2 installs
| (0) | Free
Display file and folder counts in VS Code File Explorer, similar to Obsidian's plugin of "File Explorer Note Count"
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code File Explorer Note Count

Version Downloads License

在 VS Code 文件资源管理器中显示文件和文件夹计数,提供项目统计仪表板。

Display file and folder counts in VS Code File Explorer with a project statistics dashboard.

thx 'File counter' and 'obsidian-file-explorer-note-count' for the inspiration.

特性 Features

  • 文件资源管理器中显示文件夹文件数和目录数
  • 功能丰富的项目统计仪表板
  • 支持颜色编码(根据数量显示不同颜色)
  • 多语言支持(英语、中文)
  • 高度可定制的配置选项
  • 智能缓存和性能优化

image-20260211013338094

image-20260211013402144

image-20260211013435437

image-20260211013452364

安装 Installation

从 VS Code Marketplace 搜索 "File Explorer Note Count" 安装,或使用:

code --install-extension vscode-file-counter-5.9.0.vsix

使用方法 Usage

基本功能。

安装后自动在文件资源管理器显示文件夹计数:

src/        12
components/ 8 

快捷键

  • Ctrl+Shift+D - 打开仪表板 (Open Dashboard)
  • Ctrl+Shift+R - 刷新计数 (Refresh Counts) will auto refresh

打开仪表板

命令面板(Ctrl+Shift+P)→ "Show Dashboard"

配置选项 Configuration

基本设置 Basic Settings

设置 Setting 默认值 Default 描述 Description
fileCounter.enabled true 启用/禁用文件计数
fileCounter.includeFiles true 包含文件数
fileCounter.includeDirectories true 包含目录数
fileCounter.compactMode false 紧凑模式(仅显示总数)
fileCounter.useColorCoding true 使用颜色编码
fileCounter.color "#888888" 自定义颜色

过滤设置 Filter Settings

设置 Setting 默认值 Default 描述 Description
fileCounter.excludedPatterns ["node_modules", ".git", "out", "dist"] 排除的 glob 模式
fileCounter.includePatterns [] 包含的 glob 模式
fileCounter.excludeHidden true 排除隐藏文件
fileCounter.maxDepth -1 最大扫描深度 (-1 = 无限制)

仪表板设置 Dashboard Settings

设置 Setting 默认值 Default 描述 Description
fileCounter.dashboard.showFileTypeChart true 显示文件类型图表
fileCounter.dashboard.chartType "pie" 图表类型
fileCounter.dashboard.colorTheme "default" 颜色主题
fileCounter.dashboard.locale "en" 语言 (en/zh-cn)
fileCounter.dashboard.autoRefreshEnabled false 启用自动刷新
fileCounter.dashboard.autoRefreshInterval 30 自动刷新间隔(秒)

颜色编码 Color Coding

根据文件数量自动应用不同颜色(文件名不同筛选):

  • 🔴 红色:≥ 1,000 个文件
  • 🟠 橙色:100-999 个文件
  • 🔵 蓝色:10-99 个文件
  • ⚪ 灰色:< 10 个文件

许可证 License

MIT License

联系 Contact

  • Author: NameZH131
  • GitHub: https://github.com/NameZH131/vscode-file-counter
  • Marketplace: https://marketplace.visualstudio.com/items?itemName=NameZH131.vscode-file-counter

Made with by NameZH131

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft