ThreadSearch plugin

From Code::Blocks
Revision as of 14:40, 1 July 2007 by Dje (talk | contribs)
Thread search
{{{logo}}}
Developer(s): User:Jérôme ANTOINE
Maintainer(s): Jérôme ANTOINE
Version: 0.7

ThreadSearch

Features

ThreadSearch plugin offers the following features:

  • multi-threaded "Search in files"
  • internal read-only editor to preview the results
  • file open in editors notebook
  • highly configurable
  • contextual menu "Find occurrences" to start a search in files with the word under cursor


Why ?

  • The default Search in files displays a blocking dialog I worked on a project that was big enough to take 6 minutes to search all files
  • The default
  • I love Code::Blocks and I wanted to bring my contribution.
   * 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.


Configuration

Usage

Once the plugin is installed, there are 4 ways to run a search :

  • Type/Select a word in the search combo box and press enter or click on Search on the Thread search panel of the Messages notebook
  • Type/Select a word in the toolbar search combo box and press enter or click on Search button
  • Right click on any 'word' in active editor and click on Find occurrences of 'word'
  • Click on Search/Thread search in the toolbar to search for current word in active editor

The toolbar,