Find In All Projects

Top  Previous  Next

The Find In All Projects feature allows you to find all the occurrences of a string within any scope, including all the projects of a group (which Visual Basic does not allow). Furthermore, all the occurrences are shown at the same time in a treeview instead of one by one.

MZ-Tools offers the following ways to search a string in the source code:

  • The Tools | MZ-Tools | Find... menu.
  • The MZ-Tools | Find... context menu of a code window.
  • The Find button on the MZ-Tools toolbar.
  • The shortcut customized in the Options window, Shortcuts tab.

The Find window is the following:

find

This window is very similar to the Find window of Visual Basic. You can use the following settings:

  • Find Whole Word Only: To find whole words (excluding occurrences within a string).
  • Treat the character "_" as word separator: If you have checked the previous setting to find whole words only, this setting allows you to set whether the character "_" is considered as a word separator (as the Find feature of Visual Basic does) or not. For example, if you are searching the string "Command1" as a whole word, if this setting is not checked the event declarations such as "Command1_Click" will not be included in the results.
  • Match Case: To consider or ignore the case.
  • Use Pattern Matching: This setting allows you to use the characters "?" and "*" as wildcards.
  • Exclude Comments: To ignore occurrences inside comments.

The results are shown in a Results window.

Remarks:

  • This feature works not only at design-time (while coding) but also at debug-time (while debugging the application, although only using a keyboard shortcut).

See Also:

Results Window

Shortcuts Customization