Code::Blocks Forums

User forums => Help => Topic started by: LETARTARE on July 05, 2025, 04:23:48 pm

Title: Using 'ThreadSearch'
Post by: LETARTARE on July 05, 2025, 04:23:48 pm
I'm trying to empty the search string buffer, but I can't!
How do you do it ?
Title: Re: Using 'ThreadSearch'
Post by: cacb on July 05, 2025, 09:47:23 pm
I have not used ThreadSearch much, but the GUI doesn't seem to have an option to remove old searches.

The info is stored in the 'default.conf' file which is really an XML file.

'default.conf' is found in
Windows: %APPDATA%\CodeBlocks
Linux: ~/.config/codeblocks

The tag SEARCHPATTERNS under ThreadSearch contains the old search patterns. So it is possible to remove it manually using a text editor if you understand how to not mess up XML syntax.

- Exit C::B before doing anything
- Backup 'default.conf'' in case you mess it up
- Make the changes
- Restart C::B
Title: Re: Using 'ThreadSearch'
Post by: LETARTARE on July 06, 2025, 10:59:44 am
Thanks you.
But I had hoped that a combination of keys existed.