How to actually search all files in Visual Studio
I am using Visual Studio Express 2013 for Web. Say for instance I have a static public method named FooBar() in class Utils. Let's also say that I use this method in a lot of .aspx files. Let's say I change the method signature of FooBar() to FooBar(string), and subsequently I'd like to find all the instances of Utils.FooBar so I can update them.
Now let's say I go to the Solution Explorer search box, select "Search within file contents", and type "Utils". Despite the fact that I make Utils.* method calls everywhere, the only thing that shows up is the Utils.cs file. If I keep typing "Utils.FooBar", nothing shows up.
Right now, I am launching a cygwin window and using grep since normal windows search is pretty useless too. But it seems like there there must be an actual way of searching within all files in Visual Studio. Am I missing something?
visual-studio visual-studio-2012 full-text-search
add a comment |
I am using Visual Studio Express 2013 for Web. Say for instance I have a static public method named FooBar() in class Utils. Let's also say that I use this method in a lot of .aspx files. Let's say I change the method signature of FooBar() to FooBar(string), and subsequently I'd like to find all the instances of Utils.FooBar so I can update them.
Now let's say I go to the Solution Explorer search box, select "Search within file contents", and type "Utils". Despite the fact that I make Utils.* method calls everywhere, the only thing that shows up is the Utils.cs file. If I keep typing "Utils.FooBar", nothing shows up.
Right now, I am launching a cygwin window and using grep since normal windows search is pretty useless too. But it seems like there there must be an actual way of searching within all files in Visual Studio. Am I missing something?
visual-studio visual-studio-2012 full-text-search
add a comment |
I am using Visual Studio Express 2013 for Web. Say for instance I have a static public method named FooBar() in class Utils. Let's also say that I use this method in a lot of .aspx files. Let's say I change the method signature of FooBar() to FooBar(string), and subsequently I'd like to find all the instances of Utils.FooBar so I can update them.
Now let's say I go to the Solution Explorer search box, select "Search within file contents", and type "Utils". Despite the fact that I make Utils.* method calls everywhere, the only thing that shows up is the Utils.cs file. If I keep typing "Utils.FooBar", nothing shows up.
Right now, I am launching a cygwin window and using grep since normal windows search is pretty useless too. But it seems like there there must be an actual way of searching within all files in Visual Studio. Am I missing something?
visual-studio visual-studio-2012 full-text-search
I am using Visual Studio Express 2013 for Web. Say for instance I have a static public method named FooBar() in class Utils. Let's also say that I use this method in a lot of .aspx files. Let's say I change the method signature of FooBar() to FooBar(string), and subsequently I'd like to find all the instances of Utils.FooBar so I can update them.
Now let's say I go to the Solution Explorer search box, select "Search within file contents", and type "Utils". Despite the fact that I make Utils.* method calls everywhere, the only thing that shows up is the Utils.cs file. If I keep typing "Utils.FooBar", nothing shows up.
Right now, I am launching a cygwin window and using grep since normal windows search is pretty useless too. But it seems like there there must be an actual way of searching within all files in Visual Studio. Am I missing something?
visual-studio visual-studio-2012 full-text-search
visual-studio visual-studio-2012 full-text-search
edited Sep 4 '16 at 2:18
abatishchev
69k69261392
69k69261392
asked Aug 14 '14 at 14:26
Mike Godin
1,41111522
1,41111522
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
I think you are talking about ctrl + shift + F, by default it should be on "look in: entire solution" and there you go.
add a comment |
So the answer seems to be to NOT use the Solution Explorer search box.
Rather, open any file in the solution, then use the control-f search pop-up to search all files by:
- selecting "Find All" from the "--> Find Next / <-- Find Previous" selector
- selecting "Current Project" or "Entire Solution" from the selector that normally says just "Current Document".
3
the issue is that sometimes i dont have the option "Entire Solution" but i dont know why yet. Thectrl + shift + fapproach works.
– Muflix
Mar 13 '17 at 12:33
add a comment |
Press Ctrl+,
Then you will see a docked window under name of "Go to all"
This a picture of the "Go to all" in my IDE

But it cannot find text (I'm not talking about symbols) within project/solution. At least in VS 2017 (v15.6.5)
– AndreyWD
Apr 16 at 11:41
add a comment |
One can access the "Find in Files" window via the drop-down menu selection and search all files in the Entire Solution:
Edit > Find and Replace > Find in Files

Other, alternative is to open the "Find in Files" window via the "Standard Toolbars" button as highlighted in the below screen-short:

add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f25310572%2fhow-to-actually-search-all-files-in-visual-studio%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
I think you are talking about ctrl + shift + F, by default it should be on "look in: entire solution" and there you go.
add a comment |
I think you are talking about ctrl + shift + F, by default it should be on "look in: entire solution" and there you go.
add a comment |
I think you are talking about ctrl + shift + F, by default it should be on "look in: entire solution" and there you go.
I think you are talking about ctrl + shift + F, by default it should be on "look in: entire solution" and there you go.
edited May 17 '16 at 18:15
Jeff Puckett
14.1k651102
14.1k651102
answered May 17 '16 at 17:21
n4feng
6901613
6901613
add a comment |
add a comment |
So the answer seems to be to NOT use the Solution Explorer search box.
Rather, open any file in the solution, then use the control-f search pop-up to search all files by:
- selecting "Find All" from the "--> Find Next / <-- Find Previous" selector
- selecting "Current Project" or "Entire Solution" from the selector that normally says just "Current Document".
3
the issue is that sometimes i dont have the option "Entire Solution" but i dont know why yet. Thectrl + shift + fapproach works.
– Muflix
Mar 13 '17 at 12:33
add a comment |
So the answer seems to be to NOT use the Solution Explorer search box.
Rather, open any file in the solution, then use the control-f search pop-up to search all files by:
- selecting "Find All" from the "--> Find Next / <-- Find Previous" selector
- selecting "Current Project" or "Entire Solution" from the selector that normally says just "Current Document".
3
the issue is that sometimes i dont have the option "Entire Solution" but i dont know why yet. Thectrl + shift + fapproach works.
– Muflix
Mar 13 '17 at 12:33
add a comment |
So the answer seems to be to NOT use the Solution Explorer search box.
Rather, open any file in the solution, then use the control-f search pop-up to search all files by:
- selecting "Find All" from the "--> Find Next / <-- Find Previous" selector
- selecting "Current Project" or "Entire Solution" from the selector that normally says just "Current Document".
So the answer seems to be to NOT use the Solution Explorer search box.
Rather, open any file in the solution, then use the control-f search pop-up to search all files by:
- selecting "Find All" from the "--> Find Next / <-- Find Previous" selector
- selecting "Current Project" or "Entire Solution" from the selector that normally says just "Current Document".
answered Aug 22 '14 at 1:25
Mike Godin
1,41111522
1,41111522
3
the issue is that sometimes i dont have the option "Entire Solution" but i dont know why yet. Thectrl + shift + fapproach works.
– Muflix
Mar 13 '17 at 12:33
add a comment |
3
the issue is that sometimes i dont have the option "Entire Solution" but i dont know why yet. Thectrl + shift + fapproach works.
– Muflix
Mar 13 '17 at 12:33
3
3
the issue is that sometimes i dont have the option "Entire Solution" but i dont know why yet. The
ctrl + shift + f approach works.– Muflix
Mar 13 '17 at 12:33
the issue is that sometimes i dont have the option "Entire Solution" but i dont know why yet. The
ctrl + shift + f approach works.– Muflix
Mar 13 '17 at 12:33
add a comment |
Press Ctrl+,
Then you will see a docked window under name of "Go to all"
This a picture of the "Go to all" in my IDE

But it cannot find text (I'm not talking about symbols) within project/solution. At least in VS 2017 (v15.6.5)
– AndreyWD
Apr 16 at 11:41
add a comment |
Press Ctrl+,
Then you will see a docked window under name of "Go to all"
This a picture of the "Go to all" in my IDE

But it cannot find text (I'm not talking about symbols) within project/solution. At least in VS 2017 (v15.6.5)
– AndreyWD
Apr 16 at 11:41
add a comment |
Press Ctrl+,
Then you will see a docked window under name of "Go to all"
This a picture of the "Go to all" in my IDE

Press Ctrl+,
Then you will see a docked window under name of "Go to all"
This a picture of the "Go to all" in my IDE

edited Sep 11 '17 at 1:15
Stephen Rauch
27.7k153256
27.7k153256
answered Sep 11 '17 at 0:50
Ahmed Ibrahim
13326
13326
But it cannot find text (I'm not talking about symbols) within project/solution. At least in VS 2017 (v15.6.5)
– AndreyWD
Apr 16 at 11:41
add a comment |
But it cannot find text (I'm not talking about symbols) within project/solution. At least in VS 2017 (v15.6.5)
– AndreyWD
Apr 16 at 11:41
But it cannot find text (I'm not talking about symbols) within project/solution. At least in VS 2017 (v15.6.5)
– AndreyWD
Apr 16 at 11:41
But it cannot find text (I'm not talking about symbols) within project/solution. At least in VS 2017 (v15.6.5)
– AndreyWD
Apr 16 at 11:41
add a comment |
One can access the "Find in Files" window via the drop-down menu selection and search all files in the Entire Solution:
Edit > Find and Replace > Find in Files

Other, alternative is to open the "Find in Files" window via the "Standard Toolbars" button as highlighted in the below screen-short:

add a comment |
One can access the "Find in Files" window via the drop-down menu selection and search all files in the Entire Solution:
Edit > Find and Replace > Find in Files

Other, alternative is to open the "Find in Files" window via the "Standard Toolbars" button as highlighted in the below screen-short:

add a comment |
One can access the "Find in Files" window via the drop-down menu selection and search all files in the Entire Solution:
Edit > Find and Replace > Find in Files

Other, alternative is to open the "Find in Files" window via the "Standard Toolbars" button as highlighted in the below screen-short:

One can access the "Find in Files" window via the drop-down menu selection and search all files in the Entire Solution:
Edit > Find and Replace > Find in Files

Other, alternative is to open the "Find in Files" window via the "Standard Toolbars" button as highlighted in the below screen-short:

answered Nov 12 at 13:06
Nash
466
466
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f25310572%2fhow-to-actually-search-all-files-in-visual-studio%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown