Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

ThreadSearch plugin v1.1 release

(1/5) > >>

dje:
Hi all !

Release v1.1 of the ThreadSearch plugin is available !

What's new ?
Very little changes, just the cbStyledTextCtrl refactoring (from SVN 4767) integration.

Features :

* multi-threaded "Search in files"
* preview of the results (left single click on log window)
* file open (left double click on log window)
* check boxes instead of radio boxes to allow searches with both project and directories for example.
* contextual menu "Find occurrences" to start a search in files with the word under cursor (can be activated or not)
Why ?

* I am working on very big projects (700 Mo of cpp, h files) and text searches take up to 5 minutes. It is very frustrating being blocked because of the search. It is now possible to continue editing code during searches.
* I do not like leaving the editor position to browse 'Search in files' resuts. There is now the 'Code preview' to do this with possibility to open the file at the right position.
Installation :

* Download the Windows ThreadSearch 1.1 plugin.
* Click on Plugins/Manage plugins
* Click on Install new and select the downloaded pluginNote :
SVN release 4767 or later is required !

Build
Extract the source code in src\plugins\contrib\ThreadSearch, open the CodeBlocks project and build it. The .cbplugin is generated in src\plugins\contrib\ThreadSearch\plugin and is ready for install.

User manual
Here is the wiki page

Feel free to send feedbacks !  :)

Dje

Lazybones:
Hi!

on a double click on a result item sets the location of the editor to the result but the editor is not set as "current window" in CB. So I have to click in the editor to activate it, which changes the currently active line in the editor.

Is ist possible to set the editor as focused window on a double click on a result?

I am using the latest version of ThreadSearch (version 1.1 from svn).

Sven

dje:
Hi !

This is the normal behaviour but this bug must have appeared with the choice of the logger (tree or list).
Do you use the Tree logger ? I noticed this problem with it only, the focus is correctly set with list control. Do you confirm ?

If this is not the case, what OS do you use ?

I'll fix it soon. A new delivery is coming...

Dje

Lazybones:
Hi Dje,

Thanks for your fast answer!
I am using Win XP SP2

I can confirm that this behaviour only appears in the tree logger, the double click in the list works correctly.

And I have found another thing:
the menu-entry "Find declaration" jumps to the implementation of a function (I am using CB for C-programming...). "Find implementation" works correctly!

Thanks
 Sven

dje:

--- Quote from: Lazybones on January 07, 2008, 11:58:17 am ---And I have found another thing:
the menu-entry "Find declaration" jumps to the implementation of a function (I am using CB for C-programming...). "Find implementation" works correctly!

--- End quote ---
That's no way related to this plugin !

You can check the existing bugs on BerliOS concerning this point and create it i f necessary.

Dje

Navigation

[0] Message Index

[#] Next page

Go to full version