Author Topic: Code::Blocks and C++ Code Completion.  (Read 2651 times)

Offline Zachary1234

  • Multiple posting newcomer
  • *
  • Posts: 25
Code::Blocks and C++ Code Completion.
« 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: Code::Blocks and C++ Code Completion.
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Zachary1234

  • Multiple posting newcomer
  • *
  • Posts: 25
Re: Code::Blocks and C++ Code Completion.
« Reply #2 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?