开发者

Search and Search &Replace in Visual Studio 2008 everywhere besides 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜