Author Topic: Allegro Code Completion  (Read 4653 times)

Offline aguayro

  • Single posting newcomer
  • *
  • Posts: 3
Allegro Code Completion
« on: December 27, 2011, 05:48:06 am »
there is any way to make code completion find allegro's functions?
it works well with some keywords, but impossible get the functions, i've spent 2 o 3 hours searching in google but failed :(

( MSVS2010 can display a popup with the allegro functions arguments when you type tye firs '(', like "al_create_display(", tha would be amazing awesome hehe,
but i'd be happy if C::B could find the function name at least)


PD: my apologies for my english :(

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: Allegro Code Completion
« Reply #1 on: December 27, 2011, 01:34:55 pm »
Last time I checked into Allegro for code completion it required a proper preprocessor to work. The functions were all declared using macros, which really complicates things. My workaround was to create a separate header file with all function signatures, put it somewhere in disk and force code completion to use that file. Just in case, I no longer have the file.

Offline aguayro

  • Single posting newcomer
  • *
  • Posts: 3
Re: Allegro Code Completion
« Reply #2 on: December 28, 2011, 04:23:02 am »
finally, i wrote all allegro functions into a header file, so when i include it, y have full allegro code completion, thans for the advice :)