Search/Replace options

These options are available in all variants, but not always appropriate (like skipping files when you're only searching in one).

Replace

Below this we have the options for replacing:

/docs/filefindr/options/replace-options.png

In this case the above mentioned extra search term possibilities are probably just a bother. You can indicate here whether, if you leave the replacement string empty, it is meant to remove the search string from the text; or if you want to backup the current versions of documents when they are changed; and you have the option to immediately close the program when you're done (I seem to remember situations where that came in handy).

Location

With the next couple of options you can determine where you want to search. This is mainly interesting when you're dealing with one or multiple directories or multiple files, so it is not present in the screen for searching in a single file.

/docs/filefindr/options/location-options.png

For starters you can indicate if you want to extend the search with directories below the current one. You can refine this by indicating that you want a screen for selecting which of those subdirectories you do want to skip, and the same is possible for the files in those directories. Also you can indicate if you want to follow symlinks and if so, how far.

When you check an option to exclude directories or files you get one of the below screens, or both.

/docs/filefindr/options/select-directories.png

Which directories are to be inspected is determined with regard to settings like "include subdirectories" and the result is shown in the above dialog.

/docs/filefindr/options/select-files.png

The indicated directories are skipped and respective of the setting "search files of this type" the files to inspect are determied and shown in the dialog above.

To make things easier I made it possible to select all entries at once and also to invert the current selection.

Miscellaneous

Lastly we have a restgroup:

/docs/filefindr/options/filetype-options.png

This is to determine that you only want to search in files with certain filename extensions and whether you want to show some additional information about where in te file a result is found. Currently this is only realized for Python sources and what it shows is in which function ot class the search results occur.

Here is the result screen of searching with the option on, in which you can see the extra column (in between line number and contents) showing the containing function or class:

/docs/filefindr/options/results-context.png /docs/filefindr/options/single-results-context.png /docs/filefindr/options/multi-results-context.png