开发者

Visual Studio : Search Uncommented Code only

Is there any way to restrict the Find/Search to uncommented lines only ?

(Maybe using regex开发者_StackOverflow中文版 would be a good lead)


Lets say, if you need to search all occurrences of an uncommented text "VPEntity" then try using the following regular expression in Find in files after selecting the Use RegEx option

^((?!//|/\*).)*VPEntity

Hope it works for you

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜