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.
精彩评论