在VS中统计代码行数和代码文件数

版权声明:版权所有,需要请联系作者 https://blog.csdn.net/weixin_42930928/article/details/83023595

在VS中使用CTRL+SHIFT+F,调出查找和替换窗口。

查找范围:整个解决方案

在查找内容中输入:b*[^:b#/]+.*$

在查找选项中选择“使用正则表达式(E)”

查找一下文件类型中输入:*.cs,*.cshtml

点击“查找全部(A)”,待查找完毕,可以在查找结果窗口中看到匹配行数,匹配文件数

参考:https://blog.csdn.net/AAA123524457/article/details/53335260

猜你喜欢

转载自blog.csdn.net/weixin_42930928/article/details/83023595