- 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.
- 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.
Every one of these is a valuable optimization for some workflow somewhere. All of them reduce the compile/test cycle by seconds or minutes, speeding development. NONE of them are done by any IDE I'm aware of.
Seriously: write code to help you write code. If you aren't doing this, you probably aren't writing good code. And if you gave that answer in an interview, I for one wouldn't hire you.
That's why I'm always wondering why anyone would so much want to waste time with typing Java on VIM (even though I DO use Vim for other programming tasks) instead of just using an IDE specifically customized to make such development faster and easier.
I use Maven for all my Android builds.
- adb clean (because chasing syntax errors that don't exist is a headache)
- run my (shockingly limited) test suite
- copy the .apk to a shared Dropbox directory that I use to let a few people help me test nightly builds
Without the tests the full build takes a few seconds (on MBP from March 2011).