5 ms·
Off topic. Could you recommend an ide to work with c++?
by techas 5y ago
Off topic.
Could you recommend an ide to work with c++?
- ibobev 5y agoMicrosoft Visual Studio for Windows and QtCreator for Linux.
- CornCobs 5y agoI find visual studio to be absolutely horrendous for C++. Refactoring doesn't work (even a simple rename symbol!) The errors aren't accurate, autocomplete seems to suggest every symbol from the stdlib before the class defined in the file itself and can't tell when it should suggest classes vs functions/variables. Oh and of course compile errors are absolutely useless but I suppose that's a C++ thing in general. The error panel shows the (last? First?) Error in a chain of errors, which is always something deep in library code. E.g. accidentally tried to copy a non-copyable object using unique_ptr? You can't find the offending callsite, it just points you to xmemory and at best the class being wrongly used.
- ncmncm 5y agoCompile errors will anyway be getting better as concept support gets built out.
- jll29 5y agoCLion from JetBrains and Microsoft Visual Code are the best commercial ones for Linux, NetBeans is a free (as in freedeom and open source) one (that also supports many other languages like Java and Python). What I don't recommend is Eclipse - it's complex and confusing for beginners (but a bit faster than some others).
- MetricExpansion 5y agoI didn’t think NetBeans supported C++ anymore?
- mdaniel 5y agoYeah, at least according to the repo it seems they now delegate to the ccls language server and just do syntax highlighting via the textmate plist grammars that are so commonly paired with language servers * https://github.com/apache/netbeans/tree/12.3/cpplite#cpplite https://github.com/apache/netbeans/tree/12.3/cpplite#cpplite * https://github.com/apache/netbeans/blob/12.3/cpplite/cpplite.editor/src/org/netbeans/modules/cpplite/editor/file/resources/cpp.tmLanguage.json https://github.com/apache/netbeans/blob/12.3/cpplite/cpplite...
- jcelerier 5y agoI use Qt Creator on every platform
- dwrodri 5y agoI can testify to JetBrains products, they're quite good. I haven't used CLion in a few years because I don't like depending on a dev tooling that costs money. I use VSCode because I hop between Python, Bash, Go, C, and C++. That being said, CLion definitely offers a much better debugging experience, even when VSCode has all the right plugins.
- whimsicalism 5y agoCLion, VSCode, Vim - in order of decreasing tooling.
- mattgreenrocks 5y agoCLion is quite good IME. Visual Studio, historically, has been excellent, but I haven’t used Windows full time in a decade.
- harry8 5y agovim with the YouCompleteMe plugin (which uses clang-complete) is pretty good. Contrary to a sibling post eclipse CDT is fine (especially with vim bindings). It depends what you want from your IDE maybe?
- mpreda 5y agoqt-creator is a nice open-source IDE: https://github.com/qt-creator/qt-creator https://github.com/qt-creator/qt-creator They offer binary releases, but it's also possible to compile from source without too much trouble. Written in C++, it's pretty snappy. Supports meson.