User forums > Using Code::Blocks

Auto Complete offeres members from all libraries

<< < (2/3) > >>

AZ:

--- Quote from: oBFusCATed on November 18, 2016, 07:46:34 pm ---This is not minimal example.  ::)
Minimal example is a file that has no includes.

--- End quote ---

In case there are no 3rd party libs - autocomplete works fine. I hope you are not going to say "then it is a 3rd party problem", because in Atom's autocompletion with this same library works perfectly smooth "out of the box". :(

oBFusCATed:
What do you mean by third-party libs?
It is probably a problem in the header of this third-party lib.
It uses something our parser doesn't understand.
My request is to trim down the source code and to find the code that breaks our parser.

AZ:

--- Quote from: oBFusCATed on November 19, 2016, 01:53:05 pm ---What do you mean by third-party libs?
It is probably a problem in the header of this third-party lib.
It uses something our parser doesn't understand.
My request is to trim down the source code and to find the code that breaks our parser.

--- End quote ---

I meant to say that if I have includes only for "standard" libraries (io streams,  STD) the autocomplete works fine.
When I add this library - autocomplete becomes confused.

AZ:
i compared 2 projects - one regular console C++ and one created from (by) Arduino wizard with this library and both of them have (same) issue with autocompleting from this library.
Since the library is well established and works fine in Atom, i suspect my settings in the auto completion are not right.

oBFusCATed:
Keep in mind that we use our own parser of c++, which is not fully complete and doesn't support all features of the language.
So if it works in another tool doesn't mean it will work in codeblocks.

To find which part of the library causes the problem:
Copy the text of the header file in the main.cpp and start removing code until you've found the problematic piece.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version