We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
Hi azzam,
Thanks for looking at my guide and sorry for the delayed reply. I've completely revamped my configuration over the last year or so and just wrote a post on it http://nilsdeppe.com/posts/.... This time around I've decided to share my full Emacs file so that hopefully all that is required is installing YouCompleteMeDaemon (see the post) and starting Emacs. Please feel free to post any questions, I'll do my best to reply more quickly!
Cheers,
Nils
Hi,
Nice guide! Could you give any hints to where the breaking point of between choosing rtags versus company-irony? Number of code lines? templates? macros? something else?
Thanx!
Hi snow_abstraction,
Thank you for reading and for the comment! Unfortunately I can't say too much about where choosing rtags vs. irony is better. I've only used the implementation on small code bases, under 15,000 lines, or larger ones that are over 300,000. After more use I ultimately concluded that disabling semantic completion is best. The downside to RTags seems to be regenerating them, but this is not a huge issue. To be honest, I've actually ended up switching to using CLion (https://www.jetbrains.com/c.... The code completion is very fast, more accurate, and general does not provide irrelevant results. I've been able to get all my Emacs keybindings configured in CLion, so I can easily switch between them. The major downside with CLion is that I believe it currently only supports CMake build systems. I still use the Emacs setup for "toy" projects, so anything under 15,000 lines. With regards to filling in template parameters, this seems to be a difficult thing to do for all IDEs I've tried. Currently I'm writing C++ that's very template metaprogramming heavy and the code completion and static analysis is very poor, both in CLion and Emacs. Macros, however, seem to work fine in both, though I have only done limited Boost.Preprocessor metaprogramming. Hope that helps and thanks again for reading!
Best,
Nils
Interesting! That does help. Thanks.
Hi again,
After a using CLion for nearly a year I was not really happy with it. I missed Emacs, so I went back and completely redid the Emacs configuration. I've shared the updated results http://nilsdeppe.com/posts/....
Cheers!
thanks for this great guide!. I followed the steps and installed the required packages but i have a problem. although the code compiles successfully, there some semantic issues in the code which i cannot identify the reason for this to happen. attached snapshot of the problem. https://uploads.disquscdn.c...