Code::Blocks Forums

User forums => Help => Topic started by: Higeath on July 31, 2013, 11:28:47 am

Title: Code::blocks Allegro 5 Tool tips not always showing up
Post by: Higeath on July 31, 2013, 11:28:47 am
I would like to know how to make Code::Blocks show me tool tips for example when I write al_ and I would like to see options from this library beacuse I'm learning and It's not easy to remember all of those functions or If I for example use al_draw_pixel( and i would like to see a tooltip with variables needed for this function. I would really appreciate your answer. PS. I'm using ALLEGRO 5 and I'm saving as .cpp files it shows sometimes tooltips and othertimes it doesn't I have no idea how to fix it.
Title: Re: Code::blocks Allegro 5 Tool tips not always showing up
Post by: stahta01 on July 31, 2013, 04:35:29 pm
search under code completion, I do NOT use it so I have no hints.

Edit: from FAQ http://wiki.codeblocks.org/index.php?title=FAQ-Settings#Q:_How_do_I_get_Code_Completion_to_work.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Settings#Q:_How_do_I_get_Code_Completion_to_work.3F)

Tim S.l
Title: Re: Code::blocks Allegro 5 Tool tips not always showing up
Post by: Higeath on July 31, 2013, 06:25:26 pm
Thanks for response. I actually found a solution for others. Copy code from:
http://cpp0x.pl/forum/temat/?id=8269
Yea it is a polish site but it doesn't matter. Paste this code to header file of allegro for go to allegro5 folder and open allegro.h and paste it there.  that's it :)