Author Topic: CodeCompletion refreshing  (Read 2882 times)

Offline kurapix

  • Multiple posting newcomer
  • *
  • Posts: 68
CodeCompletion refreshing
« 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
Code::Blocks package building script

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9611
Re: CodeCompletion refreshing
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline kurapix

  • Multiple posting newcomer
  • *
  • Posts: 68
Re: CodeCompletion refreshing
« Reply #2 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.
Code::Blocks package building script

Offline queenorych

  • Single posting newcomer
  • *
  • Posts: 3
Re: CodeCompletion refreshing
« Reply #3 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.

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: CodeCompletion refreshing
« Reply #4 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.