[英]How do I count files in a folder in a vscode extension?
How do I count files in a folder in a vscode extension and execute it from the context menu in the explorer?如何计算 vscode 扩展中文件夹中的文件并从资源管理器的上下文菜单中执行它?
如何计算 vscode 扩展中文件夹中的文件数并从资源管理器的上下文菜单中执行它?
如何计算 vscode 扩展中文件夹中的文件数并从资源管理器的上下文菜单中执行它?
I had the same question.我有同样的问题。 I did not find an extension for it, but this is how I did it on the command line (Counts the number of files in the
validatorts
folder).我没有找到它的扩展名,但这就是我在命令行上所做的(计算
validatorts
文件夹中的文件数)。
ls projects/fs-validatorts/src/lib/validators/ | wc -l
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.