Sign in Join
Wiki copytemporary

IDE Window: Find in files: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: IDE Window: Find in files

OldNewLine
1+This dialog allows to setup search and replace patterns for searching in multiple files.
2+
3+Setup the options and click the Find button at the bottom to start the search. A window will open showing the progress. It contains a button to abort the search, if it takes too long. When all files are searched the [[IDE Window: Search Results|Search Results]] window will open.
4+
5+- Text to find
6+- Replace - check this to enable the replace text field.
7+
8+## Options
9+
10+- Case sensitive - distinguish lower and uppercase (for example 'a' and 'A')
11+- Whole words only - found text must start and end at a word boundary (position between word-chars and non-word-chars)
12+- Regular expression - treat texts as [[IDE regular expressions]]
13+- Multiline pattern - for reg-expressions, activates option "dot means also newlines"
14+
15+## Where
16+
17+- search all files in project - search in all files, that belong to the current project
18+- search all open files - search in all files opened in the source editor
19+- search in directories - search in folder(s) specified in option below
20+- search in the current file
21+
22+## Directory options
23+
24+- Directory - folder paths, where the search starts. Allowed several paths separated by ";", trailing slashes ignored. Use the "..." button to the right to open a dialog to choose a directory.
25+- File mask - defines mask(s) for the files, that are searched. Only text files will be searched. Examples for masks are: "*.pas" or "*.pas;*.pp;*.inc". The combobox contains last entered masks.
26+- Include sub directories - allows to search in all subfolders.
27+
28+---
29+*From the Free Pascal wiki, page "IDE Window: Find in files", as it stood on 2015-07-03 after a change by FTurtle, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history