News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Using CB: locating var and function references for a class

Started by tigerbeard, September 18, 2009, 02:36:15 AM

Previous topic - Next topic

tigerbeard

This is a really cool IDE with so many smart solutions.
Thanks for the great work!

However, I am struggeling for a few hours now to find a way in C::B to efficiently locate for a certain class member function (or class member variable) all occurances in the project code. As I could not find anything in the IDE  nor wiki, faq and the forum I hope you can give me some tips how to achieve that or if i overlook a function.

Thanx
tiger


PS. maybe a short example.

For this class I would look for a jump list of all places in the project where foo::MyFunction() is called.
class foo ()
  {
  ..
  MyFunction();
  ..
  }


I am using Build 5731.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

tigerbeard

Well, I did try that, but its not exactly what I was looking for. With the regular expression checkbox marked it did not distinguish between functions from different classes, i.e. it will list places for foo::MyFunction() as well as places with AnotherFoo::MyFunction() or BaseFoo::OverloadedFoo::MyFunction().
Did I miss a configuration?

However, I spotted the context search entry.

regards
Tiger

oBFusCATed

That's all we have at the moment  :?

You're welcome to implement the correct behaviour and provide a patch, so C::B can be better :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

tigerbeard

Thanks. At least I can stop trying now.

I 'll take the hint. I guess when one's thinking about implementing a missing feature that when you start to realize that you had not idea how complex it might be  :). However, maybe there are easier ways to get work improvements.

Topic is closed.

oBFusCATed

I'm not a Code-Completion/Parsing expert (don't know the real code),
but the information needed to implement this feature should be present already.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]