131 points · by amatheus · 13y ago · 132 comments
I currently use eclipse for my embedded C++ project, and QT creator for QT apps (QT is wonderful!), but intellij for pretty much everything else. Looking forward to this.
Do you also tell people that they shouldn't use flex/lex/bison/yacc/antlr/etc.? Why are those code generators/DSLs acceptable but the moc is not? It's not as if the Qt authors added it because they don't understand C++, they added it because it solves a vexing problem in C++ GUI design.
It works pretty well for me. Even sublime text would do the job since it has all of those features too.
What do IDEs have over Vim in terms of features that I may be missing out on? For java, I would definitely use IntelliJ because of the debugging features alone but I think it's overkill for something like C/C++/Python
What about instantly knowing who calls that method or uses that class or that variable, with much more flexibility than just grepping through the code?
Those are the features I use the most in any IDE.
I think IDEs hurt innovation in development tools more than almost anything else. They are like crack for your workflow - easy to get started with, but once you're on them you're stuck. Plugging in better tools into existing IDE is a big PIA if possible at all, and rewriting the whole IDE is a huge undertaking for any company who wants to make your life better.
Standalone utilities generally have poorer UI and require more effort to find and run.
Using vim, emacs and similar always leaves a taste of doing a time travel to the early days of UNIX using text terminals.
Yes. And it has been done. Over and over, each approach crappier than the next.
I'm using Eclipse/CDT; it's really shitty, but sadly still more usable than Vim for large (-ish) projects.
As for finding what calling methods there are, as other have stated, you can use ctags, or go full throttle with Cscope - http://cscope.sourceforge.net/ it will do textual searches along with displaying all callers for a method across all the files you tell it to search (in setup).
With the vim gui and a cscope backend, I'm pretty sure vim is just as much an IDE as any of the other editors. It just happens to work fine in a terminal, too.
<guy never having run more than a mile> 'Yeah I'm pretty sure that these 7.95$ Walmart sneakers are just fine for running the NY marathon, why would I need those Nike's or Asics?'
It also has ctags support so you can navigate your code, go to a method/variable/class name and instantly find out where it was defined and such.
Not sure if you're trolling, but how much C++ do you write? If you have to ask what the difference is between VS and Vim, and are suggesting that writing C++ is more like Python than Java, you haven't used C++ and/or VS much.
(context: I have 10+ years of experience with VS and 15+ with Vim, which is my everyday editor for everything except non-trivial C++ code)
I personally use RubyMine, and while I don't use the debugging a whole lot, it comes in handy with some really confusing issues. Other than that, it is just a fancy text editor that I have become used to for Ruby work.
Even the build system is quite simple...
For Java, you really can't get decent code checking with vim unless you use a the eclim plugin and that just feels like a hack.
Further more the skills feel more real, I can apply my usage of vim and how the tool chain works to other languages.
Not having used AppCode I don't know how good the support is for C++ already. I wonder if they will be using clang/llvm for static analysis? Though I don't know much about that area, I've noticed that all C++ IDEs that I've tried (including MSVC++) are much poorer than Java IDEs in that aspect.
From the page:
"The IDE will be integrated with Clang Analyzer, so that more than 2000 code inspections and error diagnostics results from Clang compiler would be shown right in the editor. Of course, you also would be able to review them in a bulk mode"
The non-GUI part of the framework is a quite decent as well.
> I'm using IntelliJ IDEA on Linux since version 4 or so (we're now at version 12).
>
And I agree with you but...>
The trick is to use a pixel perfect font with no anti-aliasing at all and to set the correct vertical spacing between lines and then IntelliJ is just going to look fine (for a Java app).*> So first you go download a real font (a font made especially for programming, like the Proggy fonts which you can get at proggyfonts) (I take the .ttf version)
> You relaunch IntelliJ and then go to:
> Settings / IDE Settings / Appearance / Editor / Colors & Fonts / Font and then you set your pixel perfect font, say :
>
ProggySquareTT (Size: 16, Line spacing: 1.3)*> (oh and btw IntelliJ is so stupid that if you have "Show only monospaced fonts" checked it won't understand that Proggy is monospaced and hence not show it into your fonts choice list)
> I'm 40 years old and still have 10/10 eye vision, which I attribute to two things: avoid dark characters on light background scheme anytime it's possible and never ever using anti-aliased fonts (which are blurry)
> "Pixel perfect" is the way to go here. And anyway anti-aliased fonts under Linux are so fugly compared to OS X / Windows that you're really not missing much by going pixel perfect.
> Regarding the other IntelliJ IDEA fonts (the ones which are not the editor / console), I'm stealing a Tahoma.ttf from Windows and settings everything to be Tahoma.
> Same for my Emacs but for whatever reason under Emacs I'm using Terminus and not Proggy at the moment ; )
> Now of course it's really sad that the only "ok" desktop UI ever made with Swing is the one made by JetBrains: it took people who wrote the fscking most advanced Java IDE to come up with a reasonably looking Java Swing app : (
> The Eclipse guys didn't even bother and created their own UI (SWT) which kinda speaks volume about the nameless mediocrity that Swing is : (
Just a thought.
http://www.sublimetext.com/blog/articles/sublime-text-2-0-re...
In short, they used the native libraries on Mac OS X.
IntelliJ was almost perfect for Java (last used it 3 years ago), other than the ridiculous memory usage and the constant freezing which I'm pretty sure the JVM's GC was responsible for.
I've been using Qt Creator for C++ code for the past 3 years, and it's so much faster and non-laggy it's lovely - even when having some serious things missing (multiple monitor support).
BTW: Comparing it to Qt creator is very unfair, because Qt creator does not have half of the features included in IntelliJ. E.g. refactoring / inspections / full type-aware error highlighting (not just syntax checking).
There used to be a blog series explaining developers how to take advantage of Swing to make nice UIs. The problem is that most don't care and use whatever is the default.
Love jetbrains products. Best $200 i ever spent on Ultimate
I can't follow the deletionists' logic. I hope nothing else is going on -- like a competitor trying to remove information about them.
Kotlin's removal in particular is strange, since several other JVM languages persists at Wikipedia, some of them much less well known than Kotlin. Still there are: Gosu, Ceylon, Fantom, Ioke, Seph, Groovy, Boo, Nashorn, Frink, Pizza, Pnuts, X10, Xtend, etc.
Very strange.
It's certainly better known than any of those other languages you mentioned. In fact, the two greatest innovators on the Groovy language, James Strachan (original creator of Groovy), and Alex Tkachman (original creator of Groovy's static mode), were "encouraged" to move on from Groovy by its present leadership, and are both now contributors to Kotlin.
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.
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).
Visual Studio works great on cross platform code bases. It is so much better than Eclipse, but I'll stick with vim :)
Contrary to many in FOSS think, all C and C++ compiler vendors have language extensions and gcc is not immune to this.
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.
You're right. We don't need more. Let's just stop trying to make things better.
Wakey, wakey. JetBrains is investing time and money (or is that the same thing, anyway?) to develop a new C++ IDE, a market (though I don't like that word) where nothing new has sprung up in a while. That's __good__ news, what's the matter with you? Can it harm you?
IntelliJ incorporates everything found in all the other IDEs like RubyMine and PyCharm but doesn't include the additional stuff found in AppCode.
Hi from JetBrains,
This is a short but important note about the C++ IDE we revealed yesterday: Yes, it was an April Fools' joke, but the IDE is actually real.
Thanks for believing and subscribing to the list. As soon as we have something ready, you'll be the first to know and try it out. Stay tuned!
Oh, and if you use a Mac, you are welcome to try C/C++ in AppCode and let us know what you think.
Develop with pleasure! The JetBrains Team www.jetbrains.com
When dealing with C/C++ or ObjectiveC I expect something that's very light and quick to load - not something that feels this bloated!
BTW: measuring memory usage on a Hello world project is pointless. You can't extrapolate this value to memory usage on large projects. Most of this memory is just code of the IDE and plugins, which does not depend on the project size. I work on some really huge projects in IntelliJ Idea, sometimes 3 or more at the same time and it never needed more than 512 MB of heap, which is pretty impressive result, considering how much it actually does (all the inspections / type checking / background compilation / autocomplete come at some price in memory usage; most of the C++ editors you mentioned don't support them to such extent, or sometimes at all).
I take it that you haven't tried coding on Visual Studio? Just because you have the memory, it doesn't mean that you should be using as much memory as you can.
> I work on some really huge projects in IntelliJ Idea, sometimes 3 or more at the same time and it never needed more than 512 MB of heap
That's because that amount is set as the maximum heap size. If any more memory is required, the disk swapping becomes heavier and heavier. Have a look at your idea.vmoptions file to see what the maximum allowable usage is set for your install.
> most of the C++ editors you mentioned don't support them to such extent, or sometimes at all
They don't support it for C or C++ due to inherent limitations in the compilation of the language - not because they are unable to do so! Visual Studio does all of what you've mentioned for languages which compile to an IL code (i.e those that rely on the .NET framework) with great ease.
> If any more memory is required, the disk swapping becomes heavier and heavier.
If any more memory would be required it would not swap, but OOM. Again - if you ever need to swap, then you must be coding on a netbook...
> Visual Studio does all of what you've mentioned for languages
Nope. Not to such extent as IntelliJ is doing it. You need Resharper for all of that. From JetBrains. And VS can easily grab 500 MB of RAM too, especially after a week of work without restarting it (memory fragmentation, maybe some leaks).
Great feature, but it's Doxygen with a 'y'.
That was a bit harsh. It definitely isn't VS, but there is code navigation, auto completion, debugging etc.
intellij idea used to have a third-party c/c++ plugin, which was ok, but it stopped being maintained a while back. this was frustrating because otherwise you can develop in intellij in most popular languages. so c/c++ support had been a strange omission for some time - see this support issue, for example - http://youtrack.jetbrains.com/issue/IDEA-86304
(i haven't seen anything saying that this will be an intellij idea plugin - but afaik that's how all their other products work).
What I miss in Netbeans is an integrated static analyzer like Eclipse's CDT (Codan).