Disclaimer: This is the naive question of the day for Java and IntelliJ's Gurus out there!
First of all, my point is not to start a yet but revisited IDEs or editors' war. As a programmer, sometimes I would just like to have some fun and I'm curious on this one, period. Ready?
Here we are, I use GNU/Emacs everyday for everything and I'm perfectly happy with that. As a Java developer, I'm well aware of IDEs' code completion features. Some projects had made some attempts to spread this kind of completion to Vim or Emacs: see the eclim project, the derived emacs-eclim project or, with the exact opposite approach: the recent (ATTOW) ideavim plugin. That being said, I'm now wondering if the eclim approach could be applied to the IntelliJ / Emacs couple leveraging or not something like yasnippet and/or auto-complete. The first issue is that, at first glance, it doesn't seem possible to run IntelliJ as a headless process as we can with Eclipse.
As a consequence, I think that the first step is to get the code completion component of IntelliJ running headless. I've browsed the completion code but I'm not proficient enough in Java to figure out if this is possible.
Let me know your thoughts.
Update from comments:
From the Tom's comment, I agree that the main issue is not to run a headless IntelliJ but rather to isolate the code completion component and develop a code completion server plugin. Nevertheless, it would be nice to not have a full IntelliJ's UI running. I'll try to see what can be done to link Emacs and a IntelliJ plugin.
Interesting (... or not) references: