Author Topic: Parameter prompt?  (Read 3253 times)

Offline gonnavis

  • Single posting newcomer
  • *
  • Posts: 2
Parameter prompt?
« on: June 03, 2010, 04:16:00 am »
Can Code Block prompt parameter like what in VC++?

[attachment deleted by admin]
« Last Edit: June 03, 2010, 04:17:44 am by gonnavis »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6025
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Parameter prompt?
« Reply #1 on: June 03, 2010, 04:28:54 am »
Can Code Block prompt parameter like what in VC++?
Yes.
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 ptDev

  • Almost regular
  • **
  • Posts: 222
Re: Parameter prompt?
« Reply #2 on: June 04, 2010, 11:48:07 am »
Can Code Block prompt parameter like what in VC++?

If the parameter tip doesn't show up on its own, press Ctrl+Shift+space.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Parameter prompt?
« Reply #3 on: June 04, 2010, 09:10:04 pm »
If the parameter tip doesn't show up on its own, press Ctrl+Shift+space.
And if you still don't see it and you've got a simple project where you can reproduce the bug every time you try, please post it.

The call tip feature is random, too...
Sometimes it shows, sometimes it doesn't.
Most of the times if I hit ctrl+shift+space for the second time the call tip doesn't show, but I can't reproduce this bug reliably.... :( :(  :? :( :twisted: :evil: :cry: :|
(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!]