1

in my Visual studio 2010 i do search for a string and display the find result window. this is fine but, I need to display 3 lines above and 3 lines below of my target seach. can it be done?

or, Do you know of any tool that will do this?

Thanks

2 Answers 2

1

There is really no way to do this with the Visual Studio search. It will only display the actual line where the match occurred

Sign up to request clarification or add additional context in comments.

Comments

1

I like Windows Grep for problems like this one.

UPDATE:

Windows Grep can operate in a "quick" mode that does not apply regular expression matching to the search string. It also offers limited string-replace functionality.

1 Comment

we used this (dont like it). thanks. some other people may like it.we need something very simple

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.