Author Topic: Highliting the function's definition  (Read 3960 times)

krzycho_666

  • Guest
Highliting the function's definition
« on: June 08, 2011, 07:27:46 pm »
Hello everybody!
I've got a small problem/question... What I'm looking for, is some kind of highlighting of function's definition. The thing is, that it's only highlighting functions from standard libraries, but if I'm waiting for sugestion for SDL functions ... it gives me NOTHING... Small screenshot here:


Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Highliting the function's definition
« Reply #1 on: June 08, 2011, 08:11:39 pm »
This is done by Code::Blocks Code Completion Plugin; search on that and you should find the answer.

Note: I do not use that plug-in.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13406
    • Travis build status
Re: Highliting the function's definition
« Reply #2 on: June 08, 2011, 10:27:25 pm »
If you're using 10.05, you can try a nightly build, there the CC is highly improved, but not perfect so there is a chance that it won't work.
(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 ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Highliting the function's definition
« Reply #3 on: June 09, 2011, 02:52:57 am »
If you're using 10.05, you can try a nightly build, there the CC is highly improved, but not perfect so there is a chance that it won't work.
agreed, also, this is called "call tip" not "highlight". :D
Can you give a sample test code then I can test it?
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.