Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Zachary1234 on October 15, 2019, 01:33:26 am

Title: Code::Blocks and C++ Code Completion.
Post by: Zachary1234 on October 15, 2019, 01:33:26 am
I am aware that Code::Blocks has a code completion pop-up for C++ via the SmartSense setting.

-Will this code completion detect classes, methods and fields from library files, as well as non-compiled
.cpp files, both, too?
Title: Re: Code::Blocks and C++ Code Completion.
Post by: stahta01 on October 15, 2019, 03:20:08 am
I am aware that Code::Blocks has a code completion pop-up for C++ via the SmartSense setting.

-Will this code completion detect classes, methods and fields from library files, as well as non-compiled
.cpp files, both, too?

"library files" no. But, there is a way to detect classes from header files.

Tim S.
Title: Re: Code::Blocks and C++ Code Completion.
Post by: Zachary1234 on October 15, 2019, 05:08:01 am
-Does this mean that code completion inside Code::Blocks will work for fields and methods,
involving (.cpp file classes or .lib or .a class) so long as there is the correct header
file present and #include  -ed?