Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: endoc on December 23, 2011, 05:34:06 am
-
Is there a way to use auto complete with SDL? For example, if I start start typing SD... then I want a bunch of SDL related type names and variables to show up.
I am using SDL 1.2.14.
Let me know if you need more info about my situation.
-
Let me know if you need more info about my situation.
Depends on what version of C::B you are using... which you did not mention.
-
@Morten: it looks like we tried to reply at the same time... here is what I was going to say:
What version of Code::Blocks are you using?
What is your OS?
Does code completion work with any other library (besides the standard template library (STL) and the C library)?
Are you using a project to manage your build or only a single file?
What happens if you right-click on your sdl include
and select Open include file: 'SDL.h'?
-
EDIT: It looks like I have everything working, thanks for your help.
-----
I am running Windows 7 64 bit, and Code Blocks 10.05. I have not tried doing this with any other library yet. I am using a project to manage my build since I will be using multiple files.
As of this morning, the auto complete seems to be working with SDL. I don't know why its working now and not last night....
Anyway, is auto-complete supposed to work with any header file I include? (This is what it looks like exactly: #include "SDL/SDL.h")