Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: kurapix on October 12, 2006, 11:17:24 pm

Title: CodeCompletion refreshing
Post by: kurapix on October 12, 2006, 11:17:24 pm
Hi everyone!

How do we refresh the codecompletion?

What i mean is that i've added SDL and it doesn't detect all the functions.

Thx

Kurapix
Title: Re: CodeCompletion refreshing
Post by: MortenMacFly on October 12, 2006, 11:51:56 pm
What i mean is that i've added SDL and it doesn't detect all the functions.
What do you mean by "refresh"? You don't mean an SDL lexer for the editor, did you? If you really mean CC this should be refreshed automatically (e.g. if you save the changed file(s). Otherwise goto the symbol browser, right-click on the root and select "Refresh tree".
With regards, Morten.
Title: Re: CodeCompletion refreshing
Post by: kurapix on October 13, 2006, 01:14:05 am
Non what i mean is that it doesn't parse all the functions, SDL is an example.
For example try to type SDL_FreeSuface(surface), it won't show any suggestions.
Title: Re: CodeCompletion refreshing
Post by: queenorych on October 15, 2006, 09:51:32 pm
I'd like to know this as well.  I found you can force a refresh by changing the code completion options under editor.  If changed a dialog will pop-up asking you if you want to refresh.  Though it gets a little tedidious when you have to repeat.
Title: Re: CodeCompletion refreshing
Post by: Game_Ender on October 15, 2006, 11:49:35 pm
There use to be a way to refresh the information the right-click menu on the symbols browser, this appears to have disappeared.