Sunday, March 17, 2013

Re: [android-developers] Re: Eclipse or Intellij.. what's the verdict?

Actually what I really want is code complete (and all the bells and whistles that go along with a proper editor).  Syntax highlighting actually works without any plugins but if you want any sort of code complete (et. al.) then it's going to require some sort of C++ interpreter.  Running the NDK build is fairly trivial (either via ANT or just command line configured as an external tool in Intellij).  I tried several times with the C++ plugin for Intellij but just kept getting all sorts of errors in the logs generated by the plugin and it just couldn't seem to recognize any header files.  I assume I did something wrong with the paths etc but all the errors were just too painful so I removed it.

Aside from that I've now been working in Intellij exclusively for the past few days and here's my (semi) informed opinion.  I still feel like eclipse is a better tool from a feature perspective.  The three main things I think eclipse has over intellij in this regard is:

1. Screen area.  The "perspectives" concept in eclipse wins hands down over the somewhat cramped "panel" approach of Intellij and although eclipse too has similar panels you can arrange them in whichever way you like in eclipse whereas intellij lacks some flexibility in this regard.

2. Code complete.  Some aspects of the code complete in Intellij are actually a lot better than eclipse, but there are a few irritating aspects in intellij like methods not having their parameters auto completed and the "organize imports" equivalent not dealing with classes you haven't imported yet.

3. Debugging.  The debugger in eclipse just seems better organized and more intuitive.  This could just be a familiarity thing though.

However, the fact that I have been using Intellij consistently for 3 days and have not had one single error (aside from some problems with the C++ plugin which is 3rd party) and the fact that it's SO much faster than eclipse has made the overall experience a breath of fresh air.  Startup/Shutdown time is much faster, debugging is approximately one million times faster (I'm talking debugging on an Android device here) and despite the slight shortfall when it comes to feature breadth there are a bunch of cool features in Intellij that are not in eclipse, so I guess on the whole they're probably about even.

Suffice to say I will not be going back to eclipse any time soon unless I absolutely have to.  Reminds me of the day I switched from PC to Mac.. another one of those "never go back" moments.


On Sun, Mar 17, 2013 at 12:48 AM, Martin Krischik <krischik@users.sourceforge.net> wrote:
Hi,


On Wednesday, March 13, 2013 11:59:42 PM UTC+1, Jason wrote:
I initially tried to get the C++ plugin to work for my NDK related stuff but just couldn't get the paths setup correctly (I assume) because none of my includes were resolving so I gave up. 

Again: the Android Maven Plugin might be the answer. Then all you need from the C++ plugin is syntax highlight.

Martin

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Android Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-developers/03O6rEVdXCY/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Ozzy's Odyssey!  A new game for Android

--
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment