User forums > Using Code::Blocks
Code Completion does not work with C++11 initialization syntax
(1/1)
Navarro:
Is this a bug or am I doing something incorrectly.
For instance i have a code like this:
class Foo()
{
public: Foo(int x){}
};
if I type
Foo foo(4);
and then begin typing foo. code completion works as normal.
However if I used curly braces to initialize foo like this: Foo foo{4}
When I then type foo. there is no suggestions.
I was not able to find the answer to this questions anywhere else. Hoping someone can help me.
Mike
ollydbg:
--- Quote from: Navarro on December 11, 2013, 08:18:29 am ---...
Hoping someone can help me.
Mike
--- End quote ---
Hi, Mike, I think it is normally a bug or a feature request, C++ grammar is too complex and our parser in CodeCompletion plugin is hard to implement. Any way, patches are welcome to improve this.
Navigation
[0] Message Index
Go to full version