Reputation: 7156
This picture says it all. Anyone know what's wrong? Haven't done anything other than restart VS at this point.
Upvotes: 1
Views: 469
Reputation: 69985
I don't believe that this is to do with whether Visual Studio running or not... it 'may' also happen when it is running, but VS2010 regularly loses the Current Document
option.
I usually bring it back by following the process below:
Current Project
, or Entire Solution
.Current Document
option has 'usually' returned.In step 2, it appears to be important that VS2010 finds a match before the Current Document
option returns. Usually, the option will re-appear in the other file (where it found a match) and you can set it there or when you return back to your original file.
I hope that helps.
Upvotes: 1
Reputation:
If your code is actually running and the current document is part of the running code, you cannot modify it : the search and replace won't allow a replace on the current document.
Upvotes: 0