开发者

Search and Search &Replace in Visual Studio 2008 everywhere besides comments?

开发者 https://www.devze.com 2022-12-21 22:44 出处:网络
Is there a way to search and eventually search and replace text in Visual Studio but to skip it (not show) if it\'s commented out (either with // or multi l开发者_如何学Goine comments).

Is there a way to search and eventually search and replace text in Visual Studio but to skip it (not show) if it's commented out (either with // or multi l开发者_如何学Goine comments).

Additionally is there a way to skip some file(s) when doing search && replace on whole solution?


If the text is the name of an identifier, you may right-click on the identifier and select "/Refactor/Rename...", and then make sure "search in comments" is unchecked. This will quickly rename all usage of the identifer.


The MZ-Tools add-in allows you to do both - exclude comments and select/unselect files to be searched.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号