4 ms·
I'm confused by this. If you had a particularly good IDE in a particular OS, why wouldn't you use a VM and run that OS for the purpose of the IDE? Especially
by niggler 14y ago
I'm confused by this. If you had a particularly good IDE in a particular OS, why wouldn't you use a VM and run that OS for the purpose of the IDE? Especially if its on Linux.
- norswap 14y agoWell, the only good C++ IDE (according to many people) is Visual Studio, which is tuned for Microsoft-flavoured C++ (which should follow standard, but like always, some slight difference with g++ I suppose). Also not being able to run the code on the platform where you code is incredibly annoying.
- niggler 14y agoI don't see where it said they would support multiple compilers. It does say they are integrating with Clang analyzer, but no indication of native support for MSVC idiosyncracies
- thwest 14y agoBoth MSVC and g++ have some C++ language extensions enabled by default. Examples include msvc allowing you to drop 'typename' where the compiler can deduce that a token is actually a type, and g++ allowing variable length arrays. Visual Studio works great on cross platform code bases. It is so much better than Eclipse, but I'll stick with vim :)
- alexkcd 14y agoI recommend checking out Qt Creator. It's cross platform, has code completion, live syntax checking, supports regular Makefiles, C++11, and much more. Plus, if you're looking to build a cross platform GUI app, Qt is a great toolkit, and Qt Creator (as the name suggests) supports drag&drop UI building, QML etc.
- alok-g 14y agoLast time I tried Qt Creator, it was very slow as compared to Visual Studio. I ended up practically giving up on it entirely. Please someone tell me I am wrong about this. I liked the interface for Qt Creator very much and would prefer it as such.
- papaf 14y agoI use Qt Creator and Visual Studio 2010 on the same medium size code base and Qt Creator has a much faster UI. I find that compilation in Qt Creator is possibly slower if you are on windows (using mingw) but on Linux its around 10 times faster (through the use of ccache and make -g4).
- andrewf 14y agoDepends how long ago "last time" was. I first used Qt Creator in ~2009, it's gotten a lot better over time.
- fauigerzigerk 14y agoIt does not fully support C++11. For instance, I still get squiggly underlines for brace initializers in 2.6.2. Renaming is very unreliable. Code navigation doesn't recognize the standard library that's actually used according to the .pro file. Every compile gives me spurious warnings about missing directories on the Mac. And the documentation is awful. I still haven't figured out how to make precompiled headers work with clang (but that may be my fault).
- andrewf 14y agoCan you suggest something better on Mac OS X?
- fauigerzigerk 14y agoUnfortunately I can't. That's why I welcome the JetBrains announcement. Xcode doesn't even attempt to do the most basic things like renaming and code completion is entirely broken. Eclipse was too slow to be usable last time I checked and code completion didn't work properly either. There is a relatively new clang based vim plugin that I haven't tried yet. Using clang to parse C++ into an AST is the right approach, so it sounds promising.
- andrewf 14y agoThe Creator folks have had a version with clang replacing their own C++ code model for about 18 months ago. Apparently it's too slow for them to merge in. :/
- panzerboy 14y agoAppCode. It's what this new IDE is going to be based on.
- Derbasti 14y agofrankly, I think Visual Studio is a sub-par IDE for C++. Code highlighting is pretty bare bones. Debugging often misses stack frames and it regularly loses access to local variables. There is practically no refactoring support. The compiler has a weird non-standard feature set. Auto completion as usually not context aware. "Find usage" usually does not find every reference. I could go on... When people rave about Visual Studio, they are mostly talking about C# development. And even there, they often talk about Resharper. That said, install Visual Assist X and Visual Studio becomes quite a decent C++ IDE. That does not fix debugging or the compiler of course, but refactoring, highlighting, code navigation, contextual cues and auto completion are mightily improved.
- pjmlp 14y agog++ is no standard. ANSI and ISO are. Contrary to many in FOSS think, all C and C++ compiler vendors have language extensions and gcc is not immune to this.