8 ms·
CLion – Brand New IDE for C and C++ Developers
- Aardwolf 12y agoAwesome. I wish it were an IntelliJ plugin instead, or at least would give IntelliJ the ability to syntax-highlight C++. IntelliJ can syntax-highlight a gazillian exotic languages, but not C/C++... Having two separate programs is annoying if you have projects with many different programming languages.
- pritambaral 12y agoWhen the EAP is done and CLion is declared stable, it will indeed turn up as an IntelliJ plugin
- sspiff 12y agoJetBrains has said that it might show turn up as an IntelliJ plugin for Ultimate subscribers, but they're focusing on making it a great stand-alone product, and they're not promising any plugin version. Similarly, AppCode is not available as a plugin.
- humanrebar 12y agoTo be fair, you need a good portion of a compiler to syntax highlight C and C++ accurately due to the preprocessor, overloading, operator overloading, and a few other features. Of course the solution, perhaps, would be to use a clang-based tool to provide syntax highlighting rules. I would hope JetBrains does something like this and contributes back to the clang project so everyone else can benefit from the bugfixes and new features they require to get their product to a good place.
- acron0 12y agohttps://news.ycombinator.com/item?id=8283992 https://news.ycombinator.com/item?id=8283992
- robomartin 12y agoJetBrains has great products. Support could use some improvement but overall I am a happy customer. I use PyCharm on a daily basis and love it. I will certainly keep CLion in mind.
- pmck91 12y agoI really like them and the fact they let you have the eap for free is amazing. Im broke I dont have $200 most of the time to buy an IDE
- rgbrenner 12y agoI have to disagree. I don't see what's so amazing.. The EAP is limited to 60 days.. so you're either going to pay the $X00.. or move on to something else. If you can't buy it, I don't see why you would want to learn it just to abandon it 2 months from now.
- jokoon 12y agoI have a small game project that uses SFML, box2d and other small libraries. I already managed to make my project work on both MSVC 2012 and Xcode5. All I have to do is to commit code, add source files I would have added in the other project, and I'm good to do. It's pretty smooth except from weird stdafx differences, and the fact MSVC2012 doesn't support variadic templates yet. I'm really wondering if I would really be able benefit from clion. I mean obviously I would have to recompile SFML as SFML does not provide binaries for clion ? That's a first problem I guess. I also remember giving up on compiling Ogre3D on xcode, there were many dependencies, versions of the engine (repo or stable), it was very annoying and I'm not into tweaking Cmake.txt files. I guess jetbrains would not solve this. I have not given a try to this IDE, but I'm skeptic. C++ is designed as a cross platform languages, but the fact build systems differ is a huge pain, and an IDE won't solve this unless library maintainer provide solid cmake scripts.
- spaceoff 12y agoTo clarify one thing: it's not like VS with its own proprietary compiler and build system. You choose what c, c++ compiler (eg gcc, g++), debugger (gdb), copy of cmake etc to use. Projects are built from a CMakeLists.txt you maintain. Anyone with cmake (and know how to use it) can build your source. Haven't messed with it much so I don't know yet what ways it DOES lock you in. There's probably something.. (other than needing to use cmake) edit: By all that I mean, you can use the versions of SFML compiled for whatever compiler you plan to use it with.
- jokoon 12y agoI don't really care about the compiler, really. MSVC compiler has many C++11 features so it's fine, as long as things compile. If I have to build SFML from source because SFML doesn't provide binaries for clion, and if it's a pain in the ass because it doesn't work out of the box, it's not a lock in, but it makes thing harder for clion. I just hate to deal with library cross-platform gimmicks, not to mention CMake scripts. I want to write code, not learn some build scripting language that is just some hack and might go extinct some day. > Anyone with cmake (and know how to use it) can build your source. Usually I can give a project file, eventually I even give a zip with the library binaries, and it's fine. Once you use a binary library the heavy lifting is done. What I'm worried about is that having a cross-platform IDE doesn't nullify the binary incompatibility between binaries. I guess clion might be useful for very large C++ application projects who want to work in cross-platorm, but not libraries. Games are usually not very large applications, they just use some inputs and opengl.
- cledet 12y agoThis was already posted on Monday.
- jenscow 12y agoI can't wait for their C# IDE...
- virtualSatai 12y agoThey already have ReSharper, that combined with Visual Studio is pretty good.
- jenscow 12y agoReSharper is great, but it's a shame that it requires VS to work.
- bithush 12y agoIt is a shame it only supports MinGW and not MinGW-W64 at the moment. I hope they settle on Clang/LLVM for the main tool chain and include a complete version of Clang for Windows (when the Clang standard library is done).
- sigzero 12y agoI don't think they will "settle" for it. I think they will just make it an option to the developer to use just like on OSX and Linux.
- andystanton 12y agoAside from the fact that JetBrains make incredible IDEs, basing it around CMake is a great idea as it means project files that aren't tied to a specific platform or IDE. You can develop a project in CLion just as easily as you could with vim and the build instructions would be the same. I very much hope this is the future and the tooling around CMake is improved too. In my perfect world, this would include dependency management - even if that just meant a reference to versioned sources that you could easily include in a project file and the tooling was responsible for pulling them down and building them.
- hobarrera 12y agoThe big downside about JetBrains' IDEs is that they work and look absolutely awful on OpenJDK on linux, and there's no way around it.
- fotcorn 12y agoThis is a thing of the past, see pycharm 3.4 Pro: http://i.imgur.com/HSUKxDo.png http://i.imgur.com/HSUKxDo.png Running on Ubuntu 12.04 LTS with this JVM: $ java -version java version "1.7.0_55" OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1~0.12.04.2) OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
- dubcanada 12y agoLooks the exact same as Windows with Oracle JDK.
- Redoubts 12y agoThis is not a thing of the past. Font rendering is still significantly different between java and non-java apps, and in my opinion appears distinctly wrong in java: http://i.imgur.com/tpsl4BH.png http://i.imgur.com/tpsl4BH.png Java on left vs terminal and native editor.
- Igglyboo 12y agoHonestly I couldn't tell the difference visually, but it was much slower using OpenJDK as opposed to Oracle on Ubuntu 14.04
- sedeki 12y agoIs it possible to load Makefiles?
- maguirre 12y agoNot yet. It appears that new features will be added according to their popularity[1]. [1] "We will support other project models in future. Priority depends on the votes in tracker: http://youtrack.jetbrains.com/issue/CPP-274 http://youtrack.jetbrains.com/issue/CPP-274 "
- joelthelion 12y agoThis looks neat but frankly these days with vim + YouCompleteMe I have everything I need.
- hoggle 12y agoI'd been happily developing with VIM for more than five years but last year I tried RubyMine and once I let go of my perfectionistic/unixy point-of-view things got a lot easier tbh. If I were still doing systems programming I'd be very tempted to try this new IDE. Be warned though, the JetBrains products are usually not very pleasant to look at (alas there usually is support for themes).
- untitledwiz 12y agoInteresting ... I find the IntelliJ interface to be much more visually appealing than Eclipse's, especially when I use the dark theme.
- Igglyboo 12y agoDepends on your OS IMO. I had been using IntelliJ on Ubuntu 14.04 and the font rendering was awful, recently got a MacBook Pro and it's gorgeous.
- pmck91 12y agoall depends on Oracle JDK vs Open JDK on linux
- sharms 12y agoThis is also available on Linux and they have a few nice videos which show the UI etc: https://www.youtube.com/watch?v=MvQeK9a0a24 https://www.youtube.com/watch?v=MvQeK9a0a24
- kazinator 12y agoGaping dupe; prior post had lots of attention (upvotes and discussion) less than two days before this one. https://news.ycombinator.com/item?id=8283992 https://news.ycombinator.com/item?id=8283992 HN search function for keyword "clion": https://hn.algolia.com/?q=clion https://hn.algolia.com/?q=clion
- bkeroack 12y agoLet me preface this by saying I'm a huge JetBrains fan. My one issue with these essentially single-purpose IDEs is that they are intentionally crippled for other languages. I find it very annoying, for example, that I have to edit Vagrantfiles as plain text because shipping Ruby support in another IDE product is verboten. In contrast, I can fire up SublimeText and have support for every language in existence, including config syntaxes and scripts. Their products are typically very good though, other than that. I've grown completely dependent on PyCharm.
- humanrebar 12y agoIt's a big ask to want integrated debugging, project management, advanced semantic search (go to implementation in child class), and semantic manipulation (extract these methods into a new class) for all the languages you happen to want. Perhaps it's possible, but it's a huge project. It's at least an order of magnitude easier to support viewing, editing, syntax highlighting, and textual search across arbitrarily many languages, which is why there are many tools that support that feature set, including almost all major code editors. I don't know how JetBrains architects their IDEs, but I suspect they have some in-memory database that populated with indexed project metadata. To add multiple metadata indices (for different languages) with cross indexing between them would be an entirely different data model. Again, it would be much more work to develop, test, and maintain.
- praseodym 12y agoIn IntelliJ IDEA Ultimate, you can install all language plugins for no additional cost. However, project initialisation and management gets a lot harder with several language plugins enabled. The language-specific IDE from JetBrains will still be easier to use, but for a price.
- billylindeman 12y agoI really hope they add the ability to customize your toolchain in the later releases. I'd absolutely LOVE to ditch eclipse for CLion for use with arm-none-eabi and openocd/gdb :D This would shake the embedded world. I absolutely love JetBrains' IDE's for every other language.
- shmerl 12y agoIs it open source?
- hugofirth 12y agoIs there any word as to whether the functionality we see here will be coming to IDEA as a plugin (as is the case with other language specific IDEs Jetbrains produce)? If so and the word is positive, is there any indication of the kind of delay we might expect. I already pay for IDEA and love it, much as I want what CLion offers, I couldn't personally justify another paid license on top (with the increased load in yearly renewals that implies).
- u124556 12y agoI don't have a link right now, but I read somewhere on their bugtracker that they were going to do it after hitting 1.0.