Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>XPD 文件序号重排New to Visual Studio Code? Get it now.
XPD 文件序号重排

XPD 文件序号重排

lilj12

|
1 install
| (0) | Free
将文件夹中的 .xpd 文件按当前顺序重新排列为连续的四位数字序号。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

XPD 文件序号重排

这是一个本地 VS Code 扩展,用于把当前文件夹中的 .xpd 文件按文件名自然顺序重新编号。

使用方式

  1. 在 VS Code 中打开本扩展目录 xpd-number-renamer。
  2. 执行 npm install,再执行 npm run compile。
  3. 按 F5 启动扩展开发主机。
  4. 在资源管理器中右键目标文件夹,选择 XPD:重排文件序号。

扩展只处理文件夹直接包含的、文件名以四位数字开头的 .xpd 文件。例如:

0002xxxx.xpd
0004xxx.xpd
0007xxx.xpd

会重排为:

0001xxxx.xpd
0002xxx.xpd
0003xxx.xpd

执行前会弹出确认框,并使用临时文件名避免批量重命名时发生覆盖。

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