Hacker News Comments on
CppCon 2015: Atila Neves "Emacs as a C++ IDE"
CppCon
·
Youtube
·
5
HN points
·
2
HN comments
- This course is unranked · view top recommended courses
Hacker News Stories and Comments
All the comments and stories posted to Hacker News that reference this video.rtags is also using libclang for parsing, fixits, etc.Here is a demo of rtags can do with a proper emacs setup: CppCon 2015: Atila Neves "Emacs as a C++ IDE" https://youtu.be/5FQwQ0QWBTU
⬐ jchwedit: Comment above has updated with more information, making this reply redundant. :)
I think you'll enjoy this talk: CppCon 2015: Atila Neves "Emacs as a C++ IDE" - https://m.youtube.com/watch?v=5FQwQ0QWBTU
⬐ 25cfThe main feature that I miss from CLion is the ability to refactor. In CLion you can rename a class, and all of its usages, declarations, etc. will be renamed.The most useful thing CLion can do is change the signature of a function, and its corresponding implementation and header declarations will be changed. So, you can rename a parameter and its declaration and implementation will be renamed for you, or you can delete a parameter, or change the type of a parameter, and CLion will change all its usages/definitions/declarations for you. All of this effects across all files in your project, so if you're in a .cpp file and you change the function signature, its declaration in the corresponding .h file will change as well.
(I believe you can do all of this in Eclipse as well)
Sadly I have yet to see a vim/emacs configuration that gets anywhere near the level of Eclipse/CLion.
⬐ drewm1980⬐ fizixerAs a new IDE user, I was very excited about the language-aware "rename" refactoring ability. But I realized that the variables I rename are mostly badly chosen names in IDE code-generated boilerplate, i.e. names of widgets inserted into forms. When I'm writing new code in vim I just choose good names to begin with, so it's a bit of a wash for me.I hope there is room in my brain to stay good at vim despite using VS at work.
⬐ moonchrome>and all of its usages, declarations, etc. will be renamed.Along with header include statements in any file that referenced the class - so say I refactored class Foo in include/mylib/foo.hpp and it's included in src/mylib/foo.cpp as <mylib/foo.hpp> - CLion happily "refactors" that to #include "foo.hpp" - spent the same ammount of time fixing this stuff as I would manually renaming use cases...
Great talk.So he created cmake-ide for emacs. I'm wondering is there an equivalent for make projects.
EDIT 1: The github page [1] says "It automatically detects Ninja and Make builds and sets the compile command accordingly". I'm wondering if that means make is fully supported.
⬐ atilanevesOP and speaker here. AMA.