问题
How to enable C Std lib functions autocomplete in Code::Blocks?
回答1:
Go to Settings > Editor > Code-Completion and Symbols Browser and make sure Disable code-completion isn't checked.
回答2:
Code completion should include member functions autocomplete also. Where as I couldn't see it working. Suppose I want to access the member functions of stringstream class. It is not coming up automatically when I try to access it using the object of stringstream.
e.g,
stringstream str; str. // nothing comes up automatically.
What needs to be configured ?
回答3:
In the latest code blocks 16.01 on windows 10, code completion for c didn't work when a new file was created and configured to be a c file.
However, when a new C project was created using (File/New/ Project/ Console Application), all declared functions and variables worked with the code completetion.
Hope this helps
来源:https://stackoverflow.com/questions/3464900/how-to-enable-c-autocomplete-in-codeblocks