{"id":46,"date":"2012-08-31T19:35:00","date_gmt":"2012-08-31T19:35:00","guid":{"rendered":"https:\/\/www.root42.de\/blog\/?p=46"},"modified":"2012-08-31T19:35:00","modified_gmt":"2012-08-31T19:35:00","slug":"java-autocompletion-for-emacs","status":"publish","type":"post","link":"https:\/\/www.root42.de\/blog\/?p=46","title":{"rendered":"Java Autocompletion for Emacs"},"content":{"rendered":"<p>The past few weeks I have been using the great <a href=\"http:\/\/eclim.org\/\">eclim<\/a>, and the corresponding <a href=\"http:\/\/www.emacswiki.org\/emacs\/EmacsEclim\">emacs<\/a>&#8211;<a href=\"https:\/\/github.com\/senny\/emacs-eclim\">eclim<\/a> package. It allows you to use many of <a href=\"http:\/\/eclipse.org\/\">Eclipse&#8217;s<\/a> <a href=\"http:\/\/eclim.org\/features.html\">features<\/a> in your favourite editor. The <a href=\"https:\/\/github.com\/senny\/emacs-eclim\/blob\/master\/README.md#installation\">installation<\/a>&nbsp;of emacs-eclim is rather easy, and the one for eclim is even easier, since it comes with a simple clickety-click-installer.<\/p>\n<p>I use emacs-eclim for Java development, and it works rather well. I use the two functions <span style=\"font-family: Courier New, Courier, monospace;\">ac-complete-emacs-eclim<\/span> and <span style=\"font-family: Courier New, Courier, monospace;\">ac-complete-eclim-c-dot<\/span> for auto-completion, which is the most important aspect when using such heavily object oriented languages and when developing large projects. Also useful are the functions <span style=\"font-family: Courier New, Courier, monospace;\">eclim-java-import-missing<\/span>, and <span style=\"font-family: Courier New, Courier, monospace;\">eclim-java-remove-unused-imports<\/span>. The current project can be compiled by calling <span style=\"font-family: Courier New, Courier, monospace;\">eclim-project-build<\/span>.<\/p>\n<p>In theory, you can also use eclim with CDT for C++ development and auto-completion, but I rather stick with <a href=\"http:\/\/root42.blogspot.de\/2012\/07\/nice-c-autocomplete-configuration-for.html\">my earlier clang based solution<\/a>, which is very fast and accurate.<span><\/span><span><\/span><a href=\"http:\/\/www.blogger.com\/\"><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The past few weeks I have been using the great eclim, and the corresponding emacs&#8211;eclim package. It allows you to use many of Eclipse&#8217;s features in your favourite editor. The installation&nbsp;of emacs-eclim is rather easy, and the one for eclim is even easier, since it comes with a simple clickety-click-installer. I use emacs-eclim for Java &hellip; <a href=\"https:\/\/www.root42.de\/blog\/?p=46\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Java Autocompletion for Emacs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,6,37],"tags":[],"_links":{"self":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/46"}],"collection":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46"}],"version-history":[{"count":0,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/46\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}