Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: rwxdfbb on December 05, 2013, 04:08:52 am

Title: using boost libraries cannot auto-complete
Post by: rwxdfbb on December 05, 2013, 04:08:52 am
when I use boost's share_ptr library, Writing a intelligence pointer cannot auto display object's function or attribute. I attempt to add the <boost/shared_ptr.hpp> to "Editer->C/C++ parser->Headers ..." ,but It's also invalid.
Title: Re: using boost libraries cannot auto-complete
Post by: ollydbg on December 05, 2013, 05:23:02 am
Hi, rwxdfbb, thanks for the report.
The parser in our CodeCompletion plugin is not good at parsing template related code, so it failed on the issue your reported.
Two method:
1, make some effort to implement this feature in our parser.
2, use some modern parsers like Clang codecompletion, you can try the ClangCodeCompletion plugin(you need to search the forum to find it, download its source and build it).
Title: Re: using boost libraries cannot auto-complete
Post by: stahta01 on December 05, 2013, 05:28:16 am
2, use some modern parsers like Clang codecompletion, you can try the ClangCodeCompletion plugin(you need to search the forum to find it, download its source and build it).

http://wiki.codeblocks.org/index.php?title=Announcement_for_plugins/patches (http://wiki.codeblocks.org/index.php?title=Announcement_for_plugins/patches)

Tim S.