The "ThreadSearch" plugin offers the following 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.
Hi dje!,
I recently developed a search thread that supports the following:
- match case
- match whole word
- regular expression
- file extensions
- events and easy interface with the main thread
Source code (5 sources + 1 sample):
http://www.eistware.com/st/SearchThread.zip (http://www.eistware.com/st/SearchThread.zip)
As usual the binary is not compatible with my version of C::B...The same problem remains... Binary is provided for latest nightly but does not work with debugging environment.
News: Better no news than bad news :wink:
No feedback... Does it mean that everything is OK [...]Ooops - sorry, I missed that you had posted the sources... compiling now... ;-)
Reporting back. After having used this plugin "the whole day" - at least for all searched I did - I have to say: Seems to work just fine! The only minor issue I had in the beginning was the following:No feedback... Does it mean that everything is OK [...]Ooops - sorry, I missed that you had posted the sources... compiling now... ;-)
Maybe should I propose two items, one for notebook integration, another one for item activation.Hmmm... I understand and you're right. The only thing that came into my mind was to use a checked menu item as for the other notebook pages instead. Thus it would be directly visible whether it *is* already visible nut not activated or not...?! What do you think? This would also be conform to the other notebook pages that can be toggled in visibility (e.g. script console...)...
What I don't like is menu overload...
bool show = !m_pSizerSearchDirItems->IsShown(m_pSizerSearchDirItems);
bool show = !m_pPnlDirParams->IsShown();
as codeblocks will be used more and more for embedded programming the default search mask should be *.cpp, *.c, *.h.OK, no problem, that's done (heavy workload :lol:).
I am working on toolbar integration for now with wxWidgets 2.8.3 (didn't you ask for this ? :wink:).
Next release will integrate it and as soon as it works, I'll probably go on 2.8.4
The only change I did is to replaceCodebybool show = !m_pSizerSearchDirItems->IsShown(m_pSizerSearchDirItems);
Codebool show = !m_pPnlDirParams->IsShown();
then i removed the filesAs I often needed to browse events implementation, I put these files in my project and forgot to remove them before delivery.
\wx\include\wx\event.h
\wx\src\common\event.cpp
from the source files in the project settings
they are obviously not neccessary for building the plugin
i don't know about any problems with toolbar integrationA wxToolBar will be available to use the ThreadSearch plugin with the search combobox and buttons and the options buttons.
but it seems basically to work fine.
thx for this fine plugin,Thanks for writing it :D
Just add a codesnippet and convert it to a file link (location of file) event.cpp.It overwrites my file !! (SVN 3989)
I would like to provide the pdf version to the codeblocks coummunity, how can I do that.You should put your file on another server, I use esnips (http://www.esnips.com) for my deliveries and I am very satisfied (free, easy to use).
...
As the size of attachment is limited to 192K I had to remove the pics and pdf version is to large. Sorry for that.
I would like to provide the pdf version to the codeblocks coummunity, how can I do that.
..
Hi Pecan,
i will try to make a final version of the document next week. I want to add some additional documentation like how to write a wizard script. The documentation is written in tex, so I can generate html, pdf, chm or other formats. It seems that wiki has no clear specification so I can not generate wiki code and have to use copy and paste.
As soon it is available I will add it also to wiki, but I think chm and pdf for download is also nice. I will post the download link next week.
Regards,
Mario