News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Completion suddenly stopped working

Started by questionderby, June 23, 2021, 08:30:16 PM

Previous topic - Next topic

questionderby

Quote from: stahta01 on June 25, 2021, 12:03:40 PM
Does anyone know if you need a CB project for Code Completion to work?

Tim S.

Well the first time I launched CB I made a source file and CC worked properly. So I'm assuming no need for a project for CC to work(does not work on projects right now either).

oBFusCATed

Post a screen shot of your compiler settings. The toolchain executable tab.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

questionderby

#17
Here it is... The "Compiler's installation directory" was always empty, but Code Completion worked nevertheless.

Edit: Okay so I was just playing around with the "Compiler's installation directory"... "Auto-detect" always said 'Auto-detected installation path of "GNU GCC Compiler" in "" ', resulting in an empty path as shown below. I first gave it /bin (symlink to /usr/bin on my system), didn't do anything + auto-detect still gave an empty path. Tried /usr/bin, with absolutely no hope, still nothing as expected. Randomly clicked Auto-detect again, it said 'installation path in "/usr" ', and now it works. The fuck did I just experience? It worked before even when the path was empty...

oBFusCATed

Quote from: questionderby on June 30, 2021, 09:00:39 PM
...The fuck did I just experience? It worked before even when the path was empty...
Your failure to read the message in red causes you problems. :)
I suppose we have to add a check if endswith("/bin") try to nag the user to fix it...
Also it is interesting that the message doesn't fit.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]