Posts tagged 'Find in Files Searches'
Archives
- December 2014 (5)
- November 2014 (30)
- October 2014 (31)
- September 2014 (30)
- Aug 2014 (31)
- Juli 2014 (31)
- Mai 2014 (31)
- April 2014 (31)
- March 2014 (32)
- February 2014 (28)
- January 2014 (31)
- December 2013 (31)
- November 2013 (30)
- October 2013 (31)
- September 2013 (32)
- Aug 2013 (31)
- Juli 2013 (31)
- June 2013 (30)
- Mai 2013 (31)
- April 2013 (30)
- March 2013 (25)
- February 2013 (28)
- January 2013 (31)
- December 2012 (31)
- November 2012 (10)
Sunday, March 2, 2014
Tip 3.19: How to browse Find Symbol results
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
The results of a Find Symbol or a Quick Find Symbol action appear in the Find Symbol Results window. Press Ctrl+Alt+F12 to bring up the Find Symbol Results window. The command is View.FindSymbolResults.
Additionally, you can right-click the symbol to bring up the context menu and select Browse Definition to view the symbol in the Object Browser. This command is Edit.BrowseDefinition, in case you want to bind it to a keyboard shortcut.
Happy Programming! =)
Sara Ford's Blog
The results of a Find Symbol or a Quick Find Symbol action appear in the Find Symbol Results window. Press Ctrl+Alt+F12 to bring up the Find Symbol Results window. The command is View.FindSymbolResults.
- Press F8 to navigate to the next result, and press Shift+F8 to navigate to the previous result. The commands are Edit.GoToNextLocation and Edit.GoToPreviousLocation, respectively.
- Press F12 within the Find Symbol Results window to jump to the definition for the symbol in the editor. The command is Edit.GoToDefinition.
Additionally, you can right-click the symbol to bring up the context menu and select Browse Definition to view the symbol in the Object Browser. This command is Edit.BrowseDefinition, in case you want to bind it to a keyboard shortcut.

Happy Programming! =)
Saturday, March 1, 2014
Tip 3.18: How to show and hide find messages
"Visual Studio Tips, 251 ways to improve your Productivity in VisualStudio", courtesy of 'Sara Ford'
Far too often, she unchecks the Always Show This Message check box, not knowing how to get the message back.
For Find And Replace, you can specify whether to hide or show these message boxes on the Tools–Options–Environment–Find And Replace page. The options are Display Informational Messages and Display Warning Messages.
Informational messages are those "FYI—for your information" style messages. Examples include "No more occurrences found," "The specified text was not found," "Find reached the starting point," and so forth. They are indicated by a blue "i" in a white circle.
Warning messages are those that ask a question along the lines of "Are you sure?" For example, "Do you want to cancel?", "Do you want to open files when you perform a find and replace in closed files to enable undo?", and so forth. They are indicated by a yellow triangle with an exclamation point in the middle.
Happy Programming! =)
Sara Ford's Blog
Far too often, she unchecks the Always Show This Message check box, not knowing how to get the message back.

For Find And Replace, you can specify whether to hide or show these message boxes on the Tools–Options–Environment–Find And Replace page. The options are Display Informational Messages and Display Warning Messages.

Informational messages are those "FYI—for your information" style messages. Examples include "No more occurrences found," "The specified text was not found," "Find reached the starting point," and so forth. They are indicated by a blue "i" in a white circle.
Warning messages are those that ask a question along the lines of "Are you sure?" For example, "Do you want to cancel?", "Do you want to open files when you perform a find and replace in closed files to enable undo?", and so forth. They are indicated by a yellow triangle with an exclamation point in the middle.
Happy Programming! =)
Friday, February 28, 2014
Tip 3.17: You can use F8 to navigate the Find Results window
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
You can use F8 (with the focus either in the Find Results window or in the editor) to navigate to the next result, or you can use Shift+F8 to go to the previous result. The commands are Edit.GoToNextLocation and Edit.GoToPrevLocation.
And yes, you can use Quick Find, using Ctrl+F, within the Find Results window.
Happy Programming! =)
Sara Ford's Blog
You can use F8 (with the focus either in the Find Results window or in the editor) to navigate to the next result, or you can use Shift+F8 to go to the previous result. The commands are Edit.GoToNextLocation and Edit.GoToPrevLocation.

And yes, you can use Quick Find, using Ctrl+F, within the Find Results window.
Happy Programming! =)
Thursday, February 27, 2014
Tip 3.16: How to dock the Find And Replace window
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
The Find And Replace window is not a dialog box, but actually a tool window. Thus, you can dock it to the side if you find it in your way. Since this window begins in a floating state, it may not be obvious that you can dock it. Right-click the tool window title bar and select Dock. Now the tool window can be docked using a docking target. Additionally, you can go to the Window menu and select Dock.
Happy Programming! =)
Sara Ford's Blog
The Find And Replace window is not a dialog box, but actually a tool window. Thus, you can dock it to the side if you find it in your way. Since this window begins in a floating state, it may not be obvious that you can dock it. Right-click the tool window title bar and select Dock. Now the tool window can be docked using a docking target. Additionally, you can go to the Window menu and select Dock.

Happy Programming! =)
Sunday, June 23, 2013
Tip 3.19: How to browse Find Symbol results
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
The results of a Find Symbol or a Quick Find Symbol action appear in the Find Symbol Results window. Press Ctrl+Alt+F12 to bring up the Find Symbol Results window. The command is View.FindSymbolResults.
Happy Programming! =)
Sara Ford's Blog
The results of a Find Symbol or a Quick Find Symbol action appear in the Find Symbol Results window. Press Ctrl+Alt+F12 to bring up the Find Symbol Results window. The command is View.FindSymbolResults.
- Press F8 to navigate to the next result, and press Shift+F8 to navigate to the previous result. The commands are Edit.GoToNextLocation and Edit.GoToPreviousLocation, respectively.
- Press F12 within the Find Symbol Results window to jump to the definition for the symbol in the editor. The command is Edit.GoToDefinition.

Happy Programming! =)
Saturday, June 22, 2013
Tip 3.18: How to show and hide find messages
"Visual Studio Tips, 251 ways to improve your Productivity in VisualStudio", courtesy of 'Sara Ford'
Far too often, she unchecks the Always Show This Message check box, not knowing how to get the message back.
For Find And Replace, you can specify whether to hide or show these message boxes on the Tools–Options–Environment–Find And Replace page. The options are Display Informational Messages and Display Warning Messages.
Informational messages are those "FYI—for your information" style messages. Examples include "No more occurrences found," "The specified text was not found," "Find reached the starting point," and so forth. They are indicated by a blue "i" in a white circle. Warning messages are those that ask a question along the lines of "Are you sure?" For example, "Do you want to cancel?", "Do you want to open files when you perform a find and replace in closed files to enable undo?", and so forth. They are indicated by a yellow triangle with an exclamation point in the middle.
Happy Programming! =)
Sara Ford's Blog
Far too often, she unchecks the Always Show This Message check box, not knowing how to get the message back.

For Find And Replace, you can specify whether to hide or show these message boxes on the Tools–Options–Environment–Find And Replace page. The options are Display Informational Messages and Display Warning Messages.

Informational messages are those "FYI—for your information" style messages. Examples include "No more occurrences found," "The specified text was not found," "Find reached the starting point," and so forth. They are indicated by a blue "i" in a white circle. Warning messages are those that ask a question along the lines of "Are you sure?" For example, "Do you want to cancel?", "Do you want to open files when you perform a find and replace in closed files to enable undo?", and so forth. They are indicated by a yellow triangle with an exclamation point in the middle.
Happy Programming! =)
Friday, June 21, 2013
Tip 3.17: You can use F8 to navigate the Find Results window
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
You can use F8 (with the focus either in the Find Results window or in the editor) to navigate to the next result, or you can use Shift+F8 to go to the previous result. The commands are Edit.GoToNextLocation and Edit.GoToPrevLocation.
And yes, you can use Quick Find, using Ctrl+F, within the Find Results window.
Happy Programming! =)
Sara Ford's Blog
You can use F8 (with the focus either in the Find Results window or in the editor) to navigate to the next result, or you can use Shift+F8 to go to the previous result. The commands are Edit.GoToNextLocation and Edit.GoToPrevLocation.

And yes, you can use Quick Find, using Ctrl+F, within the Find Results window.
Happy Programming! =)
Thursday, June 20, 2013
Tip 3.16: How to dock the Find And Replace window
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
The Find And Replace window is not a dialog box, but actually a tool window. Thus, you can dock it to the side if you find it in your way. Since this window begins in a floating state, it may not be obvious that you can dock it. Right-click the tool window title bar and select Dock. Now the tool window can be docked using a docking target. Additionally, you can go to the Window menu and select Dock.
Happy Programming! =)
Sara Ford's Blog
The Find And Replace window is not a dialog box, but actually a tool window. Thus, you can dock it to the side if you find it in your way. Since this window begins in a floating state, it may not be obvious that you can dock it. Right-click the tool window title bar and select Dock. Now the tool window can be docked using a docking target. Additionally, you can go to the Window menu and select Dock.

Happy Programming! =)
Wednesday, June 19, 2013
Tip 3.15: You can replace all search string occurrences in files
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
Note that another option, Keep Modified Files Open After Replace All, appears in the Result Options section.
Obviously, if you check this option, all modified files will be opened in the editor. The significance of this is that you can use the undo command if you change your mind.
Happy Programming! =)
Sara Ford's Blog
Just like Ctrl+H performs a Quick Replace, Ctrl+Shift+H brings up the Replace In Files window.
Note that another option, Keep Modified Files Open After Replace All, appears in the Result Options section.

Obviously, if you check this option, all modified files will be opened in the editor. The significance of this is that you can use the undo command if you change your mind.
Happy Programming! =)
Tuesday, June 18, 2013
Tip 3.14: You can stop a Find In Files search
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
You can also press the Stops A Background Find toolbar icon on the Find Results window.
Happy Programming! =)
Sara Ford's Blog
Press the keyboard chord Alt+F3, S to stop a background search. The command is Edit.StopSearch.
You can also press the Stops A Background Find toolbar icon on the Find Results window.

Happy Programming! =)
Monday, June 17, 2013
Tip 3.13: You can customize what files to find in
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
With the Find In Files window showing, change the Look In combo box to anything except Current Document or All Open Documents. This enables the Look At These File Types option, allowing you to select what file types to search for.
And for a more advanced searching experience, there's a "..." button next to the Look In combo box.
Clicking this button pops up the Choose Search Folders window. Here you can create a set of folders to search in.
And now you can find your custom folder set as a Look In option.
Happy Programming! =)
Sara Ford's Blog
With the Find In Files window showing, change the Look In combo box to anything except Current Document or All Open Documents. This enables the Look At These File Types option, allowing you to select what file types to search for.

And for a more advanced searching experience, there's a "..." button next to the Look In combo box.

Clicking this button pops up the Choose Search Folders window. Here you can create a set of folders to search in.

And now you can find your custom folder set as a Look In option.

Happy Programming! =)
Sunday, June 16, 2013
Tip 3.12: How to find in files
"Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio", courtesy of 'Sara Ford'
Additionally, you can type in text in the Find combo box and click the Find In Files icon to the left of it, as shown here:
There are a lot of options associated with Find In Files, which she'll cover in future tips.
Happy Programming! =)
Sara Ford's Blog
Press Ctrl+Shift+F to bring up the Find In Files window.
Additionally, you can type in text in the Find combo box and click the Find In Files icon to the left of it, as shown here:

There are a lot of options associated with Find In Files, which she'll cover in future tips.
Happy Programming! =)