User forums > Using Code::Blocks

Incremental Search

<< < (2/10) > >>

mariocup:
Hi,

I agree that the ThreadSearch is a great plug-in for searching strings, but an incremental search would be nice. For example if you use Firefox and use the search shortcut the focus is put in a search command line where you type your search string. The advantage is that the editor/browser view remains visible and you do not have a search window that pops up. I think that together with the highlight occurrence feature the incremental search would be cool in Code::Blocks. The incremental search could also have a scope like: search in current file or search in all opened files.

Bye,

Mario

dje:
It is true that going from Firefox incremental search to IE modal popup is quite disgusting.
I find this feature nice even if not absolutely required.

I'm not sure it would be a good idea to implement it in ThreadSearch plugin, because (I have to check but) I think, files are searched in file path or file name ascending order, not by active or open.

Don't also forget than when a search is running, the text box is disabled... and you need to stop it before edition.

Dje

Barking_Mad:

--- Quote from: MortenMacFly on September 30, 2008, 03:19:53 pm ---
--- Quote from: colski on September 30, 2008, 03:14:18 pm ---That's not incremental search, you're describing repeat search.

--- End quote ---
Although I don't see any major benefit in this search method you might want to try the ThreadSearch plugin. It does not do the incremental stuff but has similar features. Probably you can enhance it in a way that it would work as you like.

--- End quote ---

If its not incremental, its excremental :P

This would be something that falls under the remit of code completion, id expect it a requirement for good code completion to also include incremental search, so hopefully it will be included when the CC is done.

Jenna:

--- Quote from: Barking_Mad on October 02, 2008, 04:20:23 pm ---This would be something that falls under the remit of code completion, id expect it a requirement for good code completion to also include incremental search, so hopefully it will be included when the CC is done.

--- End quote ---

I don't think that it's really needed for that.

Incremental search for one file is easy to implement.
In fact I just created this as plugin (with a really ugly modal dialog at the moment).
It might be a better idea to use a toolbar instead, but that's another thing (and I might work on it the next days).

I'm not sure if incremental search in more then one file is really needed.
I think that's something ThreadSearch-plugin can do better (even if it not searches incremental).

mariocup:
Hi jens,

I agree that incremental search for one file is better then in all opened files. I think a search bar with the options like Firefox 3 would be sufficient.

Bye,

Mario

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version