Page 1 of 1

find in files: keep "." in directory

Posted: Tue Jan 16, 2007 5:43 pm
by daemonui
I often start searching in files relative to the current file. The trick I use to define the start directory is to
activate the "home" file, then
click find in files
the type "." in the directory field.

Unfortunately the "." gets replaced by the actual directory after clicking search.

I wished that the find in files dialog would remember the "." and maybe all reative paths without converting to full paths (Maybe remember both relative and full path).

Posted: Wed Jan 17, 2007 8:10 am
by MudGuard
You can fill the "Current working folder" into the "In folder" box by pressing the "Defaults" button.

Under "Configure - Preferences - General" you can select "Working folder follows active document".

Posted: Wed Jan 17, 2007 9:04 am
by ben_josephs
MudGuard wrote:You can fill the "Current working folder" into the "In folder" box by pressing the "Defaults" button.
I didn't know that! The functionality is cleverly disguised by an obscure name on the button.

Thanks!