Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ Code::Blocks Autocomplete Not Working

I just recently started learning C++ with Code::Blocks. When I first started using it, the autocomplete worked fine, but now it doesn't for some reason. What I mean by autocomplete is this:

#include <iostream>
using namespace std;

int main(){
    int test;
}

If I were to type "te" (without the quotes), I wouldn't get a box that has the name of my variable in it. Any help would be appreciated.

like image 313
PotatoeMaster Avatar asked Feb 10 '15 00:02

PotatoeMaster


2 Answers

Disabling SmartSense (settings/editor/code completion) can resolve the problem. With SmartSense enabled (default) code completion work partially.

like image 200
Bogdan Avatar answered Nov 03 '22 05:11

Bogdan


In the Editor settings, change the value of autolaunch after typing # letters from 3 to 2.

like image 22
Shubhzgang Avatar answered Nov 03 '22 03:11

Shubhzgang