Live data from Hacker News

Poll: Android developers, what IDE do you use?

news.ycombinator.com

31–40 of 81 posts

Re: Poll: Android developers, what IDE do you use?

#31
post #8

As someone who is interested in Android, but is currently being scared off by Eclipse, does anyone know any good resources for developing for Android in something that isn't $BLOATED_JAVA_IDE? I tried vim, but the command-line builds were horribly slow, and almost all documentation and tutorials I found expected me to be using Eclipse.

What's wrong with the popularity of Eclipse? Why is that bad?

Sorry, that wasn't supposed to be there. I'm scared by Eclipse itself, not it's popularity. ;P

Re: Poll: Android developers, what IDE do you use?

#32
post #8

As someone who is interested in Android, but is currently being scared off by Eclipse, does anyone know any good resources for developing for Android in something that isn't $BLOATED_JAVA_IDE? I tried vim, but the command-line builds were horribly slow, and almost all documentation and tutorials I found expected me to be using Eclipse.

I hadn't used a proper IDE in a decade or so and Eclipse was perfectly acceptable. I really would recommend sticking with it for a while and then moving on to vim once you've got some experience in the process.

well if you had used a proper IDE in the last decade you'd realize that Eclipse is not perfectly acceptable.

Re: Poll: Android developers, what IDE do you use?

#34
post #30

Earlier quoted context omitted.

Yes command-line build/deploy is horrible, the way to use vim is: - Write code in VIM - Build everything on Eclipse. Basically keep eclipse open only to build, and deploy to the smartphone. Everything else, do it in vim.

Why is command line deployment horrible? Write some scripts, copy stuff with ssh, etc... I continue to be horrified at the refusal of modern app developers to write code to help them write code.

Someone already did that for us, it's called an IDE. I continue to be horrified by engineering re-write code that already exists.

Re: Poll: Android developers, what IDE do you use?

#35

Same as div, used IntelliJ on all projects. I used to use Eclipse before, but found the most frustrating thing about Eclipse is how often you'll encounter plug-in conflicts. (One plug-in doesn't want to work with another plug-in, but you just happen to want use both tools)

I switched to IntelliJ from Eclipse. The biggest frustration for me was waiting for auto-complete to populate on Eclipse, blocking anything else I wanted to do.

After using IntelliJ for a while, there i no going back. It's more responsive all round.

Re: Poll: Android developers, what IDE do you use?

#36
post #8

As someone who is interested in Android, but is currently being scared off by Eclipse, does anyone know any good resources for developing for Android in something that isn't $BLOATED_JAVA_IDE? I tried vim, but the command-line builds were horribly slow, and almost all documentation and tutorials I found expected me to be using Eclipse.

Using a popular internet meme, "I don't always code in Java but when I do, I prefer IntelliJ".

Seriously, give IntelliJ IDEA a try. Personally I think it's a lot nicer and snappier than Eclipse. It has a free edition. You might still decide that you don't like it but I think it's definitely worth a try. Also, the last time I checked (which was years ago, admittedly) it worked with Android perfectly.

Re: Poll: Android developers, what IDE do you use?

#37
post #15

Eclipse is fine once you have the memory configured right and you turn off all the dumb validations and unnecessary checking.

And once you configure your own keyboard shortcuts and commit them to muscle memory. I have set

  ctrl+] - select to the end of line
  ctrl+[ - select to beginning of line
  ctrl+d - cut current line
  ctrl+k - duplicate current line below
  ctrl+; - jump to beginning of line
  ctrl+' - jump to end of line
  ctrl+tab - switch perspective between debug and editor [1]
  ctrl+i - focus on console [2]
  ctrl+f - toggle find/replace bar 
About the last shortcut; I highly recommend you get a modern find feature and not the window popup eclipse ships with - http://sandipchitale.blogspot.com/2011/04/eclipse-findreplac... -

[1] For me this is pydev, for you could be the Android SDK ide.

[2] I have a pydev python repl running in eclipse for simple checks. Using ctrl+i to focus on this console is really nice.

Bonus if you customize your theme. Mine is a white text on black.

Re: Poll: Android developers, what IDE do you use?

#39
Emacs for me.

Here's my setup: Emacs, DDMS + JSwat, and ant to build.

I have emacs and a terminal open at all times. To build I switch over to the terminal and use ant. Sometimes I'll write a shell script to build+install+run on a phone.

For directory navigation: nav - http://code.google.com/p/emacs-nav/

For code completion: http://www.emacswiki.org/emacs/JavaCompletion

Building on the command line is simple. Type ant release or ant debug. Or ant install to build + install on phone.

Post reply on HN