Search multiple solutions in Visual Studio 2010 - visual-studio-2010

Is there a way to search a term in multiple solutions at the same time?
I know that Ctrl+Shift+F will search the entire current solution but I need a way to search the term in three solutions, all at once.
I am using Visual studio 2010

You cannot search in multiple solutions.
You could, however, do a directory search in the three solution's directories. Just add the directories to the "Look in" box in the "Find and Replace" tool window.
Just note that this is not the same as searching in a solution, as it will search through all files within the specified directory, not just the ones that are included in the projects of a solution.

Related

How to make Visual Studio solution explorer search within file contents

I'm looking for the way to search all files that containing the specified key word in Visual Studio 2019 solution explorer. At least in scope of current git repo, but it would be better to check every repo at same search operation.
I saw How to make solution explorer search only file names but in my Visual Studio 2019 I can't see any combobox there, just regular editbox.
Could anybody advice?
Use the inbuilt Find features (Ctrl-F or Ctrl-Shift-F) to search for keywords in your code. You are only searching the solution explorer for files by name when you search the way you are showing in your question here.
See here for the MS docs on this feature:
https://learn.microsoft.com/en-us/visualstudio/ide/find-in-files?view=vs-2019

Incremental search/replace in Visual Studio

So the other day a Sublime lover showed me how to do incremental search/replace in sublime and asked if I could do that in Visual Studio. After googling I found that Visual Studio does support Incremental Search through Ctrl + I, but there was no obvious way of doing "Replace All". Googling further didn't give any promising results. I did however find that this would require support for multiple carets, which I'm not sure is available or not in VS. Does anyone know how to do that?
Some possible alternates could be the Rename facility and Find/Replace etc, but none of them is as swift as Incremental Search. I have tried a few add-ins too, but none of them does what the linked video shows.

visual studio find in files - how to search in office documents? (e.g. docx)

we want to add docx files to our visual studio solution.
How can we achieve that visual studio "find in files" recognizes the content in office documents? (e.g. docx)
Visual studio 2013 does not search docx or doc file formats, at least it isn't able to do so.
Is there an extension that searches office file types?
Or is there a different way to add our documentation with pretty formatted text to a VS solution? We want to use versioning and "find in files" for our documentation.
Best regards
Oliver
Right click the project and select "ADD" and then "Existing Item". THere, on the right side, you will find a drop down where you can select all files. That way you can get any file to the solution.

Searching in Visual Studio 2010 Solution Explorer is difficult when

Is there any addin or feature available to locate a project, or a file in solution explorer directly without using Ctrl+F (find) ?
We are having 1000's of project , each having N number of files inside.
Difficult to navigate using Find option.
Solution Navigator from Productivity Power Tools adds a new tool window with soultion search.

How do I see contents of filesystem directories in Visual Studio Solution Explorer?

We have some files (config, static files, that sort of thing) in our codebase that are kept in the same filesystem tree as our codebase, but are not part of projects (ie, not underneath a project's tree).
We're after a way of easily managing these from within the IDE.
I dimly recall there being a Visual Studio addin that lets you do something like right-click "open explorer here" or something like that. Can't find it, now, and it might not even be for VS 2008.
What are the options, if any?
If only solution-folders could display contents of the filesystem (for example)... Or perhaps there's a "files" project type...?
Solution Explorer Window has a "Show All Files" button, to the left of refresh.
I personally use the Power Commands add-in, which has this functionality along with others that I find helpful. You can find more information and download from here.

Resources