Author Topic: Code completion does not work properly  (Read 2926 times)

Offline czarek05

  • Single posting newcomer
  • *
  • Posts: 3
Code completion does not work properly
« on: February 07, 2018, 07:27:59 pm »
Hi,
I have searched some topis here related to the subject but I haven't found the answer. What I would like to reach is that the IDE suggests me at the moment showed in the code below i.a.: abc.substr + list of possible arguments + short description of what substr do. Could you tell me how may I reach that?

Code
#include <iostream>
#include <string>

int main()
{
    std::string abc = "hello world";
    abc.sub

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: Code completion does not work properly
« Reply #1 on: February 08, 2018, 12:42:17 am »
This should work by default.
What operating system are you using? What codeblocks version? From where?

If you are on linux you probably have to install the codeblocks contribution plugins ( i think the packet is cbcontrib-plugins or something like that)

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Code completion does not work properly
« Reply #2 on: February 08, 2018, 09:39:13 am »
If you are on linux you probably have to install the codeblocks contribution plugins ( i think the packet is cbcontrib-plugins or something like that)
The code completion plugin is a core plugin. It is always installed.
(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!]

Offline czarek05

  • Single posting newcomer
  • *
  • Posts: 3
Re: Code completion does not work properly
« Reply #3 on: February 08, 2018, 02:28:25 pm »
Windows 7. Release 13.12

Offline Commaster

  • Almost regular
  • **
  • Posts: 171
Re: Code completion does not work properly
« Reply #4 on: February 08, 2018, 03:30:33 pm »
Windows 7. Release 13.12
Excuse me, but that one is at least 4 years old. Try updating: http://codeblocks.org/downloads/26