Lazarus
Using the Lazarus IDE => General => Topic started by: Grahame Grieve on November 28, 2022, 08:37:52 am
-
My Lazarus creates backups in a subdirectory called backup. I didn't make it do that, so I think it's automatically configured this way.
When I do a search in directories, searching through my source code, it'd be really great if it didn't search into the backup directories. So many false matches...
-
When I do a search in directories
How do you mean that please?
-
My Lazarus creates backups in a subdirectory called backup. I didn't make it do that, so I think it's automatically configured this way.
When I do a search in directories, searching through my source code, it'd be really great if it didn't search into the backup directories. So many false matches...
You can configure backup in Tools; Options; Environment --> Backup (you can turn it off or give it another extension i.e.).
Searching tools usually have options to control if you want to search in subdirectories.
-
> When I search in directories
As in, Search.. Find in Files.. choose search in directories
I have to include subdirectories, since the code is in subdirectories, but it would be good to ignore backups. And of course, I can reconfigure it, and have, but this is the default settings.
-
Once upon a time, there was a genius Delphi programmer.
Who ever worked with Delphi knows:
backup is tricky.
These files are only dcu, those only backup, third are needed, those you can doe easily a second time...
As he was programmer, he wrote a backup solution and donated it to public.
Just for backup.
The public has no idea, where the donator came from and what his motivation was.
I learnt his "secret", because I once told him, that his open source is the best thing, I ever could imagine for Delphi backup.
So grab it, it does it all, what we need to save our sources.
personal-backup.rathlev-home.de
-
Once upon a time, there was a genius Delphi programmer.
Who ever worked with Delphi knows:
backup is tricky.
These files are only dcu, those only backup, third are needed, those you can doe easily a second time...
As he was programmer, he wrote a backup solution and donated it to public.
Just for backup.
The public has no idea, where the donator came from and what his motivation was.
I learnt his "secret", because I once told him, that his open source is the best thing, I ever could imagine for Delphi backup.
So grab it, it does it all, what we need to save our sources.
personal-backup.rathlev-home.de
The OP does not want to backup anything, he wants to search within IDE for something, including sub-folders with excluding "backup" folder (in delphi terms "__history" & "__recovery")
My way of fixing would be to patch the original Lazarus source code to add option "[] exclude backup" on that search formular.
-
My Lazarus creates backups in a subdirectory called backup. I didn't make it do that, so I think it's automatically configured this way.
When I do a search in directories, searching through my source code, it'd be really great if it didn't search into the backup directories. So many false matches...
Agree 100%.
Also when searching like this I often edited files in the backup folder due to this.
-
There already is a feature request for that in the bugtracker.
I'm too lazy to look it up for you.
Bart