Difference between revisions of "IDE Window: Find in files"

From Free Pascal wiki
Jump to navigationJump to search
Line 11: Line 11:
  
 
== Where ==
 
== Where ==
 +
 +
* search all files in project - search in all files, that belong to the current project
 +
* search all open files - search in all files open in the source editor
 +
* search in directories - search in a directory
 +
 +
== Directoy options ==
 +
 +
* Directory - choose here the directory, where the search starts. Use the "..." button to the right to open a dialog to choose a directory.
 +
* File mask - define a mask for the files, that are searched. Only text files will be searched. Examples for masks are: "*.pas" or "*.pas;*.pp;*.inc". The combobox contain the last searched file masks.
 +
* Include sub directories - enabled this to search recursively in all sub directories.

Revision as of 16:31, 9 May 2006

This dialog allows to setup search and replace patterns for searching in multiple files.

  • Text to find
  • Replace - check this to enable the replace text field.

Options

  • Case sensitive - distinguish lower and uppercase (for example a and A)
  • Whole words only - Found text must start at a word start and end at a word end
  • Regular Expression - see IDE regular expressions.

Where

  • search all files in project - search in all files, that belong to the current project
  • search all open files - search in all files open in the source editor
  • search in directories - search in a directory

Directoy options

  • Directory - choose here the directory, where the search starts. Use the "..." button to the right to open a dialog to choose a directory.
  • File mask - define a mask for the files, that are searched. Only text files will be searched. Examples for masks are: "*.pas" or "*.pas;*.pp;*.inc". The combobox contain the last searched file masks.
  • Include sub directories - enabled this to search recursively in all sub directories.