codeblocks autocomplete / calltips not working for C standard library functions

久未见 提交于 2019-12-12 03:34:44

问题


I'm trying to start using code::blocks to do some C programming in just to learn. I was hoping to use the codecompletion / calltips feature (e.g. when typing say "printf" it popsup a handy dropdown box that shows the parameters.

I've made a new project and a new file in that project called "hello.c"

#include <stdio.h>
int main(){
  int test=0;
  printf("%d",test);
  return 0;
}

but midway through typing prin---only "priority_queue and private" show up, no printf functions, and nothing happens when pressing ctrl-j, ctrl-space, alt-shift-space, ctrl-n or p nothing works. I've tried reparsing the project. I initially had 13.12 version installed because that's what Ubuntu (14.04.4LTS) had but then I installed version 16.01 by mucking with the apt-get ppas. That version also doesn't work. I've tried disabling and reenabling the code completion plugin and I've made sure under settings->editor-> that code completion box is checked.

What am I doing wrong here? Any help would be very appreciated. Thanks so much!


回答1:


The new Code::Blocks IDE is not so polished on Ubuntu yet. You can try reinstalling it. And if it didn't work try reverting to 13.12.



来源:https://stackoverflow.com/questions/36444091/codeblocks-autocomplete-calltips-not-working-for-c-standard-library-functions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!