Visual Studio 查找并替换所有引用
使用 Visual Studio (2010) 是否可以将查找所有引用
与全部替换
功能结合起来。
我继承了 VB6 程序员编写的 VB.NET 代码,我想删除对 IIF
和许多其他 VB6 函数的所有引用,因为它们导致了一些问题。
CodeRush 或 Resharper 是否支持此功能?如果他们这样做的话,我似乎找不到任何关于它的文档。
我可以通过正常的查找和替换
删除一些函数,但其他函数则更难以为其构建正则表达式。
我尝试删除对 Microsoft.VisualBasic.dll 的引用,但错误数量非常大(只是为创建的每个新类复制粘贴代码)
Using Visual Studio (2010) is there any way to combine Find All References
with a Replace All
capability.
I have inherited VB.NET code written by a VB6 programmer and I want to remove all the references to IIF
and many other VB6 functions as they are causing several problems.
Does either CodeRush or Resharper support this feature? I couldn't seem to find any documentation on either about it if they do.
Some of the functions I can remove by normal find and replace
but others are more difficult to build the regex for.
I have tried to remove the reference to the Microsoft.VisualBasic.dll but the number of errors is very considerable (the code was just copy-pasted for every new class that was created)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论