News for hackers. Stuff that matters.
Re:Yavide, a Modern C/C++ IDE by en4bz on Saturday January 02, 2016 @01:18AM (#10825313)
This is just vim with NerdTree, YouCompleteMe, and a few other plugin, presumably with some extra configuration to make the integration better. It lacks refactoring tools which I think are crucial for an IDE to have otherwise it's just a supped up editor.

That being said very few C++ IDE's have advanced refactoring due to the scourge that is the C Preprocessor. This also why most people, like myself, stick with Vim for C/C++ development.

Re:Yavide, a Modern C/C++ IDE by tomjakubowski on Saturday January 02, 2016 @02:29AM (#10825443)
> That being said very few C++ IDE's have advanced refactoring due to the scourge that is the C Preprocessor. This also why most people, like myself, stick with Vim for C/C++ development.

C and C++ exploration and refactoring tools like rtags that hook directly into a compiler, and integrate with your editor of choice, have never failed me. I haven't put them up against too much in the way of preprocessor macro hell, but I've got to think they've got the best shot at doing "the right thing" in the face of macros.

Just as a random example, see this https://github.com/Andersbakken/rtags/issues/281

Re:Yavide, a Modern C/C++ IDE by mc_hammer on Saturday January 02, 2016 @03:43AM (#10825562)
i was considering writing an IDE, could you please explain what refactoring tools are necessary/lacking from any ides that are not Visual studio
Re:Yavide, a Modern C/C++ IDE by electrum on Saturday January 02, 2016 @06:30AM (#10825885)
Take a look at the refactorings available in CLion: https://www.jetbrains.com/clion/features/code-generation-and...

Refactoring tools are incredibly powerful. For example, renaming a class method "foo". You can rename it yourself with a text editor, but now you have to manually update all the callers. You could try using search/replace, but what if several unrelated classes have a "foo" method? How do you only change the correct method calls? The IDE refactoring tool does this automatically.

Re:Yavide, a Modern C/C++ IDE by iheartmemcache on Saturday January 02, 2016 @03:52AM (#10825584)
Visual Studio with VAX (http://www.wholetomato.com/features/default.asp) is more than sufficient. The general objection to it historically has been "it's not free", but Visual Studio Code is Electron.io/node based, free, works on 3 of the major platforms, MSFT is in the process of enabling first-party support for using LLVM (I'm not sure if this is for the "Code" version of the traditional executable base --which is also available for free in the "Express" mind you) so that excuse isn't really valid anymore. If you're writing C# and not C++, then Resharper from IntelliJ is going to do you better probably. Speaking of which, JetBrain's CLion is way better than VIM w/r/t refactoring, intellisense, auto-complete, etc, not too surprising really since that's what they're famous for. Refactoring C in general is really trivial compared to the template messes I'd imagine a compiler would struggle with though. I'm not sure if they have a community edition but they offer 30 day trials IIRC and probably student discounts if you're not yet employed.
Re:Yavide, a Modern C/C++ IDE by oselhn on Saturday January 02, 2016 @04:14AM (#10825636)
Refactoring features presented on their web are the same as features in eclipse CDT which is free and runs almost everywhere. Visual studio code is just configurable editor not IDE. In my opinion atom or sublime are better choice.
Re:Yavide, a Modern C/C++ IDE by oselhn on Saturday January 02, 2016 @04:26AM (#10825659)
I use mostly eclipse, so maybe other IDEs already have it.

* Extract superclass/interface which will work on the whole codebase * Support for NVI - rename, change parameters, convert to virtual interface and back * code duplication detection (maybe exists but I never found sufficient one)

Re:Yavide, a Modern C/C++ IDE by GFK_of_xmaspast on Saturday January 02, 2016 @03:34AM (#10825543)
> That being said very few C++ IDE's have advanced refactoring due to the scourge that is the C Preprocessor

The political goals of the gcc people didn't exactly help here.

Re:Yavide, a Modern C/C++ IDE by int0x80 on Saturday January 02, 2016 @12:49PM (#10826948)
It should not be very hard to fork gcc and make a quick hack that dumps the AST. You don't need the latest optimizations or AST versions, just a correct one, so there is no need to update it a lot (sans fixing bugs you created with the hack). You wont see at this point bogus ASTs generated by gcc.
Re:Yavide, a Modern C/C++ IDE by Too on Saturday January 02, 2016 @03:42AM (#10825559)
Please elaborate.
Re:Yavide, a Modern C/C++ IDE by jhbadger on Saturday January 02, 2016 @04:35AM (#10825676)
I think what is being referred to Richard Stallman's rejection of AST-dumping support in gcc (which some have requested for IDE support of refactoring, etc.) on the grounds that such support could theoretically also aid proprietary tools that could avoid the GPL by just taking the AST output.