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

ThreadSearch 0.7 release

(1/16) > >>

dje:
Hi all !

I'm proud to release ThreadSearch plugin 0.7  :D

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.
What's new ?
New features :

* The ThreadSearch toolbar is available (@jamieo)
* Search graphical widgets can be shown or hidden on the ThreadSearch panel to spare space.
* The File path column in list log is splitted in directory and file name to improve readability and space (@Jamie).
* 'Search' menu 'Thread search'item now searches for word under cursor or adds panel to Messages notebook if no word is selected (Jamie contrib, thanks).
* Focus is automatically set to list log after running a search (Jamie contrib, thanks).
* Default mask is now *.cpp;*.c;*.h instead of *.cpp;*.h to better fit user needs (@Mario)
Bug fixes :

* "Failed to convert file "x:\y\filename.cpp" to Unicode." was sometimes raised during searches. Thanks to Tiwag for solution !
* Configuration save fixes.
* Options window was not centered on the main window.
* Log line items were not systematically aligned on the right.
Installation :

* Download the following files:
Windows ThreadSearch 0.7 plugin or Linux (Ubuntu 6.10, 32 bits) ThreadSearch 0.7 plugin and pngs.zip
* Extract pngs.zip
* Move ThreadSearch.png and ThreadSearch-off.png in the <...>\CodeBlocks\share\CodeBlocks\images\settings directory
* Move other pictures (findfdisabled.png, options.png, optionsdisabled.png, stop.png and stopdisabled.png) in the <...>\CodeBlocks\share\CodeBlocks\images\16x16 directory
* Click on Plugins/Manage plugins
* Click on Install new and select the downloaded plugin
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 and is ready for install.

EDIT: this is the dedicated wiki page

Feel free to send feedbacks !  :)

Dje

rickg22:
It'd be better if you left the image files in a zip, as the other plugins have their images etc. in their own zip files.

MortenMacFly:

--- Quote from: dje on June 29, 2007, 12:00:41 am ---I'm proud to release ThreadSearch plugin 0.7  :D

--- End quote ---
Nicely done, looks great.

Hence I have found a serious bug that will for sure give you some headache:
- enable toolbar and view of the plugin
- go to "manage plugins"
- disable plugin
- enable plugin
Result:
- C::B toolbar is completely messed up and cannot be used anymore
- starting from now closing C::B result is a crash

Notice: This is advanced stuff. Besides from that it works great - have searched the whole C::B workspace - no issues.

With regards, Morten.

tiwag:

--- Quote from: MortenMacFly on June 29, 2007, 11:28:03 am ---... I have found a serious bug that will for sure give you some headache:
- enable toolbar and view of the plugin
- go to "manage plugins"
- disable plugin
- enable plugin
Result:
- C::B toolbar is completely messed up and cannot be used anymore
- starting from now closing C::B result is a crash
...
--- End quote ---

better you let it enabled  :P  :P

dje:
I confirm the bug at least on Windows.
The RPT gives interessant details.

There will probably be a 0.10 release soon...

Thanks for feedback !

Dje

Navigation

[0] Message Index

[#] Next page

Go to full version