Boost and autocompletion
Hello All, I've been trying to get autocompletion to work under Unix. I do not mind which editor I use really. I was hoping to get the quality of visual studio code completion. I have tried VIM/Ctags/Omnicompletion, Netbeans and Eclipse. The first option does not work well since ctags has a problem indexing boost, the smallest index I could build is 56 mb (after excluding the vector*.hpp files). Netbeans works well however it is dog slow. Eclipse doesn't work at all (perhaps I've done something wrong). Is there a combination for a posix system that will work well with boost (or other template heavy libraries) or do I need to code in visual studio and just recompile under a posix system ?. I guess what I could do is hide the boost code I use behind my own objects in visual studio and then resume development on Posix where it can index my objects nicely. It's depressing how bad the code completion engines are in non-Microsoft editors for C++ :(. Are there any mechanisms in c++0x to make the template code easier to parse for naive code-completion engines ? Regards Hassan
try eclipse with eclipse cdt plugin. In www.eclipse.org you can find a
bundle of "eclipse for c/c++ developers".
That's the one you need.
2009/9/1 Hassan Syed
Hello All, I've been trying to get autocompletion to work under Unix. I do not mind which editor I use really. I was hoping to get the quality of visual studio code completion. I have tried VIM/Ctags/Omnicompletion, Netbeans and Eclipse. The first option does not work well since ctags has a problem indexing boost, the smallest index I could build is 56 mb (after excluding the vector*.hpp files). Netbeans works well however it is dog slow. Eclipse doesn't work at all (perhaps I've done something wrong). Is there a combination for a posix system that will work well with boost (or other template heavy libraries) or do I need to code in visual studio and just recompile under a posix system ?. I guess what I could do is hide the boost code I use behind my own objects in visual studio and then resume development on Posix where it can index my objects nicely. It's depressing how bad the code completion engines are in non-Microsoft editors for C++ :(. Are there any mechanisms in c++0x to make the template code easier to parse for naive code-completion engines ? Regards Hassan _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On Tue, Sep 1, 2009 at 11:24 AM, Germán Diago
try eclipse with eclipse cdt plugin. In www.eclipse.org you can find a bundle of "eclipse for c/c++ developers". That's the one you need.
Yea, that is the best I have seen so far, but nothing gets anywhere close to the quality of Visual Assist + MSVC sadly, that is my only main tie to still programming on Windows, the IDE is just so much better. Might see if it works in wine...
Thanks for the advice guys, I thought so.
I have tried eclipse/CDT. It works fine at indexing code which is not
template heavy. but it doesn't seem to handle boost autocompletion very
well. It might be something that I did wrong but I shall give it another go.
On Tue, Sep 1, 2009 at 10:38 PM, OvermindDL1
On Tue, Sep 1, 2009 at 11:24 AM, Germán Diago
wrote: try eclipse with eclipse cdt plugin. In www.eclipse.org you can find a bundle of "eclipse for c/c++ developers". That's the one you need.
Yea, that is the best I have seen so far, but nothing gets anywhere close to the quality of Visual Assist + MSVC sadly, that is my only main tie to still programming on Windows, the IDE is just so much better. Might see if it works in wine... _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
On Tue, Sep 1, 2009 at 4:13 PM, Hassan Syed
Thanks for the advice guys, I thought so. I have tried eclipse/CDT. It works fine at indexing code which is not template heavy. but it doesn't seem to handle boost autocompletion very well. It might be something that I did wrong but I shall give it another go.
Nah, not your fault, nothing but Visual Assist that I have seen handles Boost well, Boost is just so big and complicated and Visual Assist basically has a C++ compiler inside of it for building up every tiny bit of information it could ever want, no other tools does that yet as far as I have found, if you ever find one that has VA's power, please link me. :)
participants (3)
-
Germán Diago
-
Hassan Syed
-
OvermindDL1