User forums > Using Code::Blocks

std::string not available in code completion

(1/1)

Neo:
I am a casual user of CB. I mainly do small tests and write small projects in CB.

I have a problem with std::string code completion. It seems CB does not know this type. When I type s. there is no code completion at all. When I try  std::stri the list does not have `string`.

I tried this in the latest nightly svn12802 and the official 17.12, and got same behavior.

ollydbg:
Hi, thanks for the report.

I maintain the CodeCompletion for a long time, but the C++ source code is hard to parse.

Currently, I think the main direction is using code completion from "clangd".
We have "clangd_client" plugin, can you try it?

See: The 24 April 2022 build (12802) is out.


Neo:

--- Quote from: ollydbg on April 27, 2022, 12:59:33 pm ---Currently, I think the main direction is using code completion from "clangd".
We have "clangd_client" plugin, can you try it?

See: The 24 April 2022 build (12802) is out.

--- End quote ---
I did not find this plugin in the nighly package.

gd_on:
The link is given by pecan in the second post of the svn 12802 ...

Neo:

--- Quote from: gd_on on April 27, 2022, 06:32:54 pm ---The link is given by pecan in the second post of the svn 12802 ...

--- End quote ---
Thanks for pointing out, but I decide to wait for next nightly build.

Navigation

[0] Message Index

Go to full version