Every IDE I've tried fails to provide code-completion when something template-related is used. For example,
boost::shared_ptr<Object> ptr;
ptr->[cursor is here]
Is there IDE that can provide code completion in this case?
Every IDE I've tried fails to provide code-completion when something template-related is used. For example,
boost::shared_ptr<Object> ptr;
ptr->[cursor is here]
Is there IDE that can provide code completion in this case?
Visual Studio with Visual Assist X handles that case, but still fails more complex code.
Actually this is a fairly simple template use-case, Qt Creator can handle this easily and more complex template code aswell.
G'day,
As an aside, I'd highly recommend Scott Meyers's excellent "Effective STL" book.
Item 49 "Learn to decipher STL-related compiler diagnostics" is worth the price of admission alone! The info therein is also applicable to decoding complex template related diagnostics beyond STL, e.g. for Boost.
Have fun.
BTW +1 for an interesting question.
cheers,
Eclipse + the CDT plugin will handle this as well as the other tools mentioned
I've always use Eclipse C/C++ IDE. It supports code completion as well :)
Visual Studio 2010 has significantly improved in this area. There is an open beta going on, you should check it out.
Netbeans sometimes gets it right, but not always. It's non-deterministic: seemingly similar code may get parsed, or not, depending on the whim of the IDE.