I've never really liked Eclipse and I normally code with Intellij IDEA, which, btw, has built-in support for Android development.
If you want to use AndEngine in Intellij IDEA, you first have to download the AndEngine source. So
git clone https://github.com/nicolasgramlich/AndEngine
Now create a new Android project in Intellij, call it whatever you want. Here's the important part:
go to Project Structure (CTRL + ALT + SHIFT + S or File -> Project Structure),
then go to Modules,
hit the green plus -> Import Module,
then select the AndEngine folder from where you downloaded it.
Hit OK, Next, Finish or whatever you may encounter in that particular dialog box, but don't close the Project Structure dialog yet!
Now you should have AndEngine in the Modules list in your dialog. Expand it (click the small arrow just before "AndEngine") and click the Android item that appeared. Make sure "Library Module" is ticked.
Now select the module of your project and in the Dependencies tab, hit the green plus on the far right. Select Module Dependency and from there, AndEngine. Hit OK.
On the left side, in Facets, make sure AndEngine is listed and (click it) "Library Module" is ticked.
Happy coding :)
PS: AndEngine has quite a few "extensions". If you want to run the AndEngine examples, you will need to repeat the steps above for all the dependencies.
LE: These steps also work for Rajawali, a great 3D OpenGL library for Android. :)