How to make a full-fledged search in the Contour view in Eclipse (CDT)

I use Eclipse CDT to view C code at work. Very often I like to look for a function name that I really don't know.

The good part is that there is access to the search, and as soon as I start entering my cursor in the Outline window, it starts looking for a match.

The problem is that my guess should match the beginning of the function name.

i.e. I can find get_var_xyz () by typing get_var_xyz () or narrow down to get_var_xyz and get_var_abc by typing get_var.

I can’t just find xyz if I don’t know what the previous text is. This is what I want to do.

Is there any setting for this hiding? Or a plugin that I could install?

Alternatively, it does not even have to be through Outline. So far I can say "Show all functions containing this text in the current file"

Thanks in advance!

+4
source share
2 answers

So, I have found this. If you do "Ctrl + O", it will display a small window called a quick outline. In this, I can use the wildcard character (*) when searching, which is extremely useful!

+6
source

You can try Navigate-> Open Element in the main menu. This dialog box supports wildcards, has rich filtering capabilities, and works in multiple files. If I need to find something in a single file, I usually use an incremental find (Ctrl + J)

+1
source

Source: https://habr.com/ru/post/1436907/


All Articles