Author Topic: lost "current method" toolbar  (Read 5568 times)

Offline rjl

  • Multiple posting newcomer
  • *
  • Posts: 28
lost "current method" toolbar
« on: November 08, 2015, 03:55:59 pm »
Hi all. It used to be the case that as I hopped around a project C::B would tell me what method/procedure I was in in one of the toolbars. I don't recall what the toolbar was (or if it was a toolbar!) but in any case that information is now gone. Any ideas how to get back that very useful piece of information? I'm using Release 13.12 rev 9501, SDK Version 1.19.0 on Ubuntu 15.10.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: lost "current method" toolbar
« Reply #1 on: November 08, 2015, 05:18:06 pm »
View -> Toolbars -> Code completion
You need to have the code completion installed and enabled.
(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 rjl

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: lost "current method" toolbar
« Reply #2 on: November 08, 2015, 08:42:16 pm »
All it seems to show is <global>. No method names visible.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: lost "current method" toolbar
« Reply #3 on: November 08, 2015, 09:01:45 pm »
Then there is nothing parsed by the parser.
(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 rjl

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: lost "current method" toolbar
« Reply #4 on: November 09, 2015, 12:29:21 am »
Why would that be? What should I be looking for? What might have changed from about a month ago when it always reported where in the code it was?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: lost "current method" toolbar
« Reply #5 on: November 09, 2015, 08:49:01 am »
It looks like sample code is need to reproduce this bug, thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline rjl

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: lost "current method" toolbar
« Reply #6 on: November 09, 2015, 10:01:26 pm »
I'm not convinced it's code related. I'm in front of a different machine now and the behavior here is fine -- with the same project. It also shows <global> in a kind of dropdown menu box like I described and next to it is that beautiful box that has the current method. That second box seems to be missing on my other machine. I'll play around and try to find it (actually I have for a while now), but I'd love some ideas.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: lost "current method" toolbar
« Reply #7 on: November 10, 2015, 12:02:11 am »
There is a setting in the CC options that merge the two drop downs. Probably you've enabled it on one of the machines.
(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 rjl

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: lost "current method" toolbar
« Reply #8 on: November 10, 2015, 12:29:00 am »
Sorry for being dense, but what is CC?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: lost "current method" toolbar
« Reply #9 on: November 10, 2015, 01:01:42 am »
code completion
(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 rjl

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: lost "current method" toolbar
« Reply #10 on: November 10, 2015, 07:00:21 pm »
I searched everywhere I could possibly think of and found no code completion options. Can you tell me where they can be found?

In any case the problem has been solved. It seems that even though there appears to be plenty of room for the "current method" dropdown box, it would not appear until I dragged the toolbar down to a new line. Now I see both boxes in the toolbar and all is fine.

P.S. One would think that either "optimize toolbars" or "fit toolbars" would have solved this problem, but neither did.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: lost "current method" toolbar
« Reply #11 on: November 10, 2015, 08:30:41 pm »
Settings -> Editor -> Code completions.

Please post a screen shot of the toolbars after optimize or fit has been executed.
(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 rjl

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: lost "current method" toolbar
« Reply #12 on: November 11, 2015, 04:02:08 pm »
I suppose I can do that, but I'm not sure of the point. The toolbars look exactly the same before and after optimize or fit, i.e., they seem to do nothing.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: lost "current method" toolbar
« Reply #13 on: November 11, 2015, 08:56:05 pm »
The point is that I'll be able to how you've ordered the toolbars and I could try to reproduce the issue on my computer.
(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 rjl

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: lost "current method" toolbar
« Reply #14 on: November 12, 2015, 04:34:10 pm »
Here it is.