Author Topic: Using CB: locating var and function references for a class  (Read 3385 times)

Offline tigerbeard

  • Almost regular
  • **
  • Posts: 190
Using CB: locating var and function references for a class
« on: September 18, 2009, 02:36:15 am »
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Using CB: locating var and function references for a class
« Reply #1 on: September 18, 2009, 07:33:16 am »
Enable/install the ThreadSearch plugin
(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!]

Offline tigerbeard

  • Almost regular
  • **
  • Posts: 190
Re: Using CB: locating var and function references for a class
« Reply #2 on: September 18, 2009, 08:41:06 am »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Using CB: locating var and function references for a class
« Reply #3 on: September 18, 2009, 02:25:36 pm »
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!]

Offline tigerbeard

  • Almost regular
  • **
  • Posts: 190
Re: Using CB: locating var and function references for a class
« Reply #4 on: September 19, 2009, 12:41:34 pm »
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Using CB: locating var and function references for a class
« Reply #5 on: September 19, 2009, 01:10:35 pm »
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!]